[BUG] SBOM generation for SPDX generates invalid format for licenses - Invalid type. Expected: string, given: object
#6966
Labels
Invalid type. Expected: string, given: object
#6966
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
The generated SPDX SBOM cannot be parsed by tools, as it generates incorrectly structured JSON.
Expected Behavior
An SPDX v2.3 SBOM generated from a repository can be parsed correctly.
Steps To Reproduce
npm sbom --sbom-format spdx > spdx.json
go run github.com/CycloneDX/sbom-utility@latest validate --input-file spdx.json
renovate-graph.spdx.json
Environment
The text was updated successfully, but these errors were encountered: