sentry-data-handling
Sentry数据处理 - 在Sentry中正确处理敏感数据。在配置PII清理、数据保留、GDPR合规性或数据安全设置时使用。触发短语如“sentry pii”、“sentry gdpr”、“sentry数据隐私”、“sentry清理敏感数据”。
📖 中文导读:Sentry数据处理 - 在Sentry中正确处理敏感数据。在配置PII清理、数据保留、GDPR合规性或数据安全设置时使用。触发短语如“sentry pii”、“sentry gdpr”、“sentry数据隐私”、“sentry清理敏感数据”。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。
name: sentry-data-handling description: | Manage sensitive data properly in Sentry. Use when configuring PII scrubbing, data retention, GDPR compliance, or data security settings. Trigger with phrases like "sentry pii", "sentry gdpr", "sentry data privacy", "scrub sensitive data sentry". allowed-tools: Read, Write, Edit, Grep version: 1.0.0 license: MIT author: Jeremy Longshore jeremy@intentsolutions.io
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
- Enable server-side data scrubbing in Project Settings > Security & Privacy
- Configure client-side scrubbing in beforeSend hook for PII fields
- Add custom scrubbing rules for credit cards, SSNs, and email patterns
- Disable sendDefaultPii in SDK configuration
- Configure IP address anonymization or disable IP collection
- Set appropriate data retention period in organization settings
- Implement user consent handling for GDPR compliance
- Document right to erasure process with API deletion endpoint
- Run tests to verify sensitive data is properly scrubbed
- 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 {baseDir}/references/errors.md for comprehensive error handling.
Examples
See {baseDir}/references/examples.md for detailed examples.