From 5285f0e3d945e4d364167a230d7d97d41f60edd9 Mon Sep 17 00:00:00 2001 From: "sentry-junior[bot]" <264270552+sentry-junior[bot]@users.noreply.github.com> Date: Thu, 19 Nov 2026 09:50:26 +0000 Subject: [PATCH] docs(data-collection): Add code to the sensitive denylist Co-Authored-By: Charly Gomez <20254395+chargome@users.noreply.github.com> --- .../sdk/foundations/client/data-collection/index.mdx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/develop-docs/sdk/foundations/client/data-collection/index.mdx b/develop-docs/sdk/foundations/client/data-collection/index.mdx index fa25cb5bbbf51..01cdfad153bea 100644 --- a/develop-docs/sdk/foundations/client/data-collection/index.mdx +++ b/develop-docs/sdk/foundations/client/data-collection/index.mdx @@ -2,12 +2,15 @@ title: Data Collection description: Configuration for what data SDKs collect by default, including technical context, PII, and sensitive data. spec_id: sdk/foundations/client/data-collection -spec_version: 0.19.0 +spec_version: 0.20.0 spec_status: candidate spec_depends_on: - id: sdk/foundations/client version: ">=1.0.0" spec_changelog: + - version: 0.20.0 + date: 2026-11-19 + summary: Add `code` to the sensitive denylist so OAuth authorization codes and similar one-time codes are filtered by default. - version: 0.19.0 date: 2026-11-19 summary: Gate URL fragments behind `urlQueryParams`. SDKs drop the fragment when the option is off and filter `key=value` pairs in it like query params. @@ -204,7 +207,7 @@ SDKs **MUST** perform a **partial, case-insensitive match** when comparing key n The following terms **MUST** be included in the sensitive denylist and applied to headers, cookie names, and query param keys. For cookies and URL query params that arrive as an unparsed string, see [Cookies and URL Query Params](#cookies-and-url-query-params). -`["auth", "token", "secret", "password", "passwd", "pwd", "key", "jwt", "bearer", "sso", "saml", "csrf", "xsrf", "credentials", "session", "sid", "identity"]` +`["auth", "token", "secret", "password", "passwd", "pwd", "key", "jwt", "bearer", "sso", "saml", "csrf", "xsrf", "credentials", "session", "sid", "identity", "code"]` Values for keys that match **MUST** be replaced with `"[Filtered]"`.