Detect Azure DevOps (ADO) Plugin

Black Duck Detect

Version
latest

The Black Duck® Detect for Azure DevOps plugin is architected to seamlessly integrate Black Duck® SCA with Azure DevOps build and release pipelines. Black Duck® Detect makes it easier to set up and scan code bases using a variety of languages and package managers.

The Detect plugin for Azure DevOps supports native scanning in your Azure DevOps environment to run Software Composition Analysis (SCA) on your code.

As a Detect and Azure DevOps user, Detect Extension for Azure DevOps enables you to:

  • Run a component scan in an Azure DevOps job and create projects and releases in Black Duck SCA through the Azure DevOps job.

  • After a scan is complete, the results are available on the Black Duck SCA server (for SCA).

Using the Detect Extension for Azure DevOps together with Black Duck SCA enables you to use Azure DevOps to automatically create Black Duck SCA projects from your Azure DevOps projects.

Note: The Azure plugin currently supports Detect 9.x or greater.
Figure 1. Plugin Plugin

Invoking Detect

It is recommended to invoke Detect from the CI (build) pipeline. Scanning during CI enables Detect to break your application build, which is effective for enforcing policies like preventing the use of disallowed or vulnerable components.

Figure 2. ADO Tasks screen Intro

Basic workflow

Using Detect to analyze your code in Azure involves the following basic steps:

  1. Make sure you satisfy system and other requirements.

  2. Download and configure the Detect extension in Azure.

  3. Configure build agent and pipeline.

  4. Configure Black Duck SCA connection.

  5. Configure Detect arguments.

  6. Run pipeline and invoke scan.

  7. Examine the analysis results.