-
Notifications
You must be signed in to change notification settings - Fork 82
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
[Security] Headers content dumped in logs #106
Comments
Good point! |
Both the headers and body content represent a security risk. Some of our data is sensitive and having it dumped into the logs in cleartext is a huge risk. Logging the API key and other header info is also a security issue. |
Hi, Any update on this? Writing the content of the events to the log is a huge issue to us ad a blocker for moving off the Lumberjack plugin to this one. |
Hi friends, I created #122 to change move headers and backtraces to the debug level. |
thanks @jsvd. this is definitely an improvement. When http compression is enabled, message body contains unreadable content and is useless. |
I agree that it certain scenarios the body won't be useful. I've updated the PR to only log the body in debug. |
thank you @jsvd, much appreciated! |
Hello, in the event of a connection issue with the endpoint, the error message dumps the headers content in logs, which might lead to the exposure of the endpoint API key when headers are use for basic authentication and that logs are collected.
Would it be possible to add an option to make the inclusion of these headers conditional ? Thank you.
The text was updated successfully, but these errors were encountered: