cernlydocs

cernly sbom

TL;DR A CycloneDX 1.6 bill of materials from a facts file: per service, its dependencies, the transitive ones from lockfiles, and its images. Deterministic.

cernly sbom [flags] <facts.json>
Flag Meaning
--default-branch Branch whose deploys count as production. Default main.
--service One service's key, for example service:compose:default:api. Default: the whole repo.
--stack The services of one stack, for example stack:compose:prod.
--out Output file; - (default) is stdout.

What it lists

What it does not

The serial number comes from the facts file's hash and the timestamp from the commit, so the same scan gives the same file.

How it works: dependencies and SBOM.