LS-SENTRY-002: Sentry DSN¶
| Severity | MEDIUM |
| Blast radius | Error monitoring data pollution |
| Rotate at | https://sentry.io/settings/account/api/auth-tokens/ |
If this leaks¶
Primarily used to submit events to a Sentry project; if it includes a private key, it could allow ingesting forged error events.
What to do¶
- Rotate or revoke the credential at https://sentry.io/settings/account/api/auth-tokens/.
- Check the provider's audit logs for use you don't recognise.
- Remove it from git history (
leakscan purge --help) and load it from an environment variable or secret manager instead.
Pattern¶
https://[a-f0-9]{32}@[a-z0-9.-]+\.ingest\.(?:[a-z]+\.)?sentry\.io/[0-9]+
Suppress¶
On one line: # leakscan:ignore LS-SENTRY-002. For the whole project:
disable_rules: [LS-SENTRY-002]