Part of #74. Re-scoped after PR #111 — the scrubbers themselves landed there; this issue now covers the one deliberately-disabled rule.
Landed in #111: the shared regex list mirrored between src/sentry-scrub.ts (RN beforeSend, ahead of the host's chain) and backend/before-send.js (Node event processor), walking message / exception text / extra / contexts / breadcrumbs / span data + structured logs; rootKey-marker and coordinate-marker redaction (lat/lng/lon/latitude/longitude, key-value and JSON-quoted forms); HTTP breadcrumb URLs reduced to host-only; shared test cases in test-support/scrubber-cases.js.
Remaining: the broad 22-char base64 rule (to catch a bare rootkey with no rootKey= marker) is intentionally disabled — it also matched Sentry's own 32-hex trace ids, PascalCase exception type names, and error_class metric tags, redacting data we need. Until a narrower rule ships, a bare unmarked rootkey embedded in an error message passes through unredacted.
Done when
Part of #74. Re-scoped after PR #111 — the scrubbers themselves landed there; this issue now covers the one deliberately-disabled rule.
Landed in #111: the shared regex list mirrored between
src/sentry-scrub.ts(RNbeforeSend, ahead of the host's chain) andbackend/before-send.js(Node event processor), walking message / exception text / extra / contexts / breadcrumbs / span data + structured logs; rootKey-marker and coordinate-marker redaction (lat/lng/lon/latitude/longitude, key-value and JSON-quoted forms); HTTP breadcrumb URLs reduced to host-only; shared test cases intest-support/scrubber-cases.js.Remaining: the broad 22-char base64 rule (to catch a bare rootkey with no
rootKey=marker) is intentionally disabled — it also matched Sentry's own 32-hex trace ids, PascalCase exception type names, anderror_classmetric tags, redacting data we need. Until a narrower rule ships, a bare unmarked rootkey embedded in an error message passes through unredacted.Done when
src/sentry-scrub.ts,backend/before-send.js, anddocs/sentry-integration.md§8 are updatedtest-support/scrubber-cases.js: bare rootkey redacts; trace ids, exception type names, anderror_classvalues survive