Integrate with Bitbucket Server


Integrating Bridgecrew with Bitbucket Server enables Bridgecrew to scan your Infrastructure-as-code files (Terraform and CloudFormation) and monitor configuration issues in development.


For details on integrating Bridgecrew with Bitbucket Cloud, see Integrate with Bitbucket.

Getting Ready

Generate a Personal Access Token in Bitbucket
To get started, generate an access token in Bitbucket Server. This token grants Bridgecrew access to the repository based on the access granted to your Bitbucket Server account.


Required Permissions

Bridgecrew requires a Bitbucket Access Token with these permissions:
For Projects - Read
For Repositories - Admin

See here for more information

IP-based Network Access
If your organization requires IP-based access to its network, add all three IP addresses below to your ingress access configuration.

How to Integrate

  1. From Integrations Catalogue, under Code Integrations, select Bitbucket Server .
  1. Configure your account by pasting the URL that points to your Bitbucket server repository into the Base URL input field.
  1. Create a new access token from Bitbucket Server and paste it in the Bitbucket Access Token field, then select Register.
  1. Select the relevant repositories and select Next.
  1. When the message "New account successfully configured" appears, select Done.
    Note: after the next Bitbucket Server scan, the scanned repository will appear in the Integrations grid; for further details, see here.

Did this page help you?