Skip to content

Scrubbed information rendered as null in the UI #120802

Description

@rodolfoBee

Environment

SaaS (https://sentry.io/)

Steps to Reproduce

  1. Configure a scrubbing rule to remove geo information from events via global sensitive fields.
  2. Send a test event to Sentry

Expected Result

The information is removed from the event and not rendered by the UI.

Actual Result

This is more a cosmetic issue than a feature not working as expected.

The scrubbing rule replaces the information with null which gets rendered in the UI:
in the event's JSON:

_meta": {
"user": {
},
"geo": {
"city": {
"": {
"rem": [
[
"project:2",
"x"
]]}
},
...
user": {
"id": null,
"email": null,
"username": null,
"name": null,
"sentry_user": null,
"geo": {
"country_code": null,
"city": null,
"subdivision": null,
"region": null
}
},

Screenshot:

Image

Product Area

Issues

Link

No response

DSN

No response

Version

No response

Metadata

Metadata

Assignees

Projects

Status
No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions