DEBSBOM-DELTA(1)

πŸ“¦ version 0.9.0, in ubuntu stonking

✨ 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 for base_sbom. Use '-' to read from stdin 🌈
  • target_sbom β€” sbom file(s) to process for target_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 πŸ’…

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