Integrate with Azure DevOps Peer Reviewer Assistant
This guide outlines the generalized steps for configuring the Azure Peer Reviewer Assistant integration within the Fluid Attacks platform. This integration enables an automatic peer reviewer to analyze Pull Requests (PRs) in Azure DevOps and add comments regarding security findings.
- Navigate to the Integrations section on the Fluid Attacks platform dashboard.
- Scroll down to locate the Azure Peer Reviewer Assistant card.
- Click the Use integration button on the card.
2. Connect the integration to an organization group
- A window titled "Choose the Group you want to connect to Azure DevOps Peer Reviewer Assistant integration" will appear.
- Select the specific group within your organization that contains the repositories you wish to scan.
- Click the Connect button next to your selected group.
3. Authorize the Azure connection
- The authorization dialog "Connect to Gitlab Peer Reviewer Assistant" will open.
- Click the Authorize button.
- You will be redirected to the Microsoft account selection page.
- Select the Microsoft account that possesses the necessary access rights to the target Azure DevOps organization.
- Upon successful authentication, the "Configure integration" dialog will reappear in the Fluid Attacks platform.
- Azure DevOps organization: Select or enter the name of your Azure DevOps organization.
- Azure DevOps project: Select the specific Azure DevOps project within the organization.
- Azure DevOps repository: Select the Azure DevOps repository where the Peer Reviewer Assistant will analyze PRs.
- Click the Update button to save the configuration.
- Confirmation: A success message, such as "Success! You updated the integration set," will confirm that the setup is complete.
Integration management and verification
Manage the connected integration
- Return to the Azure Peer Reviewer Assistant card and click Edit (or the corresponding management button) for the connected group.
- The "Manage Azure Peer Reviewer Assistant Integrations" window will display the connected repository and its details.
- From this screen, you can edit the configuration, disconnect the integration, or add a new integration for other repositories within the same group.
- Click Close to exit the management window.
Azure DevOps service hook verification (optional)
The integration automatically creates a Service Hook in your selected Azure DevOps repository. This hook is designed to activate the Peer Reviewer Assistant automatically upon a "Pull request updated" event, ensuring continuous security analysis when changes are made to a PR.