CycloneDX License Encoding #1770
Labels
enhancement
New feature or request
format:cyclonedx
CycloneDX related enhancement or bug
license
relating to software licensing
question
Further information is requested
What would you like to be added:
PR #1743 changes how syft processes license encoding for the cycloneDX format.
If syft finds "other licenses", licenses that are not a valid SPDX Expression or in the SPDX license list for a given package, then it generates a list of
cyclonedx.Licenses
where any single valid spdx ID is it's own license, the "other licenses" are their own license, and any complex expression lifted from the source is slotted under theName
field of an individual cyclonedx licenseIf no other licenses are found syft merges single ID and expressions into a single SPDX expression under the
expression
cyclonedx fieldThis issue is to resolve the case where multiple complex SPDX expressions are lifted from a source along with "other licenses" - given the below test case - it's unclear if we want to drop the "other license" in favor of a merge OR parse the complex expressions into individual licenses.
Why is this needed:
Better license encoding from syft sbom --> CycloneDX format
The text was updated successfully, but these errors were encountered: