Is your feature request related to a problem? Please describe:
While debugging issues remotely, the existence of the bearer tokens in the logs poses more risk than reward they could accidentally be leaked. As such, I would like these headers cleansed before being logged to the console.
Describe the solution you'd like:
The header should still be logged, but with a message indicating it’s been removed.
Describe alternatives you've considered:
Not logging it at all, however that poses the issue if it was not present. I need to validate presence without seeing the sensitive tone .
Acceptance Criteria
[ ] The actual bearer token is no longer visible from the logs when debug logging is enabled
[ ] The api key is no longer visible from the logs when debug logging is enabled
Is your feature request related to a problem? Please describe: While debugging issues remotely, the existence of the bearer tokens in the logs poses more risk than reward they could accidentally be leaked. As such, I would like these headers cleansed before being logged to the console.
Describe the solution you'd like: The header should still be logged, but with a message indicating it’s been removed.
Describe alternatives you've considered: Not logging it at all, however that poses the issue if it was not present. I need to validate presence without seeing the sensitive tone .
Acceptance Criteria