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

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

Merged
merged 1 commit into from Nov 10, 2021

Conversation

jgheewala
Copy link
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.

sfxclient/httpsink.go Outdated Show resolved Hide resolved
@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 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.

None yet

2 participants