Overview
The Bitbucket integration uses Bitbucket Cloud OAuth 2.0 to authenticate, then polls the Bitbucket Audit Log API to collect:- Repository creation, deletion, and visibility changes
- Pull request opens, merges, declines, and approvals
- Workspace member, group, and permission changes
- App password and access token activity
- Branch restriction and pipeline configuration changes
Prerequisites
- A Bitbucket Cloud workspace on a plan that includes audit logs (Premium).
- Workspace Admin permission to create OAuth consumers.
Step 1: Create an OAuth consumer in Bitbucket
- Sign in to Bitbucket Cloud.
- Open your workspace and go to Workspace settings → OAuth consumers.
- Click Add consumer.
- Fill in:
- Name:
atatus-siem - Callback URL:
https://atatus.com/oauth/callback(placeholder; not used for client-credentials flow) - This is a private consumer: checked
- Name:
- Under Permissions, grant:
- Account → Read
- Workspace membership → Read
- Repositories → Read
- Click Save, then open the consumer to copy the Key (Client ID) and Secret (Client Secret).
Step 2: Connect Bitbucket in Atatus
- In Atatus, go to Security → Cloud SIEM → Integrations.
- Locate the Bitbucket card and click Connect.
- Fill in the form:
- Click Connect.
Verification
- The Bitbucket card shows Configured.
- Audit events appear in Security → Cloud SIEM → Audit Logs → Events with source
bitbucket.