Skip to content

feat(publish-image)!: Finalize SBOMs with mergebom - #154

Draft
dervoeti wants to merge 2 commits into
feat/mergebom-toolfrom
feat/publish-image-mergebom
Draft

dervoeti wants to merge 2 commits into
feat/mergebom-toolfrom
feat/publish-image-mergebom

Conversation

@dervoeti

Copy link
Copy Markdown
Member

Note

Depends on #153 and the mergebom-0.1.0 release. The smoke build fails until that release exists.

publish-image now uses mergebom from tools/mergebom to turn the syft SBOM into the attested CycloneDX and SPDX SBOMs. This replaces the jq post-processing and syft convert, roughly 100 lines of shell in the action.

The mergebom version is pinned with the new mergebom-version input (default 0.1.0). install_mergebom.sh installs that release and verifies its cosign signature against the release workflow of this repository.

The SPDX SBOM is improved:

  • Third-party packages no longer have Stackable as supplier (RPMs get their vendor, everything else NOASSERTION).
  • DEPENDS_ON instead of DEPENDENCY_OF relationships.
  • The operating system is included as a package.
  • A stackable.tech document namespace.
  • Stackable as creator with an email address.
  • Every LicenseRef- is declared. The current SBOMs reference LicenseRef-Fedora-Public-Domain without declaring it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant