Why Sentry matters for compliance
Sentry shows up in audits in two ways. It is part of how you detect problems in production, which supports monitoring controls. It also holds stack traces and request data from your application, so access to it should be protected like any other production tool.
Varman checks that your Sentry organization requires two-factor authentication for every member (high severity) and that at least one project is reporting errors (medium severity). The 2FA result feeds the 2FA task for SOC 2, ISO 27001, HIPAA, PCI DSS, NIST, CMMC Level 2, NIS 2, and PIPEDA. The project result feeds Monitoring and Alerting, which also counts toward ISO 42001 and GDPR. Because Sentry events can include user data, treat the organization as a production system in your access reviews. Sentry data scrubbing settings help keep sensitive fields out of events in the first place.
Sentry checks in Varman
Verify Sentry enforces org 2FA and has projects under monitoring. Varman runs 2 checks against Sentry on a schedule and records each result as evidence.
Organization requires 2FA
high severitySentry should enforce two-factor authentication for every organization member.
- Fails when
- Members can sign in without a second factor.
- How to fix
- In Sentry: Settings > Security & Privacy > enable "Require Two-Factor Authentication".
Evidence for the 2FA task. Used by CMMC L2, HIPAA, ISO 27001, NIS 2, NIST 800-171, NIST CSF, PCI DSS, PIPEDA, SOC 2.
Projects report to Sentry
medium severityThe Sentry organization should have at least one project under error monitoring.
- Fails when
- No application errors are being captured.
- How to fix
- Create a Sentry project and install the SDK in your application.
Evidence for the Monitoring & Alerting task. Used by CMMC L2, GDPR, HIPAA, ISO 27001, ISO 42001, NIS 2, NIST 800-171, NIST CSF, PCI DSS, PIPEDA, SOC 2.
Frameworks Sentry evidence supports
In Varman, each check feeds an evidence task, and each task is mapped to requirements in the frameworks you run. Results from Sentry count toward these 11 frameworks.
Connecting Sentry
An admin adds the details below in Varman under Integrations. Secret values are encrypted before they are stored.
Vendor reference: Sentry API documentation.
- Auth Token
- Settings > Auth Tokens (or an internal integration token) with org:read and project:read.
- Organization slug
- The organization slug from your Sentry URL.
Sentry questions, answered.
What access does Varman need to Sentry?
An auth token (or internal integration token) with org:read and project:read, created under Settings, Auth Tokens, plus your organization slug from the Sentry URL.
How do I require 2FA in Sentry?
In Sentry, go to Settings, Security and Privacy, and enable Require Two-Factor Authentication. Check first which members have not set up 2FA, since enabling the requirement affects their access.
Why would the projects check fail?
It fails when the organization has no project capturing application errors. Create a Sentry project and install the SDK in your application to pass.
How often are Sentry checks run?
On a schedule, with the option to re-run on demand after you change a setting.