Integrate with Azure Repos

Overview

Integrating Bridgecrew with Azure Repos makes it possible for Bridgecrew to scan your Infrastructure-as-code files and monitor configuration issues in development.

How to Enable Multiple Integrations in Azure Repos

Bridgecrew supports integration with multiple organizations associated with a single Azure Repos user or multiple users. To enable this, you first need to change the organization settings in your Azure Repos account, as detailed below.

Part 1 - A Single User

For each Azure Repos organization you would like to integrate with Bridgecrew:

  1. Go to Organization Settings
  2. Under Security, select Policies.
  3. Toggle "Third-party application access via OAuth" to On.
    This will enable integration with the relevant organization so that it will be included in future scans.

Part 2 - Multiple Users

As an Azure Repos user, you can grant other users premission to access the organizations integrated from your Azure Repos account to Bridgecrew. All added users will be able to view all the projects and repositories of the relevant organization and make their own integrations.

To invite users to access a certain organization, in your Azure Repos account:

  1. Go to the relevant organization.
  2. Go to Organization Settings.
  3. Under General, select Users.
  4. Click Add Users.
  1. Enter the email addresses of the users you would like to add, then select Add.
  1. Under Security, go to Permissions.
  2. Under the Groups tab, select Project Collection Administrators to add the relevant users to this group. This will grant each user the access to all the projects and repositories associated with this organization.
  1. Under Members, click Add and enter the email addressess of the relevant users.

Note: ensure the "Third-party application access via OAuth" is On (see above).

Each user you have added will recieve an invitation email. They need to click Join Now to complete the process.

The relevant organization will now be displayed in the Azure Repos account of each user.

Once a user has been added to your organization, he can add a new Azure Repos integration from the Bridgecrew console by configuring his account and selecting the relevant repositories (see below).

How to Integrate

Part 1 - In Bridgecrew

  1. From Integrations Catalogue, under Code Integrations, select Azure Repos .
  1. Under the Configure Account tab, select Authorize. An Azure Repos Setting page will open.

Part 2 - In Azure Repos

Select Accept.

Part 3 - In Bridgecrew

  1. Select one of the following options then select Next:
  • Permit all existing repositories
  • Permit all existing and future repositories
  • Choose from the repository list.
    If choosing from the repository list, select the relevant repositories.

Note: selecting Previous will bring you back to the Configure Account tab.

  1. When the message "New account successfully configured" appears, select Done.

Note: after the next Azure Repos scan, the scanned repository will appear in the Integrations grid; for further details, see here.

📘

Notes

  1. Press the Edit icon to update the Repository list at any time.
  2. In Azure Repos, you can see details of rights granted to Bridgecrew under Authorizations.

Did this page help you?