Skip to content

Make EventScrubber recursive #2743

Closed

Description

@phb-teleclinic

Problem Statement

We have a custom before_send implementation that scrubs data recursively. I was hopping to replace the custom implementation with the built-in EventScrubber but I found out that it doesn't scrub vars recursively.

As far as I can tell this was a consistency, perf trade-off thing but it would be nice to have a built-in option to make it recursive.

Thank you!

Solution Brainstorm

EventScrubber(recursive=True)

Activity

  1. moved this to Waiting for: Product Owner in GitHub Issues with 👀 2on Feb 16, 2024
  2. sentrivana commented on Feb 19, 2024

    @sentrivana
    Collaborator

    Hey @phb-teleclinic, thanks for the suggestion, we can add this as an optional flag.

    If anyone reading this feels like making a PR, please go ahead -- it'll probably take some time for us to get around to this.

  3. moved this from Waiting for: Product Owner to No status in GitHub Issues with 👀 2on Feb 19, 2024
  4. sl0thentr0py commented on Feb 19, 2024

    @sl0thentr0py
    Member

    for completeness, we considered this here
    https://github.com/getsentry/rfcs/blob/main/text/0062-controlling-pii-and-credentials-in-sd-ks.md#a-walk-whole-tree
    but decided against it due to computational overhead.

  5. Cheapshot003 commented on Feb 21, 2024

    @Cheapshot003
    Contributor

    taking a look at this. still a noob but this looks doable

  6. moved this to Waiting for: Product Owner in GitHub Issues with 👀 2on Feb 21, 2024
  7. moved this from Waiting for: Product Owner to No status in GitHub Issues with 👀 2on Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions