Choosing the Detect target type

Black Duck Detect

Version
latest

Detect will select a workflow based in part on the target type you select via the detect.target.type property.

When running Detect on project source code, you can set detect.target.type to SOURCE, or leave detect.target.type unset (since SOURCE is the default value).

When running Detect on a Docker image, you will want to set detect.target.type to IMAGE.

Common workflows

By default (detect.target.type=SOURCE), Detect will run the following on the source directory:

  1. Any applicable detectors

  2. Black Duck Signature Scanner

When a Docker image is provided and property detect.target.type is set to IMAGE, Detect will run the following on the image:

  1. Docker Inspector

  2. Black Duck Signature Scanner

  3. Black Duck Binary Analysis