All Properties

Black Duck Detect

Version
latest

This page lists all Black Duck® Detect properties, including advanced configuration and those properties that have been deprecated. For most use cases, refer to basic properties.

bazel

Property Description
detect.bazel.path

Bazel Executable: The path to the Bazel executable.

detect.bazel.target

Bazel Target: The Bazel target (for example, //foo:foolib) for which dependencies are collected. For Detect to run Bazel, this property must be set.

detect.bazel.cquery.options

Bazel cquery additional options: A comma-separated list of additional options to pass to the bazel cquery command. e.g., --enable_bzlmod, --enable_workspace

detect.bazel.query.options

Bazel query additional options: A comma-separated list of additional options to pass to the bazel query command. e.g., --enable_bzlmod, --enable_workspace

detect.bazel.dependency.sources

default: NONE

Acceptable Values: ALL, NONE, MAVEN_JAR, MAVEN_INSTALL, HASKELL_CABAL_LIBRARY, HTTP_ARCHIVE

Bazel dependency sources: Manually specify which dependency sources to extract. Valid values: MAVEN_INSTALL, MAVEN_JAR, HTTP_ARCHIVE, HASKELL_CABAL_LIBRARY, ALL, NONE. By default (NONE), Detect automatically probes the Bazel dependency graph to determine which sources are present and runs the appropriate pipelines. This property works for both BZLMOD and WORKSPACE projects.

detect.bazel.mode

Bazel Mode Override: Override Bazel mode detection. By default, Detect automatically determines whether the Bazel project uses BZLMOD or WORKSPACE-based dependency management by running bazel mod graph. Valid values: WORKSPACE, BZLMOD.

binary-scanner

Property Description
detect.binary.scan.file.path

Binary Scan Target: If specified, this file and this file only will be uploaded for binary scan analysis. This property takes precedence over detect.binary.scan.file.name.patterns. The BINARY_SCAN tool does not provide project and version name defaults to Detect, so you need to set project and version names via properties when only the BINARY_SCAN tool is invoked.

detect.binary.scan.file.name.patterns

Binary Scan Filename Patterns: If specified, files in the source directory whose names match these file name patterns will be zipped and uploaded for binary scan analysis. This property will not be used if detect.binary.scan.file.path is specified. Search depth is controlled by property detect.binary.scan.search.depth. Directories specified via property detect.excluded.directories are excluded from the file search. This property accepts filename globbing-style wildcards. For more information, refer to the Property wildcard support page.

detect.binary.scan.search.depth

default: 0

Binary Scan Search Depth: When binary scan filename patterns are being used to search for binary files to scan, this property sets the depth at which Detect will search for files (that match those patterns) to upload for binary scan analysis.

bitbake

Property Description
detect.bitbake.build.env.name

default: oe-init-build-env

BitBake Init Script Name: The name of the build environment init script.

detect.bitbake.package.names

BitBake Package Names: A comma-separated list of package names from which dependencies are extracted.

detect.bitbake.source.arguments

BitBake Source Arguments: A comma-separated list of arguments to supply when sourcing the build environment init script.

detect.bitbake.search.depth

default: 1

BitBake Search Depth: The depth at which Detect will search for files generated by Bitbake.

detect.bitbake.dependency.types.excluded

default: NONE

Acceptable Values: NONE, BUILD

Bitbake Excluded Dependency Types: The dependency types to exclude from the results.

blackduck-server

Property Description
blackduck.api.token

Black Duck SCA API Token: The access token used to authenticate with the Black Duck SCA Server.

blackduck.offline.mode

default: false

Offline Mode: This can disable Black Duck SCA communication - if set to true, Detect will not upload BDIO files, or check policies, and it will not download and install the signature scanner. Note that the path to a local instance of the scanner can be provided using the -detect.blackduck.signature.scanner.local.path parameter.

blackduck.url

Black Duck SCA URL: URL of the Black Duck SCA server.

detect.test.connection

default: false

Test Connection to Black Duck SCA: Test the connection to Black Duck SCA with the current configuration.

detect.timeout

default: 300

Detect Timeout: The amount of time in seconds Detect will wait for network connection, for scans to finish, and to generate reports (i.e. risk and policy check). When changing this value, keep in mind the checking of policies might have to wait for scans to process which can take some time.

blackduck.offline.mode.force.bdio

default: false

Force Offline BDIO Generation: This property will force Detect in offline mode to generate a BDIO even if no code locations were identified.

blackduck.trust.cert (Advanced)

default: false

Trust All SSL Certificates: If true, automatically trust the certificate for the current run of Detect only.

detect.blackduck.scan.mode (Advanced)

default: INTELLIGENT

Acceptable Values: RAPID, STATELESS, INTELLIGENT

Detect Scan Mode: Set the Black Duck SCA scanning mode of Detect.

cargo

Property Description
detect.cargo.path

Cargo Executable: The path to the cargo executable.

detect.cargo.dependency.types.excluded

default: NONE

Acceptable Values: NONE, NORMAL, BUILD, DEV, PROC_MACRO

Cargo Dependency Types Excluded: A comma-separated list of dependency types that will be excluded.

detect.cargo.ignore.all.workspaces

default: false

Ignore All Workspaces: All workspaces are ignored by the Cargo detector.

detect.cargo.disable.default.features

default: false

Disable Default Features: All default features are disabled by the Cargo detector.

detect.cargo.included.workspaces (Advanced)

Cargo Include Workspaces: A comma-separated list of Cargo workspace names to include.

detect.cargo.excluded.workspaces (Advanced)

Cargo Exclude Workspaces: A comma-separated list of Cargo workspace names to exclude.

detect.cargo.included.features (Advanced)

Cargo Include Features: A comma-separated list of Cargo features (specified by the [feature] manifest in Cargo.toml) to include, or special values ALL or NONE. By default, Detect only includes default features. Use ALL to enable all features, NONE to generate BOM with no features, or provide a comma-separated list of specific features (e.g., feature-a,feature-b) to include.

cleanup

Property Description
detect.cleanup

default: true

Cleanup Output: If true, the files created by Detect will be cleaned up.

conan

Property Description
detect.conan.path

Conan Executable: The path to the conan executable.

detect.conan.dependency.types.excluded

default: NONE

Acceptable Values: NONE, BUILD

Conan Dependency Types Excluded: Set this value to indicate which Conan dependency types Detect should exclude from the BOM.

detect.conan.arguments

Additional Conan Arguments: A space-separated list of additional arguments to add to the 'conan info' command line when running Detect against a Conan project. Detect will execute the command 'conan info {additional arguments} .'

detect.conan.lockfile.path

Conan Lockfile: The path to the conan lockfile to apply when running 'conan info' to get the dependency graph.

detect.conan.attempt.package.revision.match

default: false

Attempt Package Revision Match: If package revisions are available (a Conan lock file is found or provided, and Conan's revisions feature is enabled), require that each dependency's package revision match the package revision of the component in the KB.

conda

Property Description
detect.conda.environment.name

Anaconda Environment Name: The name of the anaconda environment used by your project.

detect.conda.path

Conda Executable: The path to the conda executable.

detect.conda.tree.path

Conda Tree Executable: The path to the conda tree executable.

container-scanner

Property Description
detect.container.scan.file.path

Container Scan Target: If it is specified, only this .tar file will be uploaded for Container Scan analysis.

cpan

Property Description
detect.cpan.path

cpan Executable: The path to the cpan executable.

detect.cpanm.path

cpanm Executable: The path to the cpanm executable.

dart

Property Description
detect.dart.path

dart Executable: The path to the dart executable.

detect.flutter.path

flutter Executable: The path to the flutter executable.

detect.pub.dependency.types.excluded

default: NONE

Acceptable Values: NONE, DEV

Dart Pub Dependency Types Excluded: Set this value to indicate which Dart pub dependency types Detect should exclude from the BOM.

debug

Property Description
detect.diagnostic

default: false

Diagnostic Mode: When enabled, diagnostic mode collects files valuable for troubleshooting (logs, BDIO file, extraction files, reports, etc.), writes them to a zip file, and logs the path to the zip file.

detect.diagnostic.archive.path

Diagnostic Archive Output Path: Custom output path for diagnostic archive. A file named detect-run-.zip will be created under the specified path. An original copy of the diagnostics archive remains in the runs directory as a backup.

default

Property Description
detect.phone.home.passthrough (Advanced)

Phone Home Passthrough: Additional values may be sent home for usage information. The keys will be sent without the prefix.

detector

Property Description
detect.required.detector.types

Acceptable Values: BITBAKE, CARGO, CARTHAGE, COCOAPODS, CONAN, CONDA, CPAN, CRAN, DART, GIT, GO_MOD, GO_DEP, GO_VNDR, GO_VENDOR, GO_GRADLE, GRADLE, HEX, IVY, LERNA, MAVEN, NPM, NUGET, PACKAGIST, PEAR, PIP, PNPM, POETRY, RUBYGEMS, SBT, SETUPTOOLS, SWIFT, YARN, CLANG, XCODE, OPAM, UV, RUSH

Required Detect Types: The set of required detectors.

detect.accuracy.required (Advanced)

default: ALL

Acceptable Values: ALL, NONE, BITBAKE, CARGO, CARTHAGE, COCOAPODS, CONAN, CONDA, CPAN, CRAN, DART, GIT, GO_MOD, GO_DEP, GO_VNDR, GO_VENDOR, GO_GRADLE, GRADLE, HEX, IVY, LERNA, MAVEN, NPM, NUGET, PACKAGIST, PEAR, PIP, PNPM, POETRY, RUBYGEMS, SBT, SETUPTOOLS, SWIFT, YARN, CLANG, XCODE, OPAM, UV, RUSH

Detector Accuracy Requirements: Detector types from which HIGH accuracy results are required when a detector of that type applies.

detect.excluded.detector.types (Advanced)

default: NONE

Acceptable Values: NONE, BITBAKE, CARGO, CARTHAGE, COCOAPODS, CONAN, CONDA, CPAN, CRAN, DART, GIT, GO_MOD, GO_DEP, GO_VNDR, GO_VENDOR, GO_GRADLE, GRADLE, HEX, IVY, LERNA, MAVEN, NPM, NUGET, PACKAGIST, PEAR, PIP, PNPM, POETRY, RUBYGEMS, SBT, SETUPTOOLS, SWIFT, YARN, CLANG, XCODE, OPAM, UV, RUSH

Detector Types Excluded: By default, all Detector types will be included. To exclude specific Detector types, specify them via this parameter. Exclusion rules take precedence.

detect.excluded.detectors (Advanced)

Detectors Excluded: By default, all Detectors will be included. If you want to exclude specific Detectors, specify the ones to exclude here. Exclusion rules take precedence.

detect.included.detector.types (Advanced)

default: ALL

Acceptable Values: ALL, BITBAKE, CARGO, CARTHAGE, COCOAPODS, CONAN, CONDA, CPAN, CRAN, DART, GIT, GO_MOD, GO_DEP, GO_VNDR, GO_VENDOR, GO_GRADLE, GRADLE, HEX, IVY, LERNA, MAVEN, NPM, NUGET, PACKAGIST, PEAR, PIP, PNPM, POETRY, RUBYGEMS, SBT, SETUPTOOLS, SWIFT, YARN, CLANG, XCODE, OPAM, UV, RUSH

Detector Types Included: By default, all tools will be included. If you want to include only specific tools, specify the ones to include here. Exclusion rules always win.

docker

Property Description
detect.docker.passthrough (Deprecated)

Docker Passthrough: Additional properties may be passed to the docker inspector by adding the prefix detect.docker.passthrough to each Docker Inspector property name and assigning a value. The 'detect.docker.passthrough' prefix will be removed from the property name to generate the property name passed to Docker Inspector (with the given value).

DEPRECATED: Docker Inspector support is deprecated. This property will be removed in 13.0.0.

detect.docker.image (Deprecated)

Docker Image Name: The Docker image name (repo:tag) to inspect.

DEPRECATED: Docker Inspector support is deprecated. This property will be removed in 13.0.0.

detect.docker.image.id (Deprecated)

Docker Image ID: The ID (shown in the 'IMAGE ID' column of 'docker images' output) of the target Docker image. The target image must already be local (must appear in the output of 'docker images').

DEPRECATED: Docker Inspector support is deprecated. This property will be removed in 13.0.0.

detect.docker.inspector.path (Deprecated)

Docker Inspector Path: Use this property to point Detect to a local Docker Inspector jar file, instead of the default Docker Inspector jar file that Detect downloads from the binary repository. You need to ensure the version is compatible (the same major version that Detect downloads by default).

DEPRECATED: Docker Inspector support is deprecated. This property will be removed in 13.0.0.

detect.docker.inspector.version (Deprecated)

Docker Inspector Version: Version of the Docker Inspector to use. By default Detect will attempt to automatically determine the version to use.

DEPRECATED: Docker Inspector support is deprecated. This property will be removed in 13.0.0.

detect.docker.path (Deprecated)

Docker Executable: Path to the docker executable (used to load image inspector Docker images in order to run the Docker Inspector in air gap mode).

DEPRECATED: Docker Inspector support is deprecated. This property will be removed in 13.0.0.

detect.docker.platform.top.layer.id (Deprecated)

Platform Top Layer ID: To exclude components from platform layers from the results, assign to this property the ID of the top layer of the platform image. Get the platform top layer ID from the output of 'docker inspect platformimage:tag'. The platform top layer ID is the last item in RootFS.Layers. For more information, see 'Isolating application components' in the Docker Inspector documentation.

DEPRECATED: Docker Inspector support is deprecated. This property will be removed in 13.0.0.

detect.docker.tar (Deprecated)

Image Archive File: An image .tar file which is either a Docker image saved to a file using the 'docker save' command, or an Open Container Initiative (OCI) image .tar file. The file must be readable by all.

DEPRECATED: Docker Inspector support is deprecated. This property will be removed in 13.0.0.

general

Property Description
detect.component.location.analysis.enabled

default: false

Component Location Analysis Enabled: If set to true, Detect will save an output file named 'components-with-locations.json' in the Scan subdirectory detailing where in the project's source code OSS components are declared.

detect.component.location.analysis.status

default: false

Component Location Analysis Status: If set to true, Detect status and exit code will be affected by the status of the Component Location Analysis run.

detect.target.type

default: SOURCE

Acceptable Values: SOURCE, IMAGE

Detect Scan Mode: Informs detect of what is being scanned which allows improved user experience when scanning different types of targets.

detect.wait.for.results

default: false

Wait For Results: If set to true, Detect will wait for Black Duck SCA products until results are available or the detect.timeout is exceeded.

detect.follow.symbolic.links

default: true

Follow Symbolic Links: If set to true, Detect will follow symbolic links when searching for detectors, when searching for files that select detectors (such as Bitbake and Sbt) need, when searching for directories to exclude from signature scan, and when searching for binary scan targets. Symbolic links are not supported for Impact Analysis.

detect.blackduck.correlated.scanning.enabled

default: false

Correlated Scanning Enabled: When enabled, Detect activates the Black Duck SCA correlated scanning capability to enhance match accuracy.

detect.parallel.processors (Advanced)

default: 1

Detect Parallel Processors: The number of threads to run processes in parallel, defaults to 1, but if you specify less than or equal to 0, the number of processors on the machine will be used.

detect.ignore.connection.failures (Advanced)

default: false

Detect Ignore Connection Failures: If true, Detect will ignore any products (eg. Black Duck SCA) that it cannot connect to.

detect.force.success (Advanced)

default: false

Force Success: If true, Detect will always exit with code 0.

detect.force.success.on.skip (Advanced)

default: false

Force Success On Skip: If true, Detect will always exit with code 0 when a scan of any type is skipped. Typically this happens when the Black Duck SCA minimum scan interval timer has not been met.

global

Property Description
detect.autonomous.scan.enabled (Advanced)

default: false

Autonomous Scan Enabled: If true, Detect will enable autonomous scanning feature.

go

Property Description
detect.go.path

Go Executable: Path to the Go executable.

detect.go.mod.dependency.types.excluded

default: NONE

Acceptable Values: NONE, UNUSED, VENDORED

Go Mod Dependency Types Excluded: Set this value to indicate which Go Mod dependency types Detect should exclude from the BOM.

detect.go.forge

Go Forge URL: The Go Forge URL to fetch the go.mod descriptor of direct dependencies. If not set, the default Go Forge (https://proxy.golang.org) will be used. This is only applicable to the Go Mod File detector.

detect.go.forge.connection.timeout

default: 30

Go Forge Connection Timeout: The connection timeout in seconds to use when connecting to the Go Forge. If not set, the default connection timeout of 30 seconds will be used.

detect.go.forge.read.timeout

default: 60

Go Forge Read Timeout: The read timeout in seconds to use when reading from the Go Forge. If not set, the default read timeout of 60 seconds will be used.

gradle

Property Description
detect.gradle.build.command

Gradle Build Command: Gradle command line arguments to add to the gradle/gradlew command line.

detect.gradle.configuration.types.excluded

default: NONE

Acceptable Values: NONE, UNRESOLVED

Gradle Configuration Types Excluded: Set this value to indicate which Gradle configuration types Detect should exclude from the BOM.

detect.gradle.path

Gradle Executable: The path to the Gradle executable (gradle or gradlew).

detect.gradle.excluded.configurations (Advanced)

Gradle Exclude Configurations: A comma-separated list of Gradle configurations to exclude.

detect.gradle.excluded.projects (Advanced)

Gradle Exclude Projects: A comma-separated list of Gradle subprojects to exclude.

detect.gradle.excluded.project.paths (Advanced)

Gradle Exclude Subproject Paths: A comma-separated list of Gradle subproject paths to exclude.

detect.gradle.included.configurations (Advanced)

Gradle Include Configurations: A comma-separated list of Gradle configurations to include.

detect.gradle.included.projects (Advanced)

Gradle Include Projects: A comma-separated list of Gradle subprojects to include.

detect.gradle.included.project.paths (Advanced)

Gradle Include Project Paths: A comma-separated list of Gradle subproject paths to include.

detect.gradle.root.only (Advanced)

default: false

Gradle Root Only Enabled: If set to true, Gradle Native Inspector will only evaluate root project dependencies.

hex

Property Description
detect.hex.rebar3.path

Rebar3 Executable: The path to the rebar3 executable.

iac-scan

Property Description
detect.iac.scan.paths

IaC Scan Target Paths: A comma-separated list of paths to perform IaC scans on.

detect.iac.scan.arguments

IaC Scan Arguments: A space-separated list of additional arguments to use when running the IaC Scanner.

detect.iac.scanner.local.path

IaC Scanner Local Path: Use this property to specify the path to a local IaC Scanner.

impact-analysis

Property Description
detect.impact.analysis.enabled

default: false

Vulnerability Impact Analysis Enabled: If set to true, Detect will attempt to look for *.class files and generate a Vulnerability Impact Analysis Report for upload to Black Duck SCA.

detect.impact.analysis.output.path

Impact Analysis Output Directory: The path to the output directory for Impact Analysis reports.

ivy

Property Description
detect.ant.path

Ant Executable: The path to the Ant executable.

lerna

Property Description
detect.lerna.path

Lerna Executable: Path of the lerna executable.

detect.lerna.package.types.excluded

default: NONE

Acceptable Values: NONE, PRIVATE

Lerna Package Types Excluded: Set this value to indicate which Lerna package types Detect should exclude from the BOM.

detect.lerna.excluded.packages (Advanced)

Lerna Packages Excluded: A comma-separated list of Lerna packages to exclude.

detect.lerna.included.packages (Advanced)

Lerna Packages Included: A comma-separated list of Lerna packages to include.

logging

Property Description
logging.level.detect

default: INFO

Acceptable Values: OFF, ERROR, WARN, INFO, DEBUG, TRACE

Logging Level: The logging level of Detect.

maven

Property Description
detect.maven.build.command

Maven Build Command: Maven command line arguments to add to the mvn/mvnw command line.

detect.maven.path

Maven Executable: The path to the Maven executable (mvn or mvnw).

detect.maven.included.scopes

Dependency Scope Included: A comma separated list of Maven scopes. Output will be limited to dependencies within these scopes (overridden by exclude).

detect.maven.excluded.scopes

Dependency Scope Excluded: A comma separated list of Maven scopes. Output will be limited to dependencies outside these scopes (overrides include).

detect.maven.include.shaded.dependencies

default: false

Include Shaded Dependencies: If set to true, Detect will include shaded dependencies as part of BOM.

detect.maven.excluded.modules (Advanced)

Maven Modules Excluded: A comma-separated list of Maven modules (subprojects) to exclude.

detect.maven.included.modules (Advanced)

Maven Modules Included: A comma-separated list of Maven modules (subprojects) to include.

npm

Property Description
detect.npm.arguments

Additional NPM Command Arguments: A space-separated list of additional arguments that Detect will add at then end of the npm ls command line when Detect executes the NPM CLI Detector on an NPM project.

detect.npm.dependency.types.excluded

default: NONE

Acceptable Values: NONE, DEV, PEER, OPTIONAL

Npm Dependency Types Excluded: Set this value to indicate which Npm dependency types Detect should exclude from the BOM.

detect.npm.ignore.all.workspaces

default: false

Ignore All Workspaces: All workspaces are ignored by the NPM detector for increased performance and precision to scan a massive codebase.

detect.npm.path

NPM Executable: The path to the Npm executable.

detect.npm.excluded.workspaces (Advanced)

NPM Exclude Workspaces: A comma-separated list of npm workspace relative paths to exclude.

detect.npm.included.workspaces (Advanced)

NPM Include Workspaces: A comma-separated list of npm workspace relative paths to include.

nuget

Property Description
detect.nuget.config.path

Nuget Config File: The path to the Nuget.Config file to supply to the nuget exe.

detect.nuget.packages.repo.url

default: https://api.nuget.org/v3/index.json

Nuget Packages Repository URL: The source for nuget packages

detect.nuget.dependency.types.excluded

default: NONE

Acceptable Values: NONE, DEV

Nuget Dependency Types Excluded: Set this value to indicate which Nuget dependency types Detect should exclude from the BOM.

detect.nuget.artifacts.path

Nuget Artifacts Path: The path to the obj directory build artifacts of the NuGet project, if not the default path.

detect.nuget.inspector.path (Advanced)

NuGet Inspector Path: Use this property to point Detect to a local NuGet Inspector executable, instead of the default that Detect downloads from the binary repository.

detect.nuget.excluded.modules (Advanced)

Nuget Projects Excluded: The projects within the solution to exclude. Detect will exclude all projects with names that include any of the given regex patterns. To match a full project name (for example: 'BaGet.Core'), use a regular expression that matches only the full name ('^BaGet.Core$'). Note that the term 'modules' in the parameter name is synonymous with Nuget 'project'.

detect.nuget.ignore.failure (Advanced)

default: false

Ignore Nuget Failures: If true errors will be logged and then ignored.

detect.nuget.included.modules (Advanced)

Nuget Projects Included: The names of the projects in a solution to include (overrides exclude). Detect will include all projects with names that include any of the given regex patterns. To match a full project name (for example: 'BaGet.Core'), use a regular expression that matches only the full name ('^BaGet.Core$'). Note that the term 'modules' in the parameter name is synonymous with Nuget 'project'.

opam

Property Description
detect.opam.path

Opam Executable: The path to the opam executable.

packagist

Property Description
detect.packagist.dependency.types.excluded

default: NONE

Acceptable Values: NONE, DEV

Packagist Dependency Types Excluded: Set this value to indicate which Packagist dependency types Detect should exclude from the BOM.

paths

Property Description
detect.bash.path

Bash Executable: Path to the Bash executable.

detect.bdio.output.path

BDIO Output Directory: The path to the output directory for the generated BDIO file.

detect.bdio.file.name

BDIO File Name: The desired file name of BDIO file Detect produces in the BDIO Output Directory.

detect.detector.search.depth

default: 0

Detector Search Depth: Depth of subdirectories within the source directory to which Detect will search for files that indicate whether a detector applies.

detect.git.path

Git Executable: Path of the git executable

detect.output.path

Detect Output Path: The path to the output directory.

detect.scan.output.path

Scan Output Path: The output directory for all signature scanner output files. If not set, the signature scanner output files will be in a 'scan' subdirectory of the output directory.

detect.source.path

Source Path: The source path is the path to the project directory to inspect. If no value is provided, the source path defaults to the current working directory.

detect.tools.excluded

Acceptable Values: NONE, DETECTOR, SIGNATURE_SCAN, BINARY_SCAN, IMPACT_ANALYSIS, DOCKER, BAZEL, IAC_SCAN, CONTAINER_SCAN, COMPONENT_LOCATION_ANALYSIS

Detect Tools Excluded: The tools Detect should not allow, in a comma-separated list. Excluded tools will not be run even if all criteria for the tool is met. Exclusion rules always take precedence.

DEPRECATED VALUES: DOCKER: Docker Inspector support is deprecated. The DOCKER tool value will be removed in a future release.

detect.tools

Acceptable Values: ALL, DETECTOR, SIGNATURE_SCAN, BINARY_SCAN, IMPACT_ANALYSIS, DOCKER, BAZEL, IAC_SCAN, CONTAINER_SCAN, COMPONENT_LOCATION_ANALYSIS

Detect Tools Included: The tools Detect should allow in a comma-separated list. Tools in this list (as long as they are not in the excluded list) will run if all criteria of the tool are met. Exclusion rules always take precedence.

DEPRECATED VALUES: DOCKER: Docker Inspector support is deprecated. The DOCKER tool value will be removed in a future release.

detect.status.json.output.path

Status JSON Output Path: The directory to place a copy of the status.json file.

detect.scaaas.scan.path

SCAAAS Scan Target: Internal use only. Specified file will be uploaded to the BDBA worker for scan analysis in an SCA as a service environment.

detect.detector.search.continue (Advanced)

default: false

Detector Search Continue: By default, nesting rules limit which detectors can run on a subdirectory based on which detectors applied on any parent directory. Setting this property to true disables nesting rules.

detect.excluded.directories (Advanced)

Detect Excluded Directories: A comma-separated list of names, name patterns, relative paths, or path patterns of directories that Detect should exclude. Caution should be exercised when including this parameter on Windows, as the command length generated may exceed OS limitations.

detect.excluded.directories.defaults.disabled (Advanced)

default: false

Detect Excluded Directories Defaults Disabled: If false, Detect will exclude the default list of directory names when searching for applicable detectors.

detect.tools.output.path (Advanced)

Detect Tools Output Path: The path to the tools directory where detect should download and/or access things like the Signature Scanner that it shares over multiple runs.

detect.project.detector (Advanced)

Project Name and Version Detector: The detector that will be used to determine the project name and version when multiple detector types apply. This property should be used with detect.project.tool.

detect.project.tool (Advanced)

default: DOCKER,DETECTOR,BAZEL

Acceptable Values: DETECTOR, SIGNATURE_SCAN, BINARY_SCAN, IMPACT_ANALYSIS, DOCKER, BAZEL, IAC_SCAN, CONTAINER_SCAN, COMPONENT_LOCATION_ANALYSIS

Detector Tool Priority: The tool priority for project name and version. The project name and version will be determined by the first tool in this list that provides them.

DEPRECATED VALUES: DOCKER: Docker Inspector support is deprecated. The DOCKER tool value will be removed in a future release.

detect.java.path (Deprecated)

Java Executable: Path to the Java executable used by Docker Inspector.

DEPRECATED: This property is only used by Docker Inspector. Docker Inspector support is deprecated. This property will be removed in 13.0.0.

pear

Property Description
detect.pear.dependency.types.excluded

default: NONE

Acceptable Values: NONE, OPTIONAL

Pear Dependency Types Excluded: Set this value to indicate which Pear dependency types Detect should exclude from the BOM.

detect.pear.path

Pear Executable: The path to the pear executable.

pip

Property Description
detect.pipfile.dependency.types.excluded

default: NONE

Acceptable Values: NONE, DEV

Pipfile Dependency Types Excluded: A comma-separated list of dependency types that will be excluded.

detect.pip.project.name

PIP Project Name: The name of your PIP project, to be used if your project's name cannot be correctly inferred from its setup.py file.

detect.pip.project.version.name

PIP Project Version Name: The version of your PIP project, to be used if your project's version name cannot be correctly inferred from its setup.py file.

detect.pip.requirements.path

PIP Requirements Path: A comma-separated list of paths to requirements files, to be used to analyze requirements files with a filename other than requirements.txt or to specify which requirements files should be analyzed.

detect.pip.only.project.tree

default: false

PIP Include Only Project Tree: By default, pipenv includes all dependencies found in the graph. Set to true to only include dependencies found underneath the dependency that matches the provided pip project and version name.

detect.pip.path

Pip Executable: The path to the Pip executable.

detect.pipenv.path

Pipenv Executable: The path to the Pipenv executable.

pnpm

Property Description
detect.pnpm.dependency.types.excluded

default: NONE

Acceptable Values: NONE, DEV, OPTIONAL

pnpm Dependency Types: Set this value to indicate which pnpm dependency types Detect should exclude from the BOM.

detect.pnpm.excluded.packages (Advanced)

pnpm Exclude Directories: A comma-separated list of pnpm directories to exclude.

detect.pnpm.included.packages (Advanced)

pnpm Include Directories: A comma-separated list of pnpm directories to include.

poetry

Property Description
detect.poetry.dependency.groups.excluded

Poetry dependency groups: Set this value to indicate which Poetry dependency groups Detect should exclude from the BOM.

project

Property Description
detect.policy.check.fail.on.severities

default: NONE

Acceptable Values: ALL, NONE, BLOCKER, CRITICAL, MAJOR, MINOR, OK, TRIVIAL, UNSPECIFIED

Fail on Policy Violation Severities: A comma-separated list of policy violation severities that will fail Detect. If this is set to NONE, Detect will not fail due to policy violations. A value of ALL is equivalent to all of the other possible values except NONE.

detect.policy.check.fail.on.names

Fail on Policy Names with Violations: A comma-separated list of policy names with a non-zero number of violations that will fail Detect.

detect.stateless.policy.check.fail.on.severities

default: BLOCKER,CRITICAL

Acceptable Values: ALL, NONE, BLOCKER, CRITICAL, MAJOR, MINOR, OK, TRIVIAL, UNSPECIFIED

Fail on Stateless Policy Violation Severities: A comma-separated list of policy violation severities that will fail Detect. If this is set to NONE, Detect will not fail due to policy violations. A value of ALL is equivalent to all of the other possible values except NONE. This property works for both stateless and rapid scans.

detect.project.description

Project Description: If project description is specified, your project will be created with this description. For updates, see detect.project.version.update.

detect.project.version.create.when.no.components

default: true

Create Project Version When No Components Found: If set to false, Detect will not create a project version on Black Duck when no components are found and no other scan tools are active.

detect.project.name

Project Name: An override for the name to use for the Black Duck SCA project. If not supplied, Detect will attempt to use the tools to figure out a reasonable project name. If that fails, the final part of the directory path where the inspection is taking place will be used.

detect.project.tier

Project Tier: If a Black Duck SCA project tier is specified, your project will be created with this tier. For updates, see detect.project.version.update.

detect.project.version.name

Version Name: An override for the version to use for the Black Duck SCA project. If not supplied, Detect will attempt to use the tools to figure out a reasonable version name. If that fails, the current date will be used.

detect.project.version.nickname

Version Nickname: If a project version nickname is specified, your project version will be created with this nickname. For updates, see detect.project.version.update.

detect.project.version.notes

Version Notes: If project version notes are specified, your project version will be created with these notes. For updates, see detect.project.version.update.

detect.project.version.phase

default: DEVELOPMENT

Acceptable Values: ARCHIVED, DEPRECATED, DEVELOPMENT, PLANNING, PRERELEASE, RELEASED

Version Phase: If project version phase is specified, your project version will be created with this phase. For updates, see detect.project.version.update.

DEPRECATED VALUES: ARCHIVED: With the Black Duck SCA 2026.1.0 release, the ARCHIVED option was deprecated and is no longer supported. To ensure compatibility with both current and upcoming releases, please update your configuration to use a supported project version phase. ARCHIVED: This phase has been deprecated.

detect.project.version.update

default: false

Update Project Version: If set to true, Detect will update the Black Duck SCA project and project version according to configured project and project version properties. (By default, these properties are only set on created projects / project versions.)

detect.project.version.license

Project Version License: If project version license is specified, your project version will be created with this license. For updates, see detect.project.version.update.

detect.project.deep.license

default: false

Deep License Analysis: If set to true, enables Deep License Analysis for the project, including detailed license data and snippet analysis.

detect.clone.project.version.name (Advanced)

Clone Project Version Name: The name of the project version to clone this project version from. Respects the given Clone Categories in detect.project.clone.categories or as set on the Black Duck SCA.

detect.clone.project.version.latest (Advanced)

default: false

Clone Latest Project Version: If set to true, detect will attempt to use the latest project version as the clone for this project. The project must exist and have at least one version.

detect.code.location.name (Advanced)

Scan Name: An override for the base name Detect will use for the scan (codelocation) it creates. Detect appends a suffix to the base name that indicates the source ("scan" for the signature scanner, "gradle/bom" for the Gradle detector, etc.). If this property is set and multiple code locations are generated from the same source, Detect will also append an index to avoid name collisions. When this property is set, detect.project.codelocation.prefix and detect.project.codelocation.suffix are ignored.

detect.project.application.id (Advanced)

Application ID: Sets the 'Application ID' project setting.

detect.project.group.name (Advanced)

Project Group Name: Sets the 'Project Group' to assign the project to. Must match exactly to an existing project group on Black Duck SCA.

detect.custom.fields.project (Advanced)

Custom Fields: A list of custom fields with a label and comma-separated value starting from index 0. For each index, provide one label and one value. For example, to set a custom field with label 'example' to 'one,two': detect.custom.fields.project[0].label='example' and detect.custom.fields.project[0].value='one,two'. To set another field, use index 1. Note that these will not show up in the detect configuration log.

detect.custom.fields.version (Advanced)

Custom Fields: A list of custom fields with a label and comma-separated value starting from index 0. For each index, provide one label and one value. For example , to set a custom field with label 'example' to 'one,two': detect.custom.fields.version[0].label='example' and detect.custom.fields.version[0].value='one,two'. To set another field, use index 1. Note that these will not show up in the detect configuration log.

detect.project.clone.categories (Advanced)

default: ALL

Acceptable Values: ALL, NONE, COMPONENT_DATA, CUSTOM_FIELD_DATA, DEEP_LICENSE, LICENSE_TERM_FULFILLMENT, VERSION_SETTINGS, VULN_DATA

Clone Project Categories: The value of this property is used to set the 'Cloning' settings on created Black Duck SCA projects. If property detect.project.version.update is set to true, the value of this property is used to set the 'Cloning' settings on updated Black Duck SCA projects.

detect.project.codelocation.prefix (Advanced)

Scan Name Prefix: A prefix to the name of the scans created by Detect. Useful for running against the same projects on multiple machines.

detect.project.codelocation.suffix (Advanced)

Scan Name Suffix: A suffix to the name of the scans created by Detect.

detect.project.user.groups (Advanced)

Project User Groups: A comma-separated list of names of user groups to add to the project.

detect.project.tags (Advanced)

Project Tags: A comma-separated list of tags to add to the project. This property is not supported when using Detect in offline mode.

detect.project.level.adjustments (Advanced)

default: true

Allow Project Level Adjustments: If set, created projects will be created with the value of this property. For updates, see detect.project.version.update.

detect.parent.project.name (Advanced)

Parent Project Name: When a parent project and version name are specified, the created detect project will be added as a component to the specified parent project version. The specified parent project and parent project version must exist on Black Duck SCA.

detect.parent.project.version.name (Advanced)

Parent Project Version Name: When a parent project and version name are specified, the created detect project will be added as a component to the specified parent project version. The specified parent project and parent project version must exist on Black Duck SCA.

detect.project.version.distribution (Advanced)

default: EXTERNAL

Acceptable Values: EXTERNAL, INTERNAL, OPENSOURCE, SAAS

Version Distribution: If project version distribution is specified, your project version will be created with this distribution. For updates, see detect.project.version.update.

detect.project.settings (Advanced)

Project Settings JSON File: Path to a JSON file containing project settings. The file should contain a JSON object with detect.project properties specified as key-value pairs.

project-inspector

Property Description
detect.project.inspector.path (Advanced)

Project Inspector Path: Use this property to point Detect to a local Project Inspector zip file, instead of the default Project Inspector zip file that Detect downloads from the binary repository. You need to ensure the version is compatible (the same major version that Detect downloads by default).

detect.project.inspector.global.arguments (Advanced)

Project Inspector Global Arguments: A space-separated list of global options to pass to all invocations of the project inspector.

detect.project.inspector.arguments (Advanced)

Project Inspector Additional Arguments: A space-separated list of additional options to pass to all invocations of the project inspector.

proxy

Property Description
blackduck.proxy.host (Advanced)

Proxy Host: Hostname of the proxy server.

blackduck.proxy.ignored.hosts (Advanced)

Bypass Proxy Hosts: A comma separated list of regular expression host patterns that should not use the proxy.

blackduck.proxy.ntlm.domain (Advanced)

NTLM Proxy Domain: NTLM Proxy domain.

blackduck.proxy.ntlm.workstation (Advanced)

NTLM Proxy Workstation: NTLM Proxy workstation.

blackduck.proxy.password (Advanced)

Proxy Password: Proxy password.

blackduck.proxy.port (Advanced)

Proxy Port: Proxy port number.

blackduck.proxy.username (Advanced)

Proxy Username: Proxy username.

python

Property Description
detect.python.path

Python Executable: The path to the Python executable.

quack-patch

Property Description
detect.quack.patch.enabled

default: false

Quack Patch Enabled: If set to true, Detect will invoke Quack Patch -- a tool that uses LLMs to generate code patches for vulnerable transitive components.

detect.quack.patch.output.path

Quack Patch Output Directory: Specifies the output directory for Quack Patch results.

detect.llm.api.key

LLM Gateway API key: Provides the API key used to authenticate with the configured LLM Gateway.

detect.llm.api.endpoint

LLM API URL: Specifies the base URL of the LLM Gateway that the Quack Patch tool will send requests to.

detect.llm.name

LLM Model Name: Defines which LLM model Quack Patch should use when performing analysis.

rapid-scan

Property Description
detect.blackduck.rapid.compare.mode (Advanced)

default: ALL

Acceptable Values: ALL, BOM_COMPARE, BOM_COMPARE_STRICT

Rapid Compare Mode: Controls how Rapid Scan evaluates policy rules.

report

Property Description
detect.notices.report

default: false

Generate Notices Report: When set to true, a Black Duck SCA notices report in text form will be created in your source directory.

detect.notices.report.path

Notices Report Path: The output directory for notices report. Default is the source directory.

detect.risk.report.pdf

default: false

Generate Risk Report (PDF): When set to true, a Black Duck SCA risk report in PDF form will be created.

detect.risk.report.json

default: false

Generate Risk Report (JSON): When set to true, a Black Duck SCA risk report in JSON form will be created.

detect.risk.report.pdf.path

Risk Report (PDF) Output Path: The output directory for risk report in PDF. Default is the source directory.

detect.risk.report.json.path

Risk Report (JSON) Output Path: The output directory for risk report in JSON. Default is the source directory.

ruby

Property Description
detect.ruby.dependency.types.excluded

default: NONE

Acceptable Values: NONE, RUNTIME, DEV

Ruby Dependency Types Excluded: Set this value to indicate which Ruby(Gempsec) dependency types Detect should exclude from the BOM.

rush

Property Description
detect.rush.pnpm.excluded.subspaces (Advanced)

Rush Projects Excluded: A comma-separated list of rush pnpm subspaces to exclude.

detect.rush.pnpm.included.subspaces (Advanced)

Rush Projects Included: A comma-separated list of rush subspaces to include.

sbt

Property Description
detect.sbt.path

Sbt Executable: Path to the Sbt executable.

detect.sbt.arguments

Additional sbt command Arguments: A space-separated list of additional arguments to add to sbt command line when running Detect against an SBT project. Detect will execute the command 'sbt {additional arguments} {Detect-added arguments}'.

signature-scanner

Property Description
detect.blackduck.signature.scanner.arguments

Signature Scanner Arguments: A space-separated list of additional arguments to use when running the Black Duck SCA signature scanner. Key-value pairs specified as arguments will replace the same entries specifed elswhere. Available signature scanner properties can be determined by specifying '--help' when executing the signature scanner jar file from the command line.

detect.blackduck.signature.scanner.copyright.search

default: false

Signature Scanner Copyright Search: When set to true, user will be able to scan and discover copyright names in Black Duck SCA. Corresponding Signature Scanner CLI Argument: --copyright-search.

detect.blackduck.signature.scanner.csv.archive

default: false

Signature Scanner CSV Archive Output: When set to true Signature Scanner output will be in CSV format. Corresponding Signature Scanner CLI Argument: --outputFormat csv for offline mode, --upload-csv for online mode.

detect.blackduck.signature.scanner.dry.run

default: false

Signature Scanner Dry Run: If set to true, the signature scanner results are not uploaded to Black Duck SCA, and the scanner results are written to disk via the Signature Scanner CLI argument: --dryRunWriteDir.

detect.blackduck.signature.scanner.individual.file.matching

default: NONE

Acceptable Values: NONE, SOURCE, BINARY, ALL

Individual File Matching: Users may set this property to indicate what types of files they want to match. Corresponding Signature Scanner CLI Argument: --individualFileMatching.

detect.blackduck.signature.scanner.license.search

default: false

Signature Scanner License Search: When set to true, user will be able to scan and discover license names in Black Duck SCA. Corresponding Signature Scanner CLI Argument: --license-search.

detect.blackduck.signature.scanner.local.path

Signature Scanner Local Path: To use a local signature scanner, specify the path where the signature scanner was unzipped. This will likely look similar to 'scan.cli-x.y.z' and includes the 'bin, icon, jre, and lib' directories of the expanded scan.cli.

detect.blackduck.signature.scanner.paths

Signature Scanner Target Paths: If this property is not set, the signature scanner target path is the source path (see property detect.source.path). If this property is set, the paths provided in this property's value will be signature scanned instead (the signature scanner will be executed once for each provided path).

detect.blackduck.signature.scanner.snippet.matching

default: NONE

Acceptable Values: NONE, SNIPPET_MATCHING, SNIPPET_MATCHING_ONLY

Snippet Matching: Use this value to enable the various snippet scanning modes. For a full explanation, refer to Running a component scan using the Signature Scanner command line. Corresponding Signature Scanner CLI Arguments: --snippet-matching, --snippet-matching-only.

detect.blackduck.signature.scanner.reduced.persistence

default: DEFAULT

Acceptable Values: DEFAULT, RETAIN_UNMATCHED, DISCARD_UNMATCHED

Reduced Persistence: Use this value to control how unmatched files from signature scans are stored. For a full explanation, refer to about reduced persistence signature scanning.

detect.blackduck.signature.scanner.upload.source.mode

default: false

Upload source mode: If set to true, the signature scanner will, if supported by your Black Duck SCA version, upload source code to Black Duck SCA. Corresponding Signature Scanner CLI Argument: --upload-source.

detect.excluded.directories.search.depth

default: 4

Detect Excluded Directories Search Depth: Enables you to adjust the depth to which Detect will search when creating signature scanner exclusion patterns.

detect.blackduck.signature.scanner.memory (Advanced)

default: 4096

Signature Scanner Memory: The memory for the scanner to use.

swift

Property Description
detect.swift.path

Swift Executable: Path of the swift executable.

uv

Property Description
detect.uv.path

uv Executable: The path to the uv executable.

detect.uv.dependency.groups.excluded

Exclude UV Dependency Groups: Set this value to indicate which UV dependency groups Detect should exclude from the BOM.

detect.uv.dependency.groups.only (Advanced)

Include Only the Specified UV Dependency Groups: A comma-separated list of dependency group names to exclusively include in the BOM.

detect.uv.excluded.workspace.members (Advanced)

uv Exclude Workspace Members: A comma-separated list of uv workspace members to exclude.

detect.uv.included.workspace.members (Advanced)

uv Include Workspace Members: A comma-separated list of uv workspace members to include.

yarn

Property Description
detect.yarn.ignore.all.workspaces

default: false

Ignore All Workspaces: All workspaces are ignored by the Yarn detector for increased performance and precision to scan a massive codebase.

detect.yarn.dependency.types.excluded

default: NONE

Acceptable Values: NONE, NON_PRODUCTION

Yarn Dependency Types Excluded: Set this value to indicate which Yarn dependency types Detect should exclude from the BOM.

detect.yarn.excluded.workspaces (Advanced)

Yarn Exclude Workspaces: A comma-separated list of Yarn workspaces (specified by the workspace directory's relative path) to exclude.

detect.yarn.included.workspaces (Advanced)

Yarn Include Workspaces: A comma-separated list of Yarn workspaces (specified by the workspace directory's relative path) to include.

Documentation version: 12.0.0