-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Kibana is logging basic authorzation header #5329
Comments
What version? Pretty sure this is fix in 4.2? kibana/src/server/logging/index.js Lines 46 to 52 in 209951b
|
I'm using 4.2 |
I checked my copy of the code and that block is missing. |
Looking at the history, it definitely appears that the patch that you mention did not make it into the 4.2.0 release. Around the time of 4.2.0-beta1 it looks like a 4.2 branch was created so patches applied to master after that didn't automatically make it into 4.2. |
Looks like this is addressed in #5036 , unfortunately the patches didn't make it into 4.2. |
Totally correct, doh! |
This fix is now backported, so it's ready for 4.2.1. |
I'm reverse proxying Kibana behind nginx so that I can add SSL and basic authorization. Unless told otherwise, nginx will pass the authorzation header to Kibana, which will then log it. This can be avoided by telling nginx not to pass the authorization header (although in nginx there's a quirk in how the authorization header is handled which makes preventing the authorization header from being forwarded unintuitive). However, I think that Kibana should still avoid logging this header in case the person that configures the reverse proxy doesn't know to block that header.
The text was updated successfully, but these errors were encountered: