Skip to main content

Set up the Azure DevOps connector

The Veracode Risk Manager (VRM) connector for Azure DevOps centralizes pipeline, repository and code information, and analyzes build logs to identify container image origins. This allows you to quickly identify code that generated vulnerable images, improving remediation times for risky code.

Additionally, the connector enables you to generate project work items from VRM issues, allowing your security teams to quickly assign work to the correct development teams to remediate risk.

Complete the following tasks to set up your VRM connector for Azure DevOps.

Create a Personal Access Token

You must create a Personal Access Token (PAT) to authenticate into Azure DevOps.

Create a PAT with the following specifications to enable the connector to effectively access the necessary information from your Azure DevOps organization to perform image origin analysis:

  • Set the expiration date to at least one year from the current date.

  • Set the scopes to allow at least the following levels of access:

    ScopeAccess
    AuditingRead audit log
    BuildRead
    CodeRead
    EntitlementsRead
    EnvironmentRead & manage
    Extension DataRead
    ExtensionsRead
    GraphRead
    IdentityRead
    PackagingRead
    Project and TeamRead
    ReleaseRead
    Secure FilesRead
    Service ConnectionsRead
    SymbolsRead
    Task GroupsRead
    User ProfileRead
    Variable GroupsRead

To allow the connector to generate work items from VRM issues, set the scopes of your PAT to allow at least the following levels of access:

ScopeAccess
Project and TeamRead
Work ItemsRead & write

You can add these permissions to the same PAT mentioned above, or, if you want to configure a separate connector in VRM dedicated to the work item functionality, you can generate a new PAT with just these permissions.

Create a VRM connector

  1. In VRM, from the left navigation menu, select the Settings icon settings_icon.png.
  2. Select Add Connector.
  3. Select the Azure DevOps tile.
  4. On the Azure DevOps connector page, enter a name for the connector.
  5. Enter the name of your Azure DevOps organization.
  6. Paste the Personal Access Token you generated in Azure DevOps.
  7. Select Add Connector.