Version 2.0.0


Introduction

The Synopsys Detect for Azure DevOps plugin, formerly known as Black Duck Detect plugin for TFS/VSTS, is architected to seamlessly integrate Synopsys Detect with Azure DevOps build and release pipelines. 

The Synopsys Detect plugin for Azure DevOps consolidates the functionality of Black Duck™ and Coverity™ on Polaris™ to support native scanning in your Azure DevOps environment of:

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

Using the Synopsys Detect Extension for Azure DevOps together with the Black Duck and/or Polaris enables you to use Azure DevOps to automatically create Black Duck projects from your Azure DevOps projects.

For more information on Synopsys Detect, refer to Synopsys Detect.

Requirements

Before calling Synopsys Detect in TFS or Azure DevOps, an active instance of Black Duck Duck or Polaris (if running SAST) is required.  If you do not have Black Duck, refer to Black Duck on the Azure Marketplace for more information.

Software Requirements
The installation instructions in this document assume that you have the following installed and configured on your system:

The Synopsys Detect Extension for Azure DevOps is supported on the same operating systems and browsers as Black Duck.

For scanning NuGet projects, verify that you have the NuGet tool installer set up in the build job definition.  You can download it at https://docs.microsoft.com/en-us/Azure DevOps/build-release/tasks/tool/nuget?view=Azure DevOps.


Network Requirements
The Synopsys Detect for Azure DevOps extension requires internet connectivity. The machine that hosts your Azure DevOps server must be able to connect to GitHub, Synopsys, Black Duck Artifactory, and the Black Duck and/or Polaris server.

Follow the steps to Deploy Black Duck on Azure for more information on deploying from the Azure Marketplace.

This plugin is for Windows environments only, due to the PowerShell requirement.

Installing the Synopsys Detect for Azure DevOps plugin

Installation prerequisites

Before you install Synopsys Detect Extension for Azure DevOps, ensure that:

This is a recommendation as administrator privileges are not required in all use cases. Synopsys recommends administrator privileges to avoid failures but understands that this isn't possible in all environments. If you are running into permission constraints using this plugin, please contact Synopsys support.

You can get the Synopsys Detect for Azure DevOps plugin at VisualStudio Marketplace.

Using the Synopsys Detect for Azure DevOps plugin

Use the following processes for your Synopsys Detect for Azure DevOps plugin.

Configuring a task

Use the following process to configure a task.  In the user interface, fields with a red asterisk ( * ) are required.  Some default values are provided for you, such as version.  Note that the following fields belong to Azure DevOps, and are not part of the Detect plugin:

  1. Navigate to Your Collection > Project > Pipelines > Tasks. The plugin adds a new task of Run Synopsys Detect for your build.  You must add this task to your build queue.  Click Run Synopsys Detect for your build, and the Synopsys Detect panel displays on the right. In the Synopsys Detect configuration panel, complete the following fields and options.
  2. Display name: Type a unique name in this field.  Note that the name you type here displays in the left panel; the default name is Run Synopsys Detect for your build.
  3. Run Detect For The Following Products: Select one of the following options:
    1. All products: For all products, specify:
      1. Black Duck Service Endpoint (required)  Select an existing connection, or click +New to add a connection.
      2. Black Duck Proxy Service Endpoint (optional) Select an existing proxy, or click +New to add a proxy.
      3. Polaris Service Endpoint (required) Select an existing Polaris connection, or click +New to add a Polaris connection.
    2. Black Duck Only: Runs only on Black Duck.  Complete the following.
      1. Black Duck Service Endpoint (required)  Select an existing connection, or click +New to add a connection.
      2. Black Duck Proxy Service Endpoint (optional) Select an existing proxy, or click +New to add a proxy.
    3. Polaris Only: Runs only on Polaris.  Complete the following.
      1. Polaris Service Endpoint (required) Select an existing Polaris connection, or click +New to add a Polaris connection.
  4. Manage: Selecting Manage launches the Azure DevOps Service connections page, where you can further refine or add a service connection.  Manage is available for:
    1. Black Duck Service Endpoint.
    2. Black Duck Proxy Service Endpoint.
    3. Polaris Service Endpoint.
  5. Detect Version: Version of the Detect binary to use. The default value is latest.  Synopsys recommends using the latest, but here you can specify a version override if desired.
  6. Detect Arguments: Here you can include additional Detect arguments; Detect picks up your build environment variables and your project variables. Use a new line or space to separate multiple arguments. Use double quotes to escape. You can use environment and build variables.  For more information on Detect arguments, refer to Synopsys Detect Properties.
  7. Detect Folder: The location to download the Detect jar or the location of an existing Detect jar. The default is the system temp directory.  To specify a different directory, type the directory path and name in the field.
  8. Add Detect Task Summary: Click this checkbox to add a summary of the Detect task to the build summary task.

Running the task

After you have configured your task, you can run it as follows.

Release Notes

Version 2.0.0

New features

Changed features

Version 1.1.0

Changed features

Version 1.0.4

Changed features

Resolved issues

Version 1.0.3
Version 1.0.0