Add code repositories using Bitbucket

Sophos provides a Bitbucket app that you can install to give Sophos Cloud Optix access to your repositories.

To install the Bitbucket app:

  1. Click Settings (in the left-hand menu) and select Environments.
  2. Click Add New Environment.
  3. On the Add your Cloud Provider environment page, select the IaC Environment tab.
  4. Click Connect to Bitbucket.
  5. Select an account or a Team that you own. Click Grant access.

You are redirected to the Environments page in Sophos Cloud Optix.

Note The repositories you have given Sophos Cloud Optix access to are shown on the IaC Environments tab. Repositories are shown as Pending until a new change occurs in the repository. Sophos Cloud Optix scans IaC templates in a repository when a change is first seen. The repository is then shown as Active.