Skills Development Sentry Data Privacy Guide

Sentry Data Privacy Guide

v20260311
sentry-data-handling
Guides configuring sensitive data handling workflows inside Sentry, covering PII scrubbing rules, retention settings, GDPR consent signals, and verification tests so teams can secure error telemetry before it leaves their systems.
Get Skill
56 downloads
Overview

Sentry Data Handling

Prerequisites

  • Sentry project with admin access
  • Compliance requirements documented (GDPR, HIPAA, PCI-DSS)
  • List of sensitive data patterns to scrub
  • Understanding of data retention requirements

Instructions

  1. Enable server-side data scrubbing in Project Settings > Security & Privacy
  2. Configure client-side scrubbing in beforeSend hook for PII fields
  3. Add custom scrubbing rules for credit cards, SSNs, and email patterns
  4. Disable sendDefaultPii in SDK configuration
  5. Configure IP address anonymization or disable IP collection
  6. Set appropriate data retention period in organization settings
  7. Implement user consent handling for GDPR compliance
  8. Document right to erasure process with API deletion endpoint
  9. Run tests to verify sensitive data is properly scrubbed
  10. Complete compliance checklist for applicable regulations

Output

  • PII scrubbing rules configured
  • GDPR compliance documentation
  • Data retention policies implemented
  • User consent handling code

Error Handling

See ${CLAUDE_SKILL_DIR}/references/errors.md for comprehensive error handling.

Examples

See ${CLAUDE_SKILL_DIR}/references/examples.md for detailed examples.

Resources

Overview

Manage sensitive data properly in Sentry.

Info
Category Development
Name sentry-data-handling
Version v20260311
Size 4.02KB
Updated At 2026-03-12
Language