Configure Bridge CLI to create and manage repository issues from Black Duck® SCA scan findings. Development teams can quickly identify, track and remediate security issues directly within existing workflow tools.
Critical and High) and the maximum number of issues to create per scan.Issues can optionally be grouped by component-version pair, allowing multiple related vulnerabilities affecting the same component to be tracked in a single issue rather than creating separate issues for each vulnerability.
Prerequisites
- The following reading is recommended before starting:
- Access to a Black Duck® SCA server with permission granted to create access tokens.
- A Black Duck® SCA access token to allow integration with a Black Duck® SCA server instance.
- Admin access to a GitHub source code repository.
- To enable Bridge CLI to create external source code repository issues an access token is required. Currently, issues can be created in GitHub repositories with support for GitHub Access Tokens:
- Fine grained tokens require the
Issuespermission withread/writeaccess. - GitHub classic tokens require the
reposcope.
- Fine grained tokens require the
List of parameters required for raising external issues from Black Duck® SCA scans
| Parameter | Description | Required |
|---|---|---|
--stage |
Use to specify that Bridge CLI integrates with Black Duck® SCA. | Mandatory |
blackducksca.url |
Black Duck® SCA server URL. | Mandatory |
blackducksca.externalIssues.create |
Set to true to enable creation of external repository issues from scan findings. Default is false. |
Mandatory (set to true to enable creation of external issues ) |
blackducksca.externalIssues.severities |
List of severities for which repository issues should be created. Default: ["Critical", "High"]. |
Optional |
blackducksca.externalIssues.groupSCAIssues |
Set to true to group SCA issues by vulnerabilities of a component-version pair when creating repository issues. Set to false to create separate issues for each vulnerability. Default: true. |
Optional |
blackducksca.externalIssues.maxCount |
Maximum number of repository issues to create per scan. Default: 10. |
Optional |
project.directory |
If Use this parameter to specify the absolute path to the source code directory when the source is not available in the current working directory. |
Optional |
List of secrets required for raising external issues from Black Duck® SCA scans
| Parameter | Description |
|---|---|
BRIDGE_BLACKDUCKSCA_TOKEN |
Black Duck® SCA access token to enable Bridge CLI to integrate with a Black Duck® SCA server. |
BRIDGE_GITHUB_USER_TOKEN |
Repository access token to allow Bridge CLI to create external repository issues. |