Universal Bridge CLI arguments
These arguments can be passed on the command line, but not as part of a JSON file.
| Command | Description | Required? |
|---|---|---|
bridge-cli |
Command to invoke Bridge CLI. | Yes |
--stage |
The --stage command specifies the Black Duck security product you are integrating with (such as --stage polaris). |
Yes |
--input |
The --input command loads a JSON file containing common arguments to run scans |
Required for inputting a JSON files. |
--help |
Shows the help file for Bridge CLI. | No |
--json-log |
Outputs JSON format logs. See Logging and Diagnostics. | No |
--json-log-file |
Outputs JSON format logs in the bridge.log file in the Bridge CLI home directory. See Logging and Diagnostics. |
No |
--home |
Sets the directory where Bridge CLI writes logs and adapter output (default is .bridge). | No |
--version |
Returns the version of Bridge CLI executable. | No |
--schema |
Specifies a schema to load | No |
--verbose |
Turns on verbose logging. | No |
--diagnostics |
Enables debug logs under the Bridge CLI home directory. Creates a diagnostics.json file containing the final state data inside the Bridge CLI home directory, but masking sensitive information like tokens and passwords. See Logging and Diagnostics. |
No |
--out <outFile> |
Creates an output file with the file name and location provided by the user. This file will contain the final state data with masked sensitive information. To include sensitive information in the file, use --include-sensitive-information with --out. |
No |
--list <name> |
Show a list of tools and workflows. | No |
The following parameter applies to all Black Duck platforms and controls the scan location.
| Argument | Input Mode | Required | Notes | ||
|---|---|---|---|---|---|
| Command line argument | Environment variable | JSON Field | |||
| Project source directory | project.directory |
BRIDGE_PROJECT_DIRECTORY |
project.directory |
No | String that specifies the project directory to scan. The project directory should be a valid path for the file system in use. If it is empty, Bridge will use the current working directory (pwd). Note:
For Polaris works for both |
Client scan tool parameters
The table below describes the parameters for configuring Bridge to integrate with client scanning tools that are run locally during builds.
Tool |
Argument |
Input mode |
Required |
Notes |
||
| Command line argument | Environment variable | Json field | ||||
| Coverity | Build Command | coverity.build.command | BRIDGE_COVERITY_BUILD_COMMAND | coverity.build.command | No | Build command for the project to be passed to Coverity. |
| Clean Command | coverity.clean.command | BRIDGE_COVERITY_CLEAN_COMMAND | coverity.clean.command | No | Clean command for the project to be passed to Coverity |
|
| Coverity Config File Location | coverity.config.path | BRIDGE_COVERITY_CONFIG_PATH | coverity.config.path | No | Path to coverity.yml file to be passed to Coverity |
|
Generic Arguments |
coverity.args | BRIDGE_COVERITY_ARGS | coverity.args | No | Pass generic arguments to Coverity CLI If you are a Coverity user, you can see the list of arguments you can use. Reference: Black Duck Documentation Portal Note: Check options compatibility with your platform before using them.
|
|
Black Duck® SCA Detect |
Detect Search Depth | detect.search.depth | BRIDGE_DETECT_SEARCH_DEPTH | detect.search.depth | No | Search Depth to be passed to Black Duck-Detect |
| Detect Config File Location | detect.config.path | BRIDGE_DETECT_CONFIG_PATH | detect.config.path | No |
Path to configuration file - to be passed to Detect |
|
| Generic Arguments | detect.args | BRIDGE_DETECT_ARGS | detect.args | No | Pass any argument to Detect. If you are a Black Duck® SCA Detect user, you can see the list of arguments you can use.Reference: Black Duck Documentation Portal Note:
Check options compatibility with your platform before using them. |
|
Polaris
| Argument | Input mode | Required | Notes | ||
|---|---|---|---|---|---|
| Command line argument | Environment variable | JSON field | |||
| Access token | polaris.accesstoken |
BRIDGE_POLARIS_ACCESSTOKEN |
polaris.accesstoken |
Yes | For security reasons, it is recommended that you pass this as an environment variable. |
| Server URL | polaris.serverurl |
BRIDGE_POLARIS_SERVERURL |
polaris.serverurl |
Yes | Polaris server URL |
| Application Name | polaris.application.name |
BRIDGE_POLARIS_APPLICATION_NAME |
polaris.application.name |
Yes | Application must exist on Polaris, and have right entitlements. If the application doesn't already exist in Polaris, Bridge will try to create it before triggering a CI scan. If you have concurrent subscription / team member enabled, the application creation will be successful. If you have parallel subscription, application creation will fail. |
| Project Name | polaris.project.name |
BRIDGE_POLARIS_PROJECT_NAME |
polaris.project.name |
Yes. | The specified project is created on Polaris if it doesn’t exist. If you don’t want the project to be created, set |
| Assessment Type | polaris.assessment.types |
BRIDGE_POLARIS_ASSESSMENT_TYPES |
polaris.assessment.types |
Yes | Comma separated values. Accepted values:
Further configuration requirements for SAST, SCA, and DAST scans are found here: Using Bridge CLI with Polaris. |
| Tool Install Directory | tool.install.directory |
BRIDGE_TOOL_INSTALL_DIRECTORY |
tool.install.directory |
No | Directory to which Bridge downloads the underlying scan tools. Defaults to <User>/.blackduck/bridge/tools. |
| Auto Create Projects | polaris.onboarding |
BRIDGE_POLARIS_ONBOARDING |
polaris.onboarding |
No | If set to true, Bridge will attempt to create the project on Polaris if it does not exist. Default is true. |
| Polaris Project branch name | polaris.branch.name |
BRIDGE_POLARIS_BRANCH_NAME |
polaris.branch.name |
Yes | Branch name in the Polaris server. If the branch does not exit, it creates the branch if If If a branch name is not provided, Bridge will error out and no tests will be created. |
| Enable PR Comments | polaris.prcomment.enabled |
BRIDGE_POLARIS_PRCOMMENT_ENABLED |
polaris.prcomment.enabled |
No | Boolean. Enables and disables the PR Comment feature. Defaults is false. |
| Enable Fix PRs | polaris.fixPR.enabled |
BRIDGE_POLARIS_FIXPRR_ENABLED |
polaris.fixPR.enabled |
No | Enables or disables the Polaris Fix PR workflow. Default: |
| Use upgraded guidance for Fix PRs | polaris.fixPR.useUpgradeGuidance |
BRIDGE_POLARIS_FIXPR_UPGRADEGUIDANCE |
polaris.fixPR.useUpgradeGuidance |
No | Specifies whether to use only short term guidance, only long term guidance, or an ordered preference that allows both for SCA Fix PRs. Bridge tries the guidance values in the order provided. Values:
Default: |
| Configure when Fix PRs are raised | polaris.fixPR.filter.severities |
BRIDGE_POLARIS_FIXPR_FILTER_SEVERITIES |
polaris.fixPR.filter.severities |
No | Bridge creates Fix PRs only for issues with a severity matching a filter. This applies to both SAST and SCA if both assessment types are enabled. Values: One or more of the following, separated by commas:
Default: CRITICAL,HIGH |
| Configure max number of fix PRs that are created on a branch | polaris.fixPR.maxCount |
BRIDGE_POLARIS_FIX_PR_MAXCOUNT |
polaris.fixPR.maxCount |
No | Max number of fix PRs created on a branch across both SAST and SCA scans, with SAST evaluated first. Dismissed issues are excluded, then the polaris.fixPR.filter.severities allow list is applied. Issues are sorted by severity (descending) and first-detected date (ascending, with undated issues last), and only the first maxCount results are selected.Default: 5 |
| Polaris parent branch name | polaris.branch.parent.name |
BRIDGE_POLARIS_BRANCH_PARENT_NAME |
polaris.branch.parent.name |
No | Parent Branch name in the Polaris server. Applicable only if PR Comments is enabled. For GitHub users only, Bridge reads parent branch name from github.branch.parent.name. All other users must specify parent branch name using this option. |
| Severities for which the PR Comments should be created. | polaris.prcomment.severities |
BRIDGE_POLARIS_PRCOMMENT_SEVERITIES |
polaris.prcomment.severities |
No | Defaults to ["high", "critical"]. |
| Enable/disable SARIF report generation | polaris.reports.sarif.create |
BRIDGE_POLARIS_REPORTS_SARIF_CREATE |
polaris.reports.sarif.create |
No | Set to "true" to generate a SARIF report. Default: false |
| File path where the SARIF file will be created. | polaris.reports.sarif.file.path |
BRIDGE_POLARIS_REPORTS_SARIF_FILE_PATH |
polaris.reports.sarif.file.path |
No | Defines where the SARIF file will be created. (A file name must be included.) Default: <BRIDGE_HOME>/Polaris SARIF Generator/report.sarif.json |
| List of severities to match. for SARIF file report | polaris.reports.sarif.severities |
BRIDGE_POLARIS_REPORTS_SARIF_SEVERITIES |
polaris.reports.sarif.severities |
No | Only issues that match one of the indicated severities will be included in the SARIF file report. (Severities are case-insensitive.) For example, No validations shall be done. If this is not configured, by default all severities are considered. |
| Indicate which assessment issues type to include in SARIF file report | polaris.reports.sarif.issue.types |
BRIDGE_POLARIS_SARIF_ISSUE_TYPES |
polaris.reports.sarif.issue.types |
No | Value of "assessment.types" resource |
| Flag to enable/disable Component-Version grouping for SCA Issues in SARIF report rules section. | polaris.reports.sarif.groupSCAIssues |
BRIDGE_POLARIS_REPORTS_SARIF_GROUPSCAISSUES |
polaris.reports.sarif.groupSCAIssues |
No | Set to "true" to enable grouping of SCA issues by component. Default: true |
| The test mode type for this scan. | polaris.assessment.mode |
BRIDGE_POLARIS_ASSESSMENT_MODE |
polaris.assessment.mode |
No | Default: CI, to scan source code at the CI platform.
Note: polaris.assessment.mode=SOURCE_UPLOAD is scheduled for deprecation. Please use polaris.test.sast.location and/or polaris.sca.test.location instead. A deprecation warning message is logged if polaris.assessment.mode=SOURCE_UPLOAD is used. |
| Configure location for where source code should be scanned for an SCA assessment type. | polaris.test.sca.location |
BRIDGE_POLARIS_TEST_SCA_LOCATION |
polaris.test.sca.location |
No. Required for Source Code Upload for SCA assessment type. | Valid values are Default: Setting this property to a value of |
| Configure location for where source code should be captured and built for a SAST assessment type. | polaris.test.sast.location |
BRIDGE_POLARIS_TEST_SAST_LOCATION |
polaris.test.sast.location |
No. Required for Source Code Upload for SAST assessment type. | Valid values are Default: Setting this property to a value of Setting this property to a value of
local would result in Bridge downloading the tools to run capture and analysis locally and upload the results to the cloud.Note: When SAST Fix PRs are enabled, valid values are
hybrid or remote. If local is specified, SAST Fix PRs will be skipped and a warning will be logged. |
The project source directory. |
project.directory |
BRIDGE_PROJECT_DIRECTORY |
project.directory |
No | String that specifies the project directory to upload. The project.directory should be a valid file path for the file system you are in. If it is empty, Bridge will use the current working directory (pwd). Note:
|
The zipped source file path. |
project.source.archive |
BRIDGE_PROJECT_SOURCE_ARCHIVE |
project.source.archive |
No | The file must be a zip format file. If it is not empty, Bridge will not create a zip archive from project directory If user sets the If user does not set |
| A list of git ignore pattern strings that indicate the files need to be excluded from the zip file. | project.source.excludes |
BRIDGE_PROJECT_SOURCE_EXCLUDES |
project.source.excludes |
No | Example:[BRDIGE_HOME, “.git“] Default:[““, …] Logs an info message if Bridge is using the default. The value specified for resource project.source.excludes should be gitignore pattern, not file paths. See gitignore documentation: https://git-scm.com/docs/gitignore |
| Project Symlinks | project.source.preserveSymlinks |
BRIDGE_PROJECT_SOURCE_PRESERVESYMLINKS |
project.source.preserveSymlinks |
No | Default:false. Bridge will save the copy of the target file to the zip archive. If the symlink is a directory, Bridge will copy the files in the target directory recursively to the zip archive. When Note: If
project.source.preserveSymlinksis set as true and there are symlinks to locations outside of the project (or absolute path links) this will cause issues when uploading to Polaris since the analysis environment won’t have those files or directories needed to satisfy the symlink. |
| SCA Test Type | polaris.test.sca.type |
BRIDGE_POLARIS_TEST_SCA_TYPE |
polaris.test.sca.type |
No | Allows you to run a Package Manager scan, a Signature scan, an SCA binary scan or an SCA container scan. Only Package Manager and Signature scans can run together in the same pipeline; in that case, Bridge creates two tests in Polaris. When When polaris.test.sca.type is set to For more detailed information about SCA functionality, see Documentation for Black Duck SCA Detectors. Default: Accepted values:
Note: Pull Request Comment workflow is ignored when triggered with a Signature scan.
GitHub Issues, SARIF report and GitLab report generation are not supported for SCA Container scans. |
| SAST Test Type | polaris.test.sast.type |
BRIDGE_POLARIS_TEST_SAST_TYPE |
polaris.test.sast.type |
No | This parameter allows you to run a full SAST scan, or a rapid SAST scan. If this parameter is not set, the default value will be used. Default value: Acceptable values:
Important: A full SAST scan of the project must be completed before using |
| SCA artifact path for binary or container scans | polaris.artifactToUpload |
BRIDGE_POLARIS_ARTIFACTTOUPLOAD |
polaris.artifactToUpload |
No. Required when polaris.test.sca.type is set to SCA_BINARY or SCA_CONTAINER |
Path to the file to upload for SCA scanning. Required when Supports absolute and relative paths; relative paths are resolved against the current working directory. Directory paths are not supported. |
| SCA container resource name | polaris.container.name |
BRIDGE_POLARIS_CONTAINER_NAME |
polaris.container.name |
No. Required when polaris.test.sca.type is set to SCA_CONTAINER |
Name of the container resource to associate with the scan target. The container name will be listed in the containers section of the project in Polaris web UI and can also be used as a filter. Note:
polaris.branch.name is not validated for SCA Container scans. |
| Enable/disable waitforscan | polaris.waitforscan |
BRIDGE_POLARIS_WAIT_FOR_SCAN |
polaris.waitforscan |
No | Indicates if the workflow should wait for the analysis to complete or not. Default: Note: When run with
waitforscan set to false - Bridge would show an INFO message, will exit after queuing the tests on cloud, and not do any post analysis operations (i.e. break build, pr comments / sarif) |
input.json file that can be used with Polaris.{
"data": {
"polaris": {
"application": {
"name": "<Application Name>"
},
"project": {
"name": "<Project Name>"
},
"branch": {
"name": "<Branch Name>"
},
"assessment": {
"types": ["SCA", "SAST"]
},
"serverurl": "<Polaris URL>"
}
}
}export BRIDGE_POLARIS_ACCESSTOKEN=<POLARIS_ACCESSTOKEN>
bridge-cli --stage Polaris --input input.json
Arguments to pass for generating GitLab Reports with Polaris
| Argument | Input mode | Required | Notes | ||
|---|---|---|---|---|---|
| Command line argument | Environment variables | JSON field | |||
| Enable/disable GitLab report generation | polaris.reports.gitlab.create | BRIDGE_POLARIS_REPORTS_GITLAB_CREATE |
polaris.reports.gitlab.create | No | Set this to Note: GitLab reports can be generated for any configured branch; however, report generation is not supported in a merge request context.
Default: |
| Directory path where the GitLab report will be created | polaris.reports.gitlab.dir.path | BRIDGE_POLARIS_REPORTS_GITLAB_DIR_PATH |
polaris.reports.gitlab.dir.path | No | Directory path (excluding file name) where GitLab report is created. Note: GitLab is only able to package artifacts found in the
$CI_PROJECT_DIR directory. If BRIDGE_POLARIS_REPORTS_GITLAB_DIR_PATH is set outside $CI_PROJECT_DIR, Gitlab report will not be uploaded.Default:
|
| List assessment issues to create in GitLab reports | polaris.reports.gitlab.issue.types | BRIDGE_POLARIS_REPORTS_GITLAB_ISSUE_TYPES |
polaris.reports.gitlab.issue.types | No | Lists which assessment issue types to create in GitLab file reports. Example: |
| List severities to include in GitLab report | polaris.reports.gitlab.severities | BRIDGE_POLARIS_REPORTS_GITLAB_SEVERITIES |
polaris.reports.gitlab.severities | No | Comma-separated list of SAST/SCA issue severities to include in GitLab file report. Valid severities are Default: |
| Enable/disable grouping SCA issues by component | polaris.reports.gitlab.groupscaissues | BRIDGE_POLARIS_REPORTS_GITLAB_GROUPSCAISSUES |
polaris.reports.gitlab.groupscaissues | No | When set to true, SCA issues are grouped by component. Set this to false to list SCA issues by vulnerability. Default: |
Arguments to pass for selecting Coverity version
| Argument | Input Mode | Required | Notes | ||
|---|---|---|---|---|---|
| Command Line Argument | Environment Variables | JSON Field | |||
| Select Coverity version | coverity.version |
BRIDGE_COVERITY_VERSION |
coverity.version |
No | Use with SAST local and SAST hybrid scans (full and rapid)
Important: SAST remote scans use default version from Polaris Web UI
Default: Bridge uses the version configured on Polaris Web UI for the application, project or branch being scanned. Acceptable Values: Versions of Coverity that are supported on Polaris (including deprecated versions). Example: For further details please refer to Polaris multi version SAST tool support with Bridge |
Arguments to pass for generating GitHub Issues with Polaris
| Argument | input Mode | Required | Notes | ||
|---|---|---|---|---|---|
| Command line argument | Environment variable | JSON field | |||
| Enable/disable creation of GitHub issues | polaris.externalIssues.create |
BRIDGE_POLARIS_EXTERNALISSUES_CREATE |
polaris.externalIssues.create |
Yes |
|
| Severities for which GitHub issues are created | polaris.externalIssues.severities |
BRIDGE_POLARIS_EXTERNALISSUES_SEVERITIES |
polaris.externalIssues.severities |
No |
|
polaris.externalIssues.types |
polaris.externalIssues.types |
BRIDGE_POLARIS_EXTERNALISSUES_TYPES |
polaris.externalIssues.types |
|
|
| Group SCA issues by component-version pair | polaris.externalIssues.groupSCAIssues |
BRIDGE_POLARIS_EXTERNALISSUES_GROUPSCAISSUES |
polaris.externalIssues.groupSCAIssues |
No |
|
| Maximum number of GitHub issues to create | polaris.externalIssues.maxCount |
BRIDGE_POLARIS_EXTERNALISSUES_MAXCOUNT |
polaris.externalIssues.maxCount |
No |
|
Polaris Secure Tunnel
Polaris Secure Tunnel lets you securely connect to internal web applications and APIs for the purpose of running dynamic tests (DAST) using Polaris fAST Dynamic. Run Polaris Secure Tunnel to establish a secure TLS connection between Polaris and an internal target in a private network. Run Polaris Secure Tunnel locally, on a virtual machine, or other runner, and leave it running until your DAST testing is complete.
| Command line argument | Required | Notes |
|---|---|---|
polaris.serverUrl |
Yes | The Polaris server URL, either https://polaris.blackduck.com, https://poc.polaris.blackduck.com, https://ksa.polaris.blackduck.com or https://eu.polaris.blackduck.com. |
polaris.application.name |
Yes, if not using polaris.tunnel.name |
The name of the application that contains a DAST project to scan. The application must already exist inPolaris and have the right entitlements. |
polaris.project.name |
Yes, if not using polaris.tunnel.name |
The name of the DAST project you wish to scan. The project must already exist in Polaris, and the Entry Point URL is in a private network option must be enabled (in the project's settings). |
polaris.tunnel.name |
Yes, if not using polaris.application.name and polaris.project.name |
Name of the tunnel to fetch as defined in Polaris in . When provided, Bridge CLI fetches the tunnel configuration using the tunnel name instead of deriving it from the application/project. Can be used independently without polaris.application.name and polaris.project.name for the polaris-secure-tunnel workflow.Note: In the DAST project settings, if the Entry Point URL is in a private network option is enabled the name of the secure tunnel should be assigned.
|
polaris.application.name and polaris.project.name: bridge-cli --stage polaris-secure-tunnel polaris.application.name="My Application" polaris.project.name="Internal DAST target" polaris.serverUrl="https://polaris.blackduck.com"Here is an example command that uses polaris.tunnel.name:bridge-cli --stage polaris-secure-tunnel polaris.tunnel.name ="My-Secure-Tunnel" polaris.serverUrl="https://polaris.blackduck.com" Azure
The following table shows the Bridge CLI parameters available for Azure DevOps integration.
| Argument | Input mode | ||
|---|---|---|---|
| Command line argument | Environment variable | JSON field | |
| Azure DevOps API URL | azure.api.url |
BRIDGE_AZURE_API_URL |
azure.api.url |
| User Token | azure.user.token |
BRIDGE_AZURE_USER_TOKEN |
azure.user.token |
| Organization Name | azure.organization.name |
BRIDGE_AZURE_ORGANIZATION_NAME |
azure.organization.name |
| Project Name | azure.project.name |
BRIDGE_AZURE_PROJECT_NAME |
azure.project.name |
| Repository Name | azure.repository.name |
BRIDGE_AZURE_REPOSITORY_NAME |
azure.repository.name |
| Branch Name | azure.repository.branch.name |
BRIDGE_AZURE_REPOSITORY_BRANCH_NAME |
azure.repository.branch.name |
| Pull Request Number | azure.repository.pull.number |
BRIDGE_AZURE_REPOSITORY_PULL_NUMBER |
azure.repository.pull.number |
azure.repository.pull.number parameter is not required for Black Duck SCA Fix Pull Requests as this feature should only be run from protected branches (e.g. main, develop).Bitbucket
The table below shows the Bridge CLI parameters available for Bitbucket integration.
| Argument | Input mode | ||
|---|---|---|---|
| Command line argument | Environment variable | JSON field | |
| Bitbucket API URL | bitbucket.api.url |
BRIDGE_BITBUCKET_API_URL |
bitbucket.api.url |
| User Token | bitbucket.user.token |
BRIDGE_BITBUCKET_USER_TOKEN |
bitbucket.user.token |
| Repository Name | bitbucket.project.repository.name |
BRIDGE_BITBUCKET_REPOSITORY_NAME |
bitbucket.project.repository.name |
| Branch Name | bitbucket.project.repository.branch.name |
BRIDGE_BITBUCKET_REPOSITORY_BRANCH_NAME |
bitbucket.project.repository.branch.name |
| Bitbucket User Name | bitbucket.user.name |
BRIDGE_BITBUCKET_USER_NAME |
bitbucket.user.name |
| Bitbucket Project Key | bitbucket.project.key |
BRIDGE_BITBUCKET_PROJECT_KEY |
bitbucket.project.key |
| Pull Request Number | bitbucket.project.repository.pull.number |
BRIDGE_BITBUCKET_REPOSITORY_PULL_NUMBER |
bitbucket.project.repository.pull.number |
bitbucket.project.repository.pull.number parameter is not required for Black Duck SCA Fix Pull Requests as this feature should only be run from protected branches (e.g. main, develop).GitHub
The table below shows the Bridge CLI parameters available for GitHub integration.
| Argument | Input mode | ||
|---|---|---|---|
| Command line argument | Environment variable | JSON field | |
| GitHub Enterprise host URL (Do not use with standard GitHub.) | github.host.url |
BRIDGE_GITHUB_HOST_URL |
github.host.url |
| User Token | github.user.token |
BRIDGE_GITHUB_USER_TOKEN |
github.user.token |
| Repository Name | github.repository.name |
BRIDGE_GITHUB_REPOSITORY_NAME |
github.repository.name |
| Branch Name | github.repository.branch.name |
BRIDGE_GITHUB_REPOSITORY_BRANCH_NAME |
github.repository.branch.name |
| Repository Owner | github.repository.owner.name |
BRIDGE_GITHUB_REPOSITORY_OWNER_NAME |
github.repository.owner.name |
| Pull Request Number | github.repository.pull.number |
BRIDGE_GITHUB_REPOSITORY_PULL_NUMBER |
github.repository.pull.number |
github.repository.pull.number parameter is not required for Black Duck SCA Fix Pull Requests as this feature should only be run from protected branches (e.g. main, develop).GitLab
The table below shows the Bridge CLI parameters available for GitLab integration.
| Argument | Input mode | ||
|---|---|---|---|
| Command line argument | Environment variable | JSON field | |
| GitLab API URL | gitlab.api.url |
BRIDGE_GITLAB_API_URL |
gitlab.api.url |
| User Token | gitlab.user.token |
BRIDGE_GITLAB_USER_TOKEN |
gitlab.user.token |
| Repository Name | gitlab.repository.name |
BRIDGE_GITLAB_REPOSITORY_NAME |
gitlab.repository.name |
| Branch Name | gitlab.repository.branch.name |
BRIDGE_GITLAB_REPOSITORY_BRANCH_NAME |
gitlab.repository.branch.name |
| Merge Request Number | gitlab.repository.pull.number |
BRIDGE_GITLAB_REPOSITORY_PULL_NUMBER |
gitlab.repository.pull.number |
gitlab.repository.pull.number parameter is not required for Black Duck SCA Fix Pull Requests as this feature should only be run from protected branches (e.g. main, develop).