Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 504 Bytes

trivy.md

File metadata and controls

31 lines (21 loc) · 504 Bytes

trivy

See available image localy

crictl images

Just scan an image to get CVE..

trivy image nginx:1.16.1-alpine

Only see critical and high CVE:

trivy image --severity HIGH,CRITICAL ginx:1.16.1-alpine

Genarate a CycloneDX SBOM image

trivy image --format cyclonedx --output /opt/course/18/sbom2.json registry.k8s.io/kube-controller-manager:v1.31.0

Scan an existing SBOM to know vulnerabilities

trivy sbom /opt/course/18/sbom_check.json