Closed
Description
For errors in API requests where authorization is done with a bearer token, this token should be removed or filtered out before saving to DB. For example, in this context:
{
"request.headers": {
"accept": "application/json, text/plain, */*",
"authorization": "Bearer 12341234"
},
"request.host": "example.com",
"request.path": "/api/v1/reports"
}
I should not be able to see Bearer 12341234
and instead I'd expect something like Bearer REMOVED
or no authorization
details at all.