Removing Authorization headers from logs #52
Sachin4403
started this conversation in
General
Replies: 1 comment 7 replies
-
Hey @Sachin4403, I agree. Two suggestions I have heard so far are (1) Follow this implementation you show by removing the sensitive headers and (2) Instead of logging all headers, only log those we think we need. |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We want to skip Authorisation being printed in logs. Anyone who is having access to those logs can harm the system using Authorization and we will never know who did this. Already this is implemented in argus.
https://github.com/xmidt-org/argus/blob/c2562df18c76f64ff59262c55a45bb5804566a00/auth/logger.go#L49-L58
Beta Was this translation helpful? Give feedback.
All reactions