Review Sentry collection controls and erasure plans from selected, redacted local
evidence, preserving unknowns and approval boundaries. Use Read/Grep to inspect
files, Write the review, and Edit only requested local configuration or test
proposals; this skill grants no account, upload, deployment or deletion authority.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Sentry Data Handling?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/jeremylongshore-sentry-data-handling-tons-of-skills-marketplace)
---
name: sentry-data-handling
description:
Review Sentry telemetry privacy, scrubbing coverage and data-subject erasure plans. Use when
configuring privacy controls, investigating sensitive telemetry or preparing an erasure request. Trigger
with "sentry pii scrubbing", "sentry data privacy", "sentry gdpr", "sentry retention" or "sentry deletion
review".
allowed-tools: Read, Write, Edit, Grep
version: 1.51.0
license: MIT
author: Jeremy Longshore <jeremy@intentsolutions.io>
tags:
- saas
- sentry
- security
- compliance
- gdpr
- pii
- data-privacy
compatibility: Designed for Claude Code
---
# Sentry Data Handling
## Overview
Review Sentry collection controls and erasure plans from selected, redacted local
evidence, preserving unknowns and approval boundaries. Use Read/Grep to inspect
files, Write the review, and Edit only requested local configuration or test
proposals; this skill grants no account, upload, deployment or deletion authority.
## Prerequisites
- The exact SDK, language, framework, integrations and locked version. Do not
assume examples for JavaScript v8 or Python v2 fit newer SDKs.
- An owner-approved collection policy and legal basis from the privacy owner;
consent gating when that policy requires it. This guide is not legal advice.
- Selected redacted local files and synthetic test events. Do not request raw
patient/customer data, authentication tokens, cookies or production envelopes.
- For an erasure review, a restricted case reference, intended organization and
projects, data categories, time window and accountable decision owner.
## Instructions
### Step 1 — Establish the data boundary
Inventory errors/messages, breadcrumbs, request fields, explicit user/context
values, spans/transactions, logs, profiles, replay, attachments and enabled
AI/MCP instrumentation. Mark disabled, tested, untested and unknown separately.
Inspect forwarding, exports and application logs as separate destinations.
An identifier or hash is not proof of anonymity. Keep identifiers out of the
public review and preserve evidence in the owner's approved location.
Use the installed version's primary documentation before proposing options.
[Collection and scrubbing review](references/pii-scrubbing.md) explains version
boundaries and a concrete synthetic coverage matrix. Do not infer that
`sendDefaultPii: false` controls every version, explicit field or integration.
### Step 2 — Minimize before transmission
Remove unnecessary collection at its source and propose controls for each
remaining approved surface. Existing SDKs may use `sendDefaultPii` /
`send_default_pii`; newer collection-category options have different semantics.
Keep automatic PII collection disabled with the controls supported by the
actual version, and review explicit `setUser`, contexts and custom integrations.
If the SDK/version or surface coverage is unknown, request that evidence before
claiming a safe configuration. Do not silently upgrade the SDK to fit an example.
For a consent-required deployment, keep initialization and all related collection
behind the approved decision. Withheld consent must not fall through to another
SDK path. A missing DSN in one call is not evidence that an earlier client stopped.
Preserve ordinary local editing authority; deployment needs its own approval.
### Step 3 — Review server-side protection separately
Inspect the owner's recorded organization/project settings and rule precedence.
[Server-side review](references/server-side-data-scrubbing.md) covers retained
coverage and exceptions. Keep protective defaults; do not disable organization
rules just to make a project setting take effect. Server-side filtering cannot
establish that disallowed data never crossed the application boundary.
Record retention by actual product, plan, deployment and data category with a
source/date. Leave an unknown value unknown. New filtering settings are not a
receipt for erasing already-ingested data. Do not promise a universal retention
period, immediate backup removal or compliance from a DPA or checklist.
### Step 4 — Treat erasure as a scoped decision
Read the [erasure review procedure](references/gdpr-compliance.md) before
suggesting any destructive operation. Identify affected data and unrelated users
who share issue groups. A user-search result is an inventory candidate, not a
subject-specific delete target or permission to remove a whole issue.
Require the authenticated requester/case authority, exact target resources,
collateral-impact review, retention/hold constraints, explicit owner approval
and post-action evidence plan. Missing identity, pagination, access or ownership
leaves the review incomplete. Do not supply an unauthenticated application
endpoint, search-and-delete loop, arbitrary user-ID route or blanket admin grant.
Issue deletion can remove other subjects' events. An accepted asynchronous
request, a 404, an empty result or an expired retention window alone does not
prove this case complete. Broader data categories and downstream copies require
separate evidence. Escalate unsupported requests to the privacy owner/provider;
never suggest deleting a project merely to make a checklist pass.
### Step 5 — Verify the proposed controls locally
Use synthetic canaries and an intercepted/disabled transport. Check the complete
outbound envelope for every enabled surface, including nested and non-JSON data,
case-varied headers, URLs, explicit user fields and integration-generated data.
Do not send a deliberately sensitive test event to a real project to discover
whether filtering works. Local transformation tests and received-event checks
are distinct; no real upload or deletion is performed by this review.
Follow [verification scenarios](references/examples.md). Report actual fixture
results and untested surfaces. Verify deployment, effective server rules and
provider-side removal only under their separately authorized procedures.
## Examples
### A shared issue appears in an erasure search
Request: "Remove customer A's data; their events share an issue with customer B."
Return a restricted impact review. Hold whole-issue deletion until the owner
approves its effect on B and the privacy team establishes the case disposition.
Keep other data categories and copies in the inventory. Do not generate a loop
that deletes every search match or mark the request complete from a status code.
```json
{
"case_reference": "synthetic-case-1",
"review_scope": "supplied redacted evidence only",
"issue_impact": "shared with another subject",
"destructive_action": "held for scoped owner decision",
"erasure_completion": "not established"
}
```
### A team reports that one SDK flag proves no PII leaves
Check the installed version, enabled integrations and explicit capture paths.
Propose local changes for the approved categories and test the synthetic surface
matrix. Preserve any consent requirement and server-side defense independently.
A useful result can be an explicit incomplete report:
```json
{
"collection_review": "incomplete",
"tested_surfaces": ["synthetic error event"],
"missing_evidence": ["enabled replay and log transport coverage"],
"compliance_verdict": "not established"
}
```
## Output
- A restricted, dated inventory of SDK versions, collection paths, destinations,
proposed controls, fixture results, untested surfaces and source references.
- A scoped erasure decision record with collateral impact, required owner action,
verification boundaries and unresolved categories/copies. No raw PII or tokens.
- Separate statuses for local tests, deployment, receipt/storage, retention and
erasure. Unknown or incomplete evidence remains visible; no GDPR/HIPAA/SOC 2
certification or zero-data guarantee is inferred from this skill.
## Error Handling
| Observation | Response |
| ------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |
| A synthetic canary reaches the intercepted transport | Hold the change; locate the uncovered collection path and retest. |
| SDK version or option behavior is unknown | Inspect the lockfile and matching primary reference before proposing syntax. |
| Server rules hide a value after ingestion | Do not treat that as proof of pre-transmission minimization or retroactive removal. |
| A deletion response is accepted, denied, missing or empty | Preserve the actual scope/status; use the erasure verification plan, not automatic retries or elevated privileges. |
| A shared issue, legal hold or incomplete inventory is present | Keep the destructive action on hold for the accountable owner. |
## Resources
- [Collection controls and synthetic coverage](references/pii-scrubbing.md)
- [Server-side defense and retention evidence](references/server-side-data-scrubbing.md)
- [Erasure scope, API semantics and approval](references/gdpr-compliance.md)
- [Verification and incomplete-result scenarios](references/examples.md)
- [Failure handling](references/errors.md)
## Evidence status
Source-reviewed guidance and a draft eval contract. Static/package checks are
separate from model behavior, a running application, live Sentry compatibility
and an actual erasure case. No provider call, account action or compliance
assessment is performed by reading this skill.