nginx
herunterladensudo apt-get install -y wget apt-transport-https gnupg lsb-release
wget -qO - https://aquasecurity.github.io/trivy-repo/deb/public.key | sudo apt-key add -
echo deb https://aquasecurity.github.io/trivy-repo/deb $(lsb_release -sc) main | sudo tee /etc/apt/sources.list.d/trivy.list
sudo apt-get update
sudo apt-get install trivy
https://github.com/aquasecurity/trivy/releases
docker pull nginx
trivy image nginx
Du bekommst eine Liste von gefundenen Schwachstellen mit Details zu Schweregrad, CVE-ID, Beschreibung.
trivy image --severity HIGH,CRITICAL nginx
trivy image --format json nginx