Skip to content

Fix SBOM to be valid SPDX 2.3 and add validation test - #158

Open
roshkhatri wants to merge 1 commit into
valkey-io:mainlinefrom
roshkhatri:fix-sbom-spdx-114
Open

Fix SBOM to be valid SPDX 2.3 and add validation test#158
roshkhatri wants to merge 1 commit into
valkey-io:mainlinefrom
roshkhatri:fix-sbom-spdx-114

Conversation

@roshkhatri

Copy link
Copy Markdown
Member

Fixes #114

The SBOM at /usr/local/valkey.spdx.json was missing fields that SPDX 2.3 marks mandatory, so strict scanners like Nexus IQ reject it with "SPDX content cannot be parsed".

Changes:

  • Add the missing mandatory fields (dataLicense, documentNamespace, creationInfo, package downloadLocation, filesAnalyzed: false). Build time is stamped into created and the namespace for a unique per-build document ID.
  • Move SBOM generation into a tracked valkey-sbom.jq (the old document came from bashbrew's auto-downloaded, gitignored stock helper).
  • Add a valkey-sbom test validating the shipped SBOM with the spdx-tools validator.

Signed-off-by: Roshan Khatri <rvkhatri@amazon.com>
@roshkhatri roshkhatri self-assigned this Jul 25, 2026
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.

BOM SPDX parsing error when scanning image

1 participant