mendhak / mendhak/docker-http-https-echo

[Feature request] Option to not log some headers (cookies for instance)

Open
#78 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
792
Forks
152
Avg merge
3d 18h
Merged PRs (30d)
3

Description

Hello folks,

I think it would be nice if it was possible to add an option to filter out some headers (very generic) or at least an option to filter out cookies.

While this can be useful, it can also be undesirable to log the cookies. In a context where the app is used in a shared environment and developers call it directly for some tests, it could happen that users cookies are logged and could be used for impersonation. Obviously, by nature, this app has such security "issues" but it would still be nice to be able to disable logging some items when you want to be a bit safer.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the entry point that echoes request data as JSON and reading how request headers are selected. Define the configuration and header-filtering behavior, then verify that excluded cookies or named headers no longer appear in the echoed output.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, shell
Domain
backend-api-design, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.