Skip to content

Commit

Permalink
feat(sentry): recursively scrub PII from event data
Browse files Browse the repository at this point in the history
this is a new feature in the Sentry SDK as of version 1.41.0

see more: https://github.com/getsentry/sentry-python/releases/tag/1.41.0
  • Loading branch information
thekaveman committed Mar 13, 2024
1 parent 5d7ef46 commit 750818b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benefits/sentry.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def configure():
# send_default_pii must be False (the default) for a custom EventScrubber/denylist
# https://docs.sentry.io/platforms/python/data-management/sensitive-data/#event_scrubber
send_default_pii=False,
event_scrubber=EventScrubber(denylist=get_denylist()),
event_scrubber=EventScrubber(denylist=get_denylist(), recursive=True),
)

# override the module-level variable when configuration happens, if set
Expand Down

0 comments on commit 750818b

Please sign in to comment.