This quickstart explains how to set up the Black Duck Security Scan Action to integrate with a SRM project to run a full scan, triggered by push and merge events on specified branches.
After the scan completes diagnostic logs will be exported as GitHub build artifacts.
Note: Scanning Pull Requests, injecting Pull Request review comments and creating SARIF reports is not currently supported for workflows that integrate the Black Duck Security Scan Action with Software Risk Manager.
Prerequisites
- The following reading is recommended:
- Access to a GitHub repository with admin access.
- Access to a Software Risk Manager (SRM) server instance is required.
- If a Project is not specified, Bridge will try to create one before triggering a scan.
- Software Risk Manager uses Coverity to perform SAST assessments. Coverity requires additional configuration for compiled languages. For languages that use a build system (such as C++, Java, etc.), Coverity must be configured with build and clean commands to capture and analyze the build.
- The instructions below use pipeline parameters to specify build and clean commands.
- See Using Bridge with compiled languages for an explanation of the various methods available for configuring Bridge to integrate with Coverity to capture and analyze the build for compiled languages.