Integrating Bridgecrew with Azure Repos makes it possible for Bridgecrew to scan your Infrastructure-as-code files and monitor configuration issues in development.
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.
For each Azure Repos organization you would like to integrate with Bridgecrew:
- Go to Organization Settings
- Under Security, select Policies.
- 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.
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:
- Go to the relevant organization.
- Go to Organization Settings.
- Under General, select Users.
- Click Add Users.
- Enter the email addresses of the users you would like to add, then select Add.
- Under Security, go to Permissions.
- 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.
- 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).
- From Integrations Catalogue, under Code Integrations, select Azure Repos .
- Under the Configure Account tab, select Authorize. An Azure Repos Setting page will open.
- 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.
- 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.
- Press the Edit icon to update the Repository list at any time.
- In Azure Repos, you can see details of rights granted to Bridgecrew under Authorizations.
Updated 2 months ago