fix: explicitly scan all severities in cve-edge-post trivy scan
This commit is contained in:
@@ -117,6 +117,7 @@ jobs:
|
|||||||
safe=$(printf "%s" "$img" | tr "/:@" "___")
|
safe=$(printf "%s" "$img" | tr "/:@" "___")
|
||||||
echo ">> 스캔: $img"
|
echo ">> 스캔: $img"
|
||||||
trivy image --quiet --cache-backend memory --skip-db-update \
|
trivy image --quiet --cache-backend memory --skip-db-update \
|
||||||
|
--severity LOW,MEDIUM,HIGH,CRITICAL \
|
||||||
--format json --timeout 15m --output "$reports/$safe.json" "$img" \
|
--format json --timeout 15m --output "$reports/$safe.json" "$img" \
|
||||||
|| echo "::warning::스캔 실패: $img"
|
|| echo "::warning::스캔 실패: $img"
|
||||||
' _ {} "$REPORTS_DIR" < "$OUT_DIR/images_scan.txt"
|
' _ {} "$REPORTS_DIR" < "$OUT_DIR/images_scan.txt"
|
||||||
|
|||||||
Reference in New Issue
Block a user