Sentry
What it does in Varman
Section titled “What it does in Varman”| Check | Passes when | Evidence task |
|---|---|---|
| Organization requires 2FA | Require Two-Factor Authentication is on for the organization | 2FA |
| Projects report to Sentry | The organization has at least one project | Monitoring & Alerting |
No 2FA requirement fails with severity high. No projects fails with severity medium.
What you need
Section titled “What you need”- A Sentry organization on sentry.io. Varman calls
https://sentry.io/api/0. - Your organization slug, from your Sentry URL.
- A user who can create an auth token with the scopes below.
Permissions requested
Section titled “Permissions requested”An auth token (or an internal integration token) with:
org:readproject:read
Varman sends it as Authorization: Bearer <token> and calls only:
GET /organizations/<org_slug>/GET /organizations/<org_slug>/projects/
Connect
Section titled “Connect”-
In Sentry, go to Settings > Auth Tokens and create a token with
org:readandproject:read. See Sentry’s auth tokens guide. -
In Varman, open Integrations, find Sentry and click Set up.
-
Paste the token into Auth Token, enter Organization slug, and click Connect account.
What gets synced and how often
Section titled “What gets synced and how often”Only check results and the project count. Checks run on the daily schedule described in the overview, or when you click Run now.
Disconnect
Section titled “Disconnect”Open Integrations > Sentry, click Settings, then Disconnect. Then revoke the token in Sentry. See Disconnecting.
Troubleshooting
Section titled “Troubleshooting”- Log says
No Sentry organization slug configured. The slug was empty. Disconnect and connect again. HTTP 403orHTTP 404. The slug is wrong, or the token lacksorg:readorproject:read.- Finding
<org> does not require 2FA. In Sentry go to Settings > Security & Privacy and turn on Require Two-Factor Authentication. See Sentry two-factor authentication.