Skip to content
This repository has been archived by the owner on Dec 4, 2018. It is now read-only.

No way to filter authorization header #127

Closed
CTOJoe opened this issue Jan 17, 2018 · 1 comment
Closed

No way to filter authorization header #127

CTOJoe opened this issue Jan 17, 2018 · 1 comment

Comments

@CTOJoe
Copy link

CTOJoe commented Jan 17, 2018

Expected behavior

Our Bugsnag is configured for express. When an express request has an error, Bugsnag logs all sorts of useful info about the request, including HTTP headers. The authorization header contains sensitive information and recording them in Bugsnag could violate privacy concerns. Depending on the application, other HTTP headers could contain information that is just as sensitive. Adding adding a configuration filter for authorization should also apply the filter to headers.

Observed behavior

Adding a filter does not apply to headers when used with express.

@bengourley
Copy link
Contributor

Hi Joe, thanks for the report. I've discussed with with the team and it seems like a perfectly reasonable suggestion. I'll get it scheduled.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants