Sentry ConfigurationΒΆ
Follow these steps to analyze Sentry objects with Cartography.
Create an Internal Integration in your Sentry organization.
Go to Settings > Developer Settings > Custom Integrations > Create New Integration.
Select Internal Integration.
Grant the integration the following scopes:
org:read,member:read,project:read,project:releases,alerts:read,team:read.Save and copy the generated token.
Populate an environment variable with the token.
Run Cartography with the following options:
cartography --sentry-token-env-var SENTRY_TOKEN --sentry-org your-org-slug--sentry-token-env-var: Environment variable name containing the internal integration token.--sentry-org: Your Sentry organization slug (visible in the URL:https://sentry.io/organizations/<slug>/).--sentry-host(optional): Sentry host URL for self-hosted instances (default:https://sentry.io).