CBOM Command Reference

The cbom command discovers cryptographic algorithms, certificates and crypto libraries in a project and produces a Cryptography Bill of Materials (CBOM) in CycloneDX format. See CBOM for what is detected and the catalog format.

Usage

vulnetix cbom [path] [flags]

Flags

FlagTypeDefaultDescription
--pathstring.Directory to scan (a positional [path] argument overrides this)
--depthint25Maximum recursion depth for file discovery
--ignorestringArray-Exclude paths matching glob pattern (repeatable)
-o, --outputstringprettyTerminal output format: pretty, json, cyclonedx-json
--output-filestring-Path to write the CBOM (default: <path>/.vulnetix/cbom.cdx.json)
--spec-versionstring1.7CycloneDX spec version: 1.6 or 1.7
--catalogstring-Catalog file to merge over (or replace) the builtin catalog
--no-builtin-catalogboolfalseDo not load the embedded catalog (use only --catalog)
--no-sourceboolfalseSkip the source-code crypto API detection pass
--no-configboolfalseSkip the config & protocol detection pass
--no-certsboolfalseSkip the certificate / key detection pass
--no-depsboolfalseSkip the crypto-library detection pass
--fail-onstringnoneExit non-zero when crypto of these PQC statuses is found (e.g. quantum-vulnerable, deprecated)
--no-uploadboolfalseDo not submit the CBOM to Vulnetix (submitted automatically when authenticated)

Output

  • pretty (default) — a human-readable summary with the PQC posture rollup and per-algorithm tables.
  • cyclonedx-json — the CycloneDX CBOM. Algorithms map to cryptographic-asset components (with cryptoProperties), certificates to cryptographic-asset (assetType: certificate) plus a related-crypto-material key, and crypto libraries to library components. PQC posture and the standards matrix ride on vulnetix:crypto/* properties. The document is schema-validated before it is written.
  • json — the raw detection result.

Examples

vulnetix cbom                                   # pretty summary; writes .vulnetix/cbom.cdx.json
vulnetix cbom ./service -o cyclonedx-json        # print CycloneDX to stdout
vulnetix cbom --no-certs --no-deps              # source + config only
vulnetix cbom --fail-on quantum-vulnerable      # gate CI on quantum-vulnerable crypto
vulnetix cbom --catalog ./extra-algos.json      # extend the builtin catalog

Privacy

The certificate pass reads only certificate/key metadata (algorithm, size, validity) — never key material. No source content is uploaded.