fix(CycloneDX): parse framework
type as library
#7432
Labels
kind/bug
Categorizes issue or PR as related to a bug.
framework
type as library
#7432
Description
Trivy currently parses only
library
components ofCycloneDX
(see https://cyclonedx.org/docs/1.6/json/#components_items_type).But there are not many differences between a
library
and aframework
and sometimes it is difficult to choose the right type.Even CycloneDX docs say: If the library also has key features of a framework, then it should be classified as a framework. If not, or is unknown, then specifying library is RECOMMENDED.
So we should parse and scan
framework
components as libraries.Discussed in #7418
The text was updated successfully, but these errors were encountered: