From 812e8bca2dfd5a5c6444a1b62f124f2c812f07a2 Mon Sep 17 00:00:00 2001 From: Chris Werner Rau Date: Tue, 26 Nov 2024 09:59:42 +0100 Subject: [PATCH] fix(ci): don't ignore images --- .github/scripts/scan-for-licenses.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/scripts/scan-for-licenses.sh b/.github/scripts/scan-for-licenses.sh index 487889db8..d6d29314f 100755 --- a/.github/scripts/scan-for-licenses.sh +++ b/.github/scripts/scan-for-licenses.sh @@ -67,7 +67,6 @@ function scanLicenses() { local unacceptedLicenses=() local unacceptedLicense licenseMap="$(yq -r '.annotations["artifacthub.io/images"]' "$chart/Chart.yaml" | yq -r '.[] | .image' | - sed -e '/aquasecurity\/trivy-operator/d' -e '/teuto-portal-k8s-worker/d' | parallel -k trivy image {} --severity HIGH,CRITICAL,MEDIUM -f json --scanners license --license-full --quiet | jq -s -r "$licenseConversionJq")" mapfile -t unacceptedLicenses < <(jq <<<"$licenseMap" -r --argjson acceptedLicenses "[\"$(echo -n "${WHITELIST[@]}" | tr " " \\n |