Skip to content

Commit

Permalink
Revert "Fix trivy scan script"
Browse files Browse the repository at this point in the history
This reverts commit bd0f4fe.
  • Loading branch information
koropets committed Jul 2, 2024
1 parent 9272270 commit e598a2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/trivy_scan.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ trivy_version=$(trivy -v 2>/dev/null | head -1 | cut -d ' ' -f 2);
echo "Trivy version is ${trivy_version} and platform is ${uname}"
echo "Scanning image - '$image'"

trivy image --exit-code 10 --severity HIGH,CRITICAL --no-progress --ignore-unfixed --timeout "5m" "$image"
trivy image --clear-cache --exit-code 10 --severity HIGH,CRITICAL --no-progress --ignore-unfixed --timeout "5m" "$image"

0 comments on commit e598a2d

Please sign in to comment.