mendhak / mendhak/docker-http-https-echo
[Feature request] Option to not log some headers (cookies for instance)
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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