Skip to content

sfxclient: http sink upon error should not log all request headers#229

Merged
jgheewala merged 1 commit intomasterfrom
do_not_log_secure_headers
Nov 10, 2021
Merged

sfxclient: http sink upon error should not log all request headers#229
jgheewala merged 1 commit intomasterfrom
do_not_log_secure_headers

Conversation

@jgheewala
Copy link
Copy Markdown
Contributor

some headers in the request can potentially contain secure credentials.
Added api loggableHeaders() which will extract out such headers that
should not be logged.

@jgheewala jgheewala requested review from keitwb and mdubbyap November 10, 2021 14:44
Comment thread sfxclient/httpsink.go Outdated
@jgheewala jgheewala force-pushed the do_not_log_secure_headers branch 5 times, most recently from 98bcd13 to ae454ae Compare November 10, 2021 16:33
secure credentials

some headers in the request can potentially contain secure credentials.
Added api loggableHeaders() which will extract out such headers that
should not be logged sha them and write it back.
@jgheewala jgheewala force-pushed the do_not_log_secure_headers branch from ae454ae to dcaed6c Compare November 10, 2021 16:35
@jgheewala jgheewala merged commit b2adab8 into master Nov 10, 2021
@atoulme atoulme deleted the do_not_log_secure_headers branch January 5, 2023 06:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants