Azure Repos
Azure Repos is a set of version control tools that you can use to manage your code. Azure Repos provides two types of version control:
Git: distributed version control.
Team Foundation Version Control (TFVC): centralized version control.
Azure Pipelines is a cloud-based solution that automatically builds and tests code projects.
Connecting your Azure account allows OX to map and scan your apps for security issues.
Connection methods

Identity Provider
In OX, go to Connectors > Source Control > Azure Repos.
Open the IDENTITY PROVIDER tab, select CONNECT, and follow the instructions on the screen.
Token
To create the token, see the Microsoft documentation. Create an access token in Azure DevOps.
Add the permissions listed in the section Token scopes required.
In OX, go to Connectors > Source Control > Azure Repos.
Open the TOKEN tab and copy the token into the token field.
Select CONNECT.
Service Principal
To create a managed identity or application service principal, see the Microsoft documentation Use service principals and managed identities in Azure DevOps.
In OX, go to Connectors > Source Control > Azure Repos.
Open the SERVICE PRINCIPAL tab and enter the service principal ID (in the Client ID field), the client secret, and the tenant ID to connect.
Ensure your host URL follows this format:
https://dev.azure.com/{organizationName}/
Connect multiple organizations
To connect multiple organizations, use a dedicated Personal Access Token (PAT) for each connection.
Token scopes required
Auditing - Read Audit Log
Build - Read
Code - Full
Code - Status
Graph - Read and Manage
Identity - Read and Manage
Member Entitlement Management - Read and Write
Project and Team - Read, Write and Manage
Release - Read
Security - Manage
User profile - Read
Wiki - Read
Work items - Read and Write




Once you have verified Azure repos connectivity, you can see all the repositories and can select them for scanning.
Setting repositories' scope
You can use the Gear icon to choose the repositories' scope OX will cover. Only repositories chosen here will be covered and scanned.
Here you can also decide what will happen by default with newly discovered repositories.
Last updated
