DEBSBOM-GENERATE(1)

πŸ“¦ version 0.9.0, in ubuntu stonking

πŸ’– NAME πŸ’–

okay so bestie, this is the manual for debsbom-generate β€” it's literally the debsbom generate command, no cap. πŸŽ€


🌸 SYNOPSIS 🌸

debsbom generate [-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}]
                 [-r ROOT] [--from-pkglist] [--distro-arch DISTRO_ARCH]
                 [--with-licenses] [--recommends-deps | --no-recommends-deps]
                 [--suggests-deps | --no-suggests-deps]

✨ DESCRIPTION ✨

bestie. it generates a sbom for a debian system. that's the whole vibe. πŸ’…

and like, not a mid little sbom either. this command creates comprehensive SBOMs that include all installed software packages and their dependencies. the way that it just... knows everything? iconic.

oh and the best part? 🫢 this command can be executed in an air-gapped environment. no wifi, no problem. she does not need the internet to serve. periodt.


πŸ’… OPTIONS πŸ’…

πŸŽ€ Named Arguments

  • -o='sbom', --out='sbom' β€” filename for output (default: 'sbom'). pass - and she writes to stdout instead, slay ✨
  • --distro-name='Debian' β€” distro name (default: 'Debian')
  • --distro-supplier β€” the supplier for the root component 🧚
  • --distro-version β€” version for the root component
  • --distro-summary β€” short description of distro component β€” single line only bestie, don't be writing a whole essay in there
  • --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)
  • -t, --sbom-type β€” SBOM type to generate, can be passed multiple times (default: all)

Possible choices: cdx, spdx

  • -r='/', --root='/' β€” root directory to look for dpkg status file and apt cache
  • --from-pkglist=False β€” create SBOM from a package list passed via stdin πŸ“₯
  • --distro-arch='auto' β€” native dpkg architecture of the distro ('auto')
  • --with-licenses=False β€” parse and include license information
  • --recommends-deps=True, --no-recommends-deps=True β€” track recommended package dependencies (default: True)
  • --suggests-deps=False, --no-suggests-deps=False β€” track suggested package dependencies (default: False)

πŸ¦‹ SEE ALSO πŸ¦‹


πŸ‘‘ DEBSBOM πŸ‘‘

it's part of the debsbom(1) suite. one big happy family fr fr 🌈

✍️ Author

Christoph Steiger, Felix Moessbauer β€” absolute icons, we love them, they ate πŸ‘‘

2025, Siemens


and that's the whole page bestie!! this one came straight out of the debsbom manual, dated Jul 28, 2026 β€” go forth and generate your SBOMs, you've got this πŸ«ΆπŸ’–βœ¨

πŸ“¦ where this page comes from