legal: narrow Sentry PII / Session Replay config before publishing privacy policy #176
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Source:
/legal/attorney-review-checklist.mditem A2.Problem. Sentry is configured more permissively than typical defaults:
send_default_pii=Truein backend/app/main.py:14-26 — user IDs and request body fragments flow to Sentry by default.maskAllText: false, blockAllMedia: falsein frontend/src/instrument.ts:9-12 — replays may capture visible page text and images. Sampling: 1% of normal sessions, 100% of error sessions.Why it matters. Customer Data (ticket bodies, AI session transcripts, FlowPilot conversations, file content) can land in Sentry replays and error reports. We are processing this data on behalf of MSP customers — sending it to Sentry without scrubbing is a sub-processing surface that the DPA must disclose accurately, OR we should narrow the config so the disclosure can be narrower.
Recommended fix (preferred over expanded disclosure):
send_default_pii=Falsein backend Sentry initdata-sentry-maskor per-component<Mask>wrappersintake_content,conversation_messages,ticket_data,escalation_package,resolution_note_markdown,escalation_package_markdown,system_prompt_snapshot,pending_task_lanefrom event payloadsreplaysSessionSampleRatefrom 0.01 to 0 in prod until masking is in placeAcceptance criteria.
send_default_pii=Falseor explicit per-event scrubbingbeforeSendfilter)/legal/implementation-verification.mdSentry row flips from ⚠️ → ✅Blocker for: publishing legal docs and onboarding enterprise MSPs (this is a common DPA-negotiation question).
Companion files:
/legal/attorney-review-checklist.md(item A2)/legal/privacy-policy.md§3.2