stackql icon indicating copy to clipboard operation
stackql copied to clipboard

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

Open jeffreyaven opened this issue 2 years ago • 0 comments

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 avatar Dec 28 '23 03:12 jeffreyaven