Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(pii): Scrub user fields in span.sentry_tags (#4364)
User fields are transferred into `span.sentry_tags` before PII scrubbing. Most user fields are marked as `pii = true`, that is, they should be scrubbed by default. This PR 1. converts `sentry_tags` into a special type `SentryTags`, such that we can mark specific tags as `pii = true`, 2. adds `sentry_tags.user_ip` to the builtin PII selector for IP scrubbing.
- Loading branch information