Overview
ZeroPath supports Azure DevOps Services as a first-class VCS provider. After connecting an Azure DevOps Services organization, you can import Azure Repos repositories, run full scans, scan pull requests from service-hook events, post status checks and inline comments, and create patch pull requests for validated findings.Prerequisites
- A ZeroPath organization where you can create VCS installations and repositories.
- An Azure DevOps Services organization and at least one project with Azure Repos enabled.
- Permission in Azure DevOps to read repositories and create service hooks for the projects you want ZeroPath to monitor.
- Either a Microsoft Entra account that can authorize ZeroPath or a personal access token with the required scopes.
Connect Azure DevOps Services
- Microsoft Entra OAuth (Recommended)
- Personal Access Token
Use OAuth when your organization can approve a delegated Microsoft Entra connection. This is the
recommended path because users do not need to copy long-lived PATs into ZeroPath.
Open Azure DevOps setup
In ZeroPath, go to Add Repositories, select the Azure DevOps tab, and click Setup Azure DevOps.
Enter your organization URL
Enter your Azure DevOps Services organization URL, for example
https://dev.azure.com/my-organization.Authorize ZeroPath
Continue through the Microsoft consent screen. ZeroPath exchanges the authorization code for
encrypted credential material and validates access by listing Azure DevOps projects and
repositories.
Repository Imports
ZeroPath discovers repositories by listing projects in the connected Azure DevOps Services organization and then listing Git repositories within each project. You can import repositories in three ways:- Single repository - select one repository and click Add selected Azure DevOps repositories.
- Selected batch - select multiple repositories in the table and import them together.
- Add all - import every accessible, non-archived Azure DevOps repository without paging through the full list in the browser.
PR Scanning
ZeroPath creates Azure DevOps service-hook subscriptions for connected projects. When a pull request is created or updated, ZeroPath schedules a PR scan against the changed files. PR scan results can include:- A ZeroPath status posted to the Azure DevOps pull request.
- Inline review comments on affected diff lines.
- A PR summary comment with the scan result.
- Automatic resolution of stale comment threads when findings are fixed or triaged.
Bot commands are not currently available on Azure DevOps PR comments. Use the dashboard for
triage actions such as false-positive marking, assignment, and patch generation.
Patch Pull Requests
When a finding is eligible for an automatic fix, ZeroPath can create an Azure DevOps pull request using the same patch workflow as other supported VCS providers:- Generate a patch branch.
- Commit the fix with the standard ZeroPath commit-message convention.
- Open a pull request targeting the original branch.
- Add summary context and link the patch PR back to the finding in ZeroPath.
Troubleshooting
No projects or repositories appear
No projects or repositories appear
Confirm the OAuth identity or PAT can access the Azure DevOps Services organization and the
projects you expect. The connection must be able to list projects and repositories.
Repository import fails
Repository import fails
Check whether a repository with the same name or URL is already linked in ZeroPath. Also verify
that your organization has not reached its repository limit.
PR scans do not start
PR scans do not start
Confirm PR scanning is enabled in ZeroPath repository settings and that the Azure DevOps
connection still has permission to manage service hooks for the relevant project.
Statuses or comments do not appear
Statuses or comments do not appear
Verify that the OAuth grant or PAT includes write access for statuses, pull request comments, and
pull request threads. Reconnect the installation after rotating credentials.
Patch PR creation fails
Patch PR creation fails
Confirm the credential can create branches, push commits, and open pull requests in the target
repository. Branch policies in Azure DevOps may also block automated branch updates.
Operational Notes
- Disconnecting an Azure DevOps installation stops new scans from being scheduled for that connection.
- Rotate PATs by reconnecting the Azure DevOps installation with the new token.
- If new projects are added after setup, reconnect or resync service hooks so ZeroPath can subscribe to PR and repository-created events for those projects.