Skip to content

SPDX 2.2 conformance (invalid licenseListVersion produced) #9606

@kikofernandez

Description

@kikofernandez

Describe the bug

After generating a SPDX SBOM in an unmanaged project, the licenseListVersion is set to "3.25.0", but SPDX 2.2 only allows two digits, e.g., "3.25"

To Reproduce

Run in an unmanaged project

  1. Generate an analysis
  2. Then do a scan
  3. Finally create a report
    ./gradlew cli:run --args="report -i scan-result.json -o . -f SpdxDocument"
    
  4. See error

The generated SPDX has a licenseListVersion with 3 numeric versions

Expected behavior

I expected the licenseListVersion to conform to the SPDX 2.2 standard.

Additional context

This happens in Unmanaged projects, as far as I know.

Metadata

Metadata

Assignees

Labels

spdxIssues related to SPDX interoperability

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions