Description
License array should contains (list of SPDX licenses and/or named licenses) OR (tuple of one SPDX License Expression) (see https://cyclonedx.org/docs/1.6/json/#components_items_licenses)
But Trivy may include both types.
e.g.:
{
"expression": "GPL-3.0-or-later WITH Texinfo-exception"
},
{
"license": {
"id": "GFDL-1.3-or-later"
}
},
Discussed in #9295
Description
Licensearray should contains(list of SPDX licenses and/or named licenses) OR (tuple of one SPDX License Expression)(see https://cyclonedx.org/docs/1.6/json/#components_items_licenses)But Trivy may include both types.
e.g.:
{ "expression": "GPL-3.0-or-later WITH Texinfo-exception" }, { "license": { "id": "GFDL-1.3-or-later" } },Discussed in #9295