You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In chainguard-dev/melange#1474, we updated melange to include SPDX packages in APK SBOMs to represent upstream sources (such as what's found in git-checkout and fetch pipeline steps).
And in #1366, we fixed up some of the apko SBOM logic to account for melange's SBOM enhancements in the image SBOMs.
However, now we're seeing instances of upstream source packages missing from the image SBOM. For example, the Chainguard Image cgr.dev/chainguard/jdk uses the Wolfi package ca-certificates-bundle, which exposes its upstream source in its package SBOM (see SPDX package with ID SPDXRef-Package-gitlab.alpinelinux.org-alpine-ca-certificates...). But that SPDX package is not found in the jdk image's SBOM.
Even stranger, it looks like sometimes this problem doesn't happen. The image cgr.dev/chainguard/go similarly uses ca-certificates-bundle, and its image SBOM does have the upstream source package intact.
We need to ensure that apko is consistently including all relevant information from the SBOMs of the packages that comprise the image into the image's SBOM.
In chainguard-dev/melange#1474, we updated melange to include SPDX packages in APK SBOMs to represent upstream sources (such as what's found in
git-checkout
andfetch
pipeline steps).And in #1366, we fixed up some of the apko SBOM logic to account for melange's SBOM enhancements in the image SBOMs.
However, now we're seeing instances of upstream source packages missing from the image SBOM. For example, the Chainguard Image
cgr.dev/chainguard/jdk
uses the Wolfi packageca-certificates-bundle
, which exposes its upstream source in its package SBOM (see SPDX package with IDSPDXRef-Package-gitlab.alpinelinux.org-alpine-ca-certificates...
). But that SPDX package is not found in the jdk image's SBOM.Even stranger, it looks like sometimes this problem doesn't happen. The image
cgr.dev/chainguard/go
similarly usesca-certificates-bundle
, and its image SBOM does have the upstream source package intact.We need to ensure that apko is consistently including all relevant information from the SBOMs of the packages that comprise the image into the image's SBOM.
cc: @dustinkirkland
The text was updated successfully, but these errors were encountered: