Generating a Polaris SAST Report
Introduction
Pre-Requisites
Step 1 — Download the Bridge CLI
Linux example
wget https://repo.blackduck.com/bds-integrations-release/com/blackduck/integration/bridge/binaries/bridge-cli-bundle/latest/bridge-cli-bundle-linux64.zip
unzip bridge-cli-bundle-linux64.zipecho 'export PATH="$HOME/bridge-cli-bundle-linux64:$PATH"' >> ~/.bashrc
source ~/.bashrc
# Verify the installation
bridge-cliStep 2 — Set your Polaris Access Token
Step 3 — Run the Scan
Example: Project with no compilation required (e.g. JavaScript/TypeScript)
Example: Java project requiring compilation with Maven
Example: Java project requiring compilation with Gradle
Step 4 — Locate the SARIF Report
Last updated