Use Bridge CLI to upload a binary or archive for SCA in Polaris without requiring access to source code or a build environment.
Bridge CLI supports SCA binary scanning with Polaris, enabling detection of open source and license risk even when source code is not available.
With tenant‑level binary entitlements, SCA binary scans can run as part of Polaris project scans to produce more complete SBOMs, with results uploaded to Polaris
This guide explains how to configure and run an SCA binary scan on Polaris using Bridge CLI.
Limitations
Review the following limitations before running an SCA binary scan.
| Limitation | Description |
|---|---|
| Standalone SCA binary test type |
|
| Unsupported features |
Pull Request Comments and Fix Pull Request workflows are not supported for SCA binary scans in synchronous mode.
Note: If
polaris.prComment.enabled or polaris.fixPR.enabled is set to true, Bridge CLI logs a warning and skips the Pull Request Comment and Fix Pull Request workflow, similar to signature scans in synchronous mode. |
| Artifact format |
Use binary or archive files. Note: Directory paths are not supported.
|
| Artifact size limits |
If the artifact exceeds the maximum supported size then Bridge CLI logs the error and exits with a non-zero exit code. The maximum supported size on Polaris is:
|
Prerequisites
Make sure the following prerequisites are met before running the scan:
-
A Polaris tenant entitled for SCA binary scanning.
-
Bridge CLI installed and available on system
PATH. -
A Polaris access token with SCA permissions, exported as an environment variable.
export BRIDGE_POLARIS_ACCESSTOKEN="<POLARIS_ACCESSTOKEN>" -
A binary or zip archive artifact to scan, such as
my-binary-archive.zip.
The following configuration parameters are required.
| Parameter | Description |
|---|---|
BRIDGE_POLARIS_ACCESSTOKEN |
Environment variable containing a Polaris access token with SCA permissions. |
polaris.serverUrl |
URL of the Polaris server. |
polaris.application.name |
Name of the Polaris application. |
polaris.project.name |
Name of the Polaris project. |
polaris.branch.name |
Name of the branch associated with the scan. |
polaris.assessment.types |
Must be set to SCA. |
polaris.test.sca.type |
Must be set to SCA_BINARY and not combined with other SCA types. |
polaris.artifactToUpload |
Path to the binary or zip archive file to upload for SCA binary scanning. Supports absolute and relative paths; relative paths are resolved against the current working directory. Note: Directory paths are not supported.
|
Instructions
Follow the steps below to use Bridge to run an SCA binary scan with Polaris.
The SCA binary scan results are available in Polaris, including identified components, vulnerabilities and license information.
After the scan completes, use the results to update policies, fix issues and plan follow-up scans as needed.