UseDocumentation 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.
provenance scan to bulk-query all packages in an SBOM file or a container image. All packages are queried concurrently — a progress bar is shown in interactive terminals when using the default human output format.
All
scan subcommands accept the global flags --format (human, json, sarif), --quiet, --no-color, --ascii, and -v/-vv. See Output formats for details.The CLI queries packages concurrently (up to 20 in-flight requests). The global
--concurrency flag and the concurrency config file key control the underlying HTTP-level throttle (default: 10). For large SBOMs, tune these values to avoid rate limiting.scan sbom
Parse an SBOM file and query every package against the API concurrently. Format is auto-detected from file content — you do not need to specify it. SynopsisSupported formats
| Format | Extensions | Detection |
|---|---|---|
| CycloneDX JSON | .cdx.json, .json | bomFormat field |
| CycloneDX XML | .cdx.xml, .xml | <bom> root element |
| SPDX JSON | .spdx.json, .json | spdxVersion field |
| SPDX tag-value | .spdx, .spdx.tv | SPDXVersion: line |
| CSV | .csv | Header row with purl or type,namespace,name,version |
Flags
Read the SBOM from standard input instead of a file. Useful for piping output from other tools such as
syft directly into the scanner without writing an intermediate file.Also fetch repository health metrics for every unique source repository found across all scanned packages. Health results are shown in verbose mode (
-v).Path to a policy YAML file to evaluate all scanned packages against. Can be specified multiple times to apply several policies in a single scan.
Path to a directory of policy YAML files (
.yaml or .yml). All policy files in the directory are loaded and evaluated together.Per-request timeout in seconds. Overrides the global
--timeout value for this scan only.Examples
Inline policy enforcement
Apply policy rules during a scan to gate on violations without running a separateprovenance check step.
provenance check. See Exit codes.
scan oci
Extract an SBOM from an OCI container image and scan all packages concurrently. The CLI triescosign first to retrieve an attached SBOM; if that fails or cosign is unavailable, it falls back to generating one with syft.
Synopsis
Flags
Skip cosign signature verification when downloading the attached SBOM. Use this for unsigned images where you still want to attempt a cosign SBOM download.
Per-request timeout in seconds for API calls made during the scan.