Skip to content

Conversation

@loewenheim
Copy link
Contributor

This changes how the PiiProcessor detects whether attributes should be scrubbed as objects (used for advanced rules) or identified with their value field (used for default rules). Previously, this was decided based on the presence of a segment of type $log in the processing state. Now there is an explicit mode setting. This doesn't change the behavior of the processor at all, it just makes the logic explicit and applicable to other objects than logs.

ref: #5096. ref: RELAY-152.

This changes how the `PiiProcessor` detects whether attributes should
be scrubbed as objects (used for advanced rules) or identified with their
`value` field (used for default rules). Previously, this was decided
based on the presence of a segment of type `$log` in the processing
state. Now there is an explicit mode setting. This doesn't change the
behavior of the processor at all, it just makes the logic explicit and
applicable to other objects than logs.
@loewenheim loewenheim requested a review from a team as a code owner September 3, 2025 11:21
@linear
Copy link

linear bot commented Sep 3, 2025

@loewenheim loewenheim added this pull request to the merge queue Sep 3, 2025
Merged via the queue into master with commit 9643f50 Sep 3, 2025
68 of 83 checks passed
@loewenheim loewenheim deleted the sebastian/pii-processor-attributes branch September 3, 2025 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants