diff --git a/tools/scan-images.sh b/tools/scan-images.sh index 3ba06541e..c2fe0a762 100755 --- a/tools/scan-images.sh +++ b/tools/scan-images.sh @@ -1,6 +1,8 @@ #!/usr/bin/env bash set -eo pipefail +set -x + # Check correct usage if [[ ! $2 ]]; then echo "Usage: scan-images.sh " @@ -47,7 +49,7 @@ for image in $images; do echo $vulnerability >> .trivyignore done if $(trivy image \ - --quiet \ + --debug \ --exit-code 1 \ --scanners vuln \ --format json \