stackql
stackql copied to clipboard
[FEATURE] add redacted request header to `http.log.enabled` output
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"
}