Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
deprecated-image-check: support SPDX SBOMs
Support extracting the base/builder images from both CycloneDX SBOMs and SPDX SBOMs. In an SPDX SBOM, the base/builder images are identified via JSON-encoded annotations. Example: { "SPDXID": "SPDXRef-image-... "name": "registry.access.redhat.com/ubi9/ubi-micro", "downloadLocation": "NOASSERTION", "externalRefs": [ { "referenceCategory": "PACKAGE-MANAGER", "referenceType": "purl", "referenceLocator": "pkg:oci/ubi-micro@sha256:...?repository_url=..." } ], "annotations": [ { "annotator": "Tool: konflux:jsonencoded", "comment": "{\"name\":\"konflux:container:is_base_image\",\"value\":\"true\"}", "annotationDate": "2025-01-13T12:15:31Z", "annotationType": "OTHER" } ] } Signed-off-by: Adam Cmiel <[email protected]>
- Loading branch information