DevSecOps

Trivy Vulnerability Scanner (for installation use SNAPD)- installed on Debian 13

# Make sure you have docker installed.
# sudo apt install snapd
# sudo snap install snapd
# sudo snap install trivy
# snap list (list of installed snaps)

Commands:
# snap run trivy image imagename

# snap run trivy fs --security-checks vuln,config   Folder_name_OR_Path

# snap run trivy image --severity HIGH,CRITICAL image_name

# snap run trivy image -f json -o results.json image_name

# snap run trivy repo repo-url

# snap run trivy k8s --report summary cluster
Scroll to Top