You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.
I wanted to sanitize some of the header key's values in Sentry logging, before sending the data to Sentry Server.
I provided a Sentry config as mentioned below.
app.config['SENTRY_CONFIG'] = {
'processors': ['raven.processors.SanitizeKeysProcessor', 'raven.processors.SanitizePasswordsProcessor'],
'sanitize_keys': ["Host", "User-Agent"]
}
But still when we get Sentry error and I still see the value for "Host", "User-Agent".
Actually we have a custom Authentication Header which I wanted to sanitize but for testing I'm checking on "Host", "User-Agent" fields.
I have also tried providing processors as 'SanitizeKeysProcessor','SanitizePasswordsProcessor' without
appending with 'raven.processors', but still no luck.
Please let me know if there are any other processor's I need to use or different property.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I wanted to sanitize some of the header key's values in Sentry logging, before sending the data to Sentry Server.
I provided a Sentry config as mentioned below.
app.config['SENTRY_CONFIG'] = {
'processors': ['raven.processors.SanitizeKeysProcessor', 'raven.processors.SanitizePasswordsProcessor'],
'sanitize_keys': ["Host", "User-Agent"]
}
But still when we get Sentry error and I still see the value for "Host", "User-Agent".
Actually we have a custom Authentication Header which I wanted to sanitize but for testing I'm checking on "Host", "User-Agent" fields.
I have also tried providing processors as 'SanitizeKeysProcessor','SanitizePasswordsProcessor' without
appending with 'raven.processors', but still no luck.
Please let me know if there are any other processor's I need to use or different property.
The text was updated successfully, but these errors were encountered: