Bitbucket Cloud
- Create an app password: Personal settings → App passwords with repositories read/write and pull requests read/write.
- In ScanDrix: Settings → Integrations → Bitbucket and paste the workspace + app password.
- Register the webhook (see Webhook Setup) for
pullrequest:createdandpullrequest:updated.
Azure Repos
- Create a Personal Access Token (PAT) with Code (read & write) and Pull Request Threads (read & write) scopes.
- In ScanDrix: Settings → Integrations → Azure Repos — enter organization, project, and the PAT.
- Register the service hook for Pull request created and Pull request updated (Azure DevOps → Service hooks → Webhooks), pointing at the ScanDrix webhook URL with the provided secret.
Azure service hooks deliver JSON payloads with a custom
X-VSS-Auth header; ScanDrix validates the shared secret, so treat it like any webhook credential and rotate it from the dashboard if leaked.Forgejo
Forgejo uses a personal or project access token plus a push/MR webhook. Add it under Settings → Integrations → Forgejo with instance URL, token, and webhook secret.Common behavior across providers
- Review posting — inline comments, severity labels, and a summary; identical rule engine and
scandrix.ymlsupport everywhere. - Blocking — provider-native merge checks/required reviewers are updated from ScanDrix findings.
- Scopes are minimal — each integration grants comment/read permissions only; code write access is never requested.
Troubleshooting
Webhook not received
Webhook not received
Verify the endpoint is reachable from your provider (public URL or self-hosted ScanDrix with correct DNS), the secret matches, and no proxy strips the body.
Comments not posted
Comments not posted
Check the integration’s token scopes include PR comment write; then inspect Settings → Integrations → [provider] → Last event for the provider’s error payload.
Reviews on forks or PRs from external contributors
Reviews on forks or PRs from external contributors
Some providers restrict webhook data from forks. The diff is still fetched with the integration token; no action needed unless reviews are skipped — then allow external PRs under repository settings.
