Provenance CLI queries the NetRise Provenance API to surface risk in your software dependencies — who wrote it, where it comes from, whether it has been compromised, and whether it meets your compliance policies. It works with individual packages, SBOMs, and OCI container images, and integrates into CI/CD pipelines via YAML-based policy enforcement with semantic exit codes.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.
Quick start
Get up and running in under 5 minutes — authenticate and run your first scan.
Installation
Install from pre-built binaries or build from source on Linux and macOS.
Command reference
Detailed documentation for every command, subcommand, and flag.
Policy engine
Write YAML policies to gate CI/CD on contributor risk, advisories, and repo health.
What provenance does
Query packages & repos
Look up any package by PURL to get provenance data, contributor security posture, repository health metrics, and advisory exposure.
Scan SBOMs
Parse CycloneDX JSON/XML, SPDX JSON/tag-value, or CSV SBOMs and query every package concurrently against the API.
Scan OCI containers
Extract an SBOM from any OCI container image using cosign or syft and analyze all packages in one pass.
Enforce policies in CI/CD
Define rules in YAML and get CI/CD-native exit codes — deny violations block pipelines automatically.
Get started
Install the CLI
Download a pre-built binary for your platform or install from source with Cargo.See Installation for all platforms and options.
Set your API token
Export your Provenance API token as an environment variable.See Authentication for other configuration methods.
Key capabilities
| Capability | Description |
|---|---|
| Package provenance | Contributor countries, emails, signing keys, breach status |
| Repository health | Bus factor, scorecard score, commit recency, archived status |
| Advisory exposure | Direct and indirect advisory relationships via NETR/CVE IDs |
| Geo-compliance | OFAC-sanctioned country contributor detection |
| SBOM formats | CycloneDX JSON/XML, SPDX JSON/tag-value, CSV |
| Output formats | Human tables, JSON, SARIF v2.1.0 for GitHub Code Scanning |
| GitHub Action | Drop-in action with SARIF upload support |