vulkro match-cve
Checks an SBOM (CycloneDX 1.5 / 1.6 or SPDX 2.3 JSON) against the local CVE bundle.
vulkro sbom . --format cyclonedx > sbom.json # once
vulkro update # refresh the bundle
vulkro match-cve --sbom sbom.json --format table
It reads only the SBOM and ~/.vulkro/data/cves/. Nothing leaves the machine.
Flags
| Flag | Description |
|---|---|
--sbom <FILE> | The SBOM JSON file. Required. |
--format <FORMAT> | json (default) or table. |
Exit codes
0 no findings. 1 findings. 2 IO error.
See also: vulkro sbom, vulkro update, Dependencies and CVEs.
Command reference
Generated from vulkro match-cve --help (vulkro 0.41.0). Run scripts/gen-docs.sh in the product repository to refresh it; do not edit this section by hand.
Check a package list (SBOM) against the local vulnerability data.
vulkro match-cve [OPTIONS] --sbom <FILE>
Options
| Flag | Description |
|---|---|
--offline | Hard-disable every outbound network call for this run (sets VULKRO_OFFLINE=1). Blocks the CVE feed, the license heartbeat, the update check, webhooks, and any cloud AI endpoint; a loopback model (http://127.0.0.1, http://localhost) is still allowed. Equivalent to exporting VULKRO_OFFLINE=1, and the flag wins when both are set. |
--sbom <FILE> | Path to the SBOM JSON file (CycloneDX 1.5 / 1.6 or SPDX 2.3) |
-f, --format <FORMAT> | Output format. json (default) or table for human reading. Default: json. |
-q, --quiet | Print only warnings and errors on stderr: no progress, tips or next-step hints. Results on stdout and exit codes are unchanged. |
--no-color | Turn off coloured output. Colour is also off when NO_COLOR is set to a non-empty value or TERM=dumb. |
-h, --help | Print help (see a summary with '-h') |
Full vulkro match-cve --help
Check a package list (SBOM) against the local vulnerability data.
Match a Software Bill of Materials against the local CVE bundle and emit findings. Companion to `vulkro sbom`: produce the SBOM once, then run CVE matching on it whenever the bundle updates. Accepts CycloneDX 1.5 / 1.6 or SPDX 2.3 JSON input.
Offline-safe: the match reads only the SBOM file and the local CVE bundle at `~/.vulkro/data/cves/`. Your SBOM, its component list, and the resulting findings never leave the machine. Like every scanning subcommand this one passes the license gate, which can fire the anonymous usage heartbeat (at most once every 6 hours, on a background thread); `VULKRO_OFFLINE=1` silences it.
Exit code: 0 success no findings, 1 findings emitted, 2 IO error.
Usage: vulkro match-cve [OPTIONS] --sbom <FILE>
Options:
--offline
Hard-disable every outbound network call for this run (sets VULKRO_OFFLINE=1). Blocks the CVE feed, the license heartbeat, the update check, webhooks, and any cloud AI endpoint; a loopback model (http://127.0.0.1, http://localhost) is still allowed. Equivalent to exporting VULKRO_OFFLINE=1, and the flag wins when both are set
--sbom <FILE>
Path to the SBOM JSON file (CycloneDX 1.5 / 1.6 or SPDX 2.3)
-f, --format <FORMAT>
Output format. `json` (default) or `table` for human reading
Possible values:
- json: Pretty-printed JSON: an array of finding records
- table: Human-readable table on stdout
[default: json]
-q, --quiet
Print only warnings and errors on stderr: no progress, tips or next-step hints. Results on stdout and exit codes are unchanged
--no-color
Turn off coloured output. Colour is also off when NO_COLOR is set to a non-empty value or TERM=dumb
-h, --help
Print help (see a summary with '-h')