Provenance can output results in SARIF v2.1.0 format, which integrates directly with GitHub Code Scanning to display supply chain findings in the Security tab.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/NetRiseInc/provenance-cli/llms.txt
Use this file to discover all available pages before exploring further.
Using the GitHub Action
The easiest way to upload SARIF results is via the first-party action:.github/workflows/supply-chain.yml
continue-on-error: true is required on the provenance step so that the upload step runs even when violations are found (exit code 1 or 2).Using the CLI directly
Generate SARIF output by passing--format sarif and redirect to a file:
.github/workflows/supply-chain.yml
What appears in Code Scanning
Each policydeny or review finding appears as an alert in the GitHub Security tab with:
- Rule ID — the policy rule name (e.g.,
deny-north-korea-contributors) - Message — the rule’s message field from your policy YAML
- Severity — mapped from action:
deny→ error,review→ warning,warn→ note - Location — the SBOM file or package PURL that triggered the finding
Generating SARIF locally
You can also generate and inspect SARIF output locally before uploading:GitHub Actions
Full GitHub Actions integration guide.
Exit codes
Understand exit codes for CI/CD gating.