bug(k8s): Trivy doesn't detect amazon linux
from KBOM
#8246
Labels
bug
scan/sbom
Issues relating to SBOM
target/kubernetes
Issues relating to kubernetes cluster scanning
Trivy doesn't detect correctly
amazon linux
from a generated KBOM. SBOM scan shows next warning:2024-12-18T18:51:48Z WARN Unsupported os family="amazon linux"
it happens because
ftypes.Amazon
isamazon
instead ofamazon linux
, and there is no a scanner for the last one:trivy/pkg/fanal/types/const.go
Line 26 in 011012a
trivy/pkg/detector/ospkg/detect.go
Line 35 in 011012a
Discussed in #8129 (comment)
The text was updated successfully, but these errors were encountered: