Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Oct 23, 2023. It is now read-only.
This repository was archived by the owner on Oct 23, 2023. It is now read-only.

Unable to Sanitize Customer Headers #1344

Open
@nandakarvapaly

Description

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /