Skip to content

feat(pii): Apply existing cookie rules to span data - #5456

Merged
loewenheim merged 7 commits into
masterfrom
sebastian/cookie-pii
Dec 10, 2025
Merged

loewenheim merged 7 commits into
masterfrom
sebastian/cookie-pii

Conversation

@loewenheim

Copy link
Copy Markdown
Contributor

This adds versions of all the existing cookie rules for fields of the form http.request.header.cookie.<key>. This means that such cookies will be correctly scrubbed if an SDK sends them in span data or attributes.

Both span v1 and span v2 tests are added/expanded to verify the new behavior. In 65293ad you can see that some, but not all the sensitive cookies would've been picked up by another default rule already.

Implements INGEST-667.

@loewenheim
loewenheim requested a review from a team as a code owner December 9, 2025 15:46
Comment thread relay-pii/src/convert.rs Resolved
@loewenheim
loewenheim enabled auto-merge December 10, 2025 09:52
@loewenheim
loewenheim added this pull request to the merge queue Dec 10, 2025
Merged via the queue into master with commit 9c41a02 Dec 10, 2025
@loewenheim
loewenheim deleted the sebastian/cookie-pii branch December 10, 2025 10:31
@Dav1dde

Dav1dde commented Dec 10, 2025

Copy link
Copy Markdown
Member

Fixes: INGEST-667

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants