DEBSBOM-DELTA(1)
β¨ DEBSBOM-DELTA(1) β¨
okay bestie, welcome to debsbom-delta, aka the delta command from the debsbom manual (that's the manual name, cute right? π). It's giving "diff but for SBOMs" and honestly? obsessed. Let's get into it π¦
πΈ NAME πΈ
debsbom-delta β the debsbom delta command π
π SYNOPSIS π
debsbom delta [-h] [-o OUT] [--distro-name DISTRO_NAME]
[--distro-supplier DISTRO_SUPPLIER]
[--distro-version DISTRO_VERSION]
[--distro-summary DISTRO_SUMMARY]
[--base-distro-vendor {debian,ubuntu}]
[--cdx-standard {default,standard-bom}]
[--spdx-namespace SPDX_NAMESPACE]
[--cdx-serialnumber CDX_SERIALNUMBER] [--timestamp TIMESTAMP]
[--add-meta-data key=value] [--validate] [-t {cdx,spdx}]
base_sbom target_sbom
copy it. paste it. no cap πβ¨
π«Ά DESCRIPTION π«Ά
List components changed in target sbom. fr fr, that's the whole vibe.
So like β it computes the delta between base and target SBOMs, and produces a new SBOM containing only additional components from the target. π
The delta command compares two SBOMs and produces a new SBOM containing only the components that are present in the target SBOM but not in the base (reference) SBOM. literally that's it. π
The most common use-case is identifying new or added components between two builds, images, or distribution states (for example, comparing a previous release SBOM against a newer one), including filtering out already license-cleared components to generate an SBOM containing only components pending license clearance. iykyk β this is the license-clearance pipeline's main character moment π
π§ The comparison is directional, bestie
- Base SBOM β treated as the reference π«‘
- Target SBOM β treated as the new or updated SBOM β¨
Given the following structure:
Base SBOM
base-root
|- binary-dep1
| |- source-dep1
|- binary-dep2
Target SBOM
target-root
|- binary-dep1
| |- source-dep1
|- binary-dep2
|- binary-dep3
| |- source-dep3
Running delta would produce:
delta-doc-root
|- binary-dep3
| |- source-dep3
not me crying over binary-dep3 being the only new one π it's giving "just arrived, fresh out the box" π
Components are considered the same if they share the same PURL (Package URL). Only components that are new in the target SBOM, along with their nested dependencies, are included in the resulting SBOM. so if the PURL matches, it's the same component, periodt. π
π OPTIONS π
π Positional Arguments
base_sbomβ sbom file(s) to process forbase_sbom. Use'-'to read from stdin πtarget_sbomβ sbom file(s) to process fortarget_sbom. Use'-'to read from stdin π
π¦ Named Arguments
-o='extras',--out='extras'β filename for output (default:'extras'). Use'-'to write to stdout π--distro-name='Debian'β distro name (default:'Debian') π--distro-supplierβ supplier for the root component π«Ά--distro-versionβ version for the root component π₯--distro-summaryβ short description of distro component (single line) π--base-distro-vendor='debian'β vendor of debian distribution (debian or ubuntu) π§
Possible choices: debian, ubuntu
--cdx-standard='default'β generate SBOM according to this spec (only for CDX) π¦
Possible choices: default, standard-bom
--spdx-namespaceβ document namespace, must be a valid URI (only for SPDX) π--cdx-serialnumberβ document serial number, must be a UUID in 8-4-4-4-12 format (only for CDX) π’--timestampβ document timestamp in ISO 8601 format β°--add-meta-dataβ add arbitrary metadata properties to the SBOM π§--validate=Falseβ validate generated SBOM (only for SPDX) β
bestie note: the default shown here is False. don't come for me, that's literally what the page says π
-t,--sbom-typeβ SBOM type to process (default: auto-detect), required when reading from stdin β οΈ
Possible choices: cdx, spdx
π SEE ALSO π
go read that one next, bestie, it's a whole vibe β¨
π DEBSBOM π
Part of the debsbom(1) suite. π«Ά one big happy family, no cap.
πΈ Author πΈ
Christoph Steiger, Felix Moessbauer β icons, both of them π
π Copyright π
2025, Siemens
okay that's the whole page, you ate it π½οΈβ¨
debsbom β’ dated Jul 28, 2026 β’ mwah, take care of her ππ¦π
π¦ where this page comes from
- ubuntu stonking: debsbom 0.9.0-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms