Replies: 2 comments
-
@nscuro Is it a breaking change in CycloneDX 1.5? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hello @LesSyner We fixed this problem in #4941. Regards, Dmitriy |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
Currently trivy produces cyclonedx based on 1.5 schema but for multiple licenses case with invalid array of expression objects (which was valid for 1.4 schema).
According to 1.5 cyclonedx json schema for licenses object it has to be EITHER (list of SPDX licenses and/or named licenses) OR (tuple of one SPDX License Expression) with additional clarification for SPDX Expression option that it has to be a tuple of exactly one SPDX License Expression.
Desired Behavior
licenses object with multiple licenses aligned with cyclonedx 1.5 json schema.
Actual Behavior
Invalid licenses object for multiple licenses for cyclonedx 1.5 SBOM output
Reproduction Steps
Target
Container Image
Scanner
License
Output Format
CycloneDX
Mode
Standalone
Debug Output
Operating System
macOS Ventura 13.5
Version
Checklist
trivy image --reset
Beta Was this translation helpful? Give feedback.
All reactions