Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] add redacted request header to http.log.enabled output #359

Open
jeffreyaven opened this issue Dec 28, 2023 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@jeffreyaven
Copy link
Member

Feature Description
Add redacted request header info to http.log.enabled output to assist in debugging

Example(s)

Show keys with redacted values, including Authorization redact values based upon characters, initially redact all values, e.g.:

{
"Authorization": "xxxxxx xxxxxxxxxxxxxxx",
"Content-Type": "xxxxxxxxxxxxx"
}

future iterations could support known innocuous header values like Content-Type, etc, e.g.

{
"Authorization": "xxxxxx xxxxxxxxxxxxxxx",
"Content-Type": "application/json"
}
@jeffreyaven jeffreyaven added the enhancement New feature or request label Dec 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant