Message ID | 20240812070303.1206167-2-Sai.Sathujoda@toshiba-tsip.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | Updates to sync with latest debian-cve-checker | expand |
diff --git a/scripts/run-cve-checks.sh b/scripts/run-cve-checks.sh index 9cebc90..12fd74e 100755 --- a/scripts/run-cve-checks.sh +++ b/scripts/run-cve-checks.sh @@ -32,7 +32,8 @@ aws s3 cp --no-progress --recursive s3://download.cip-project.org/cip-core/cve-c mkdir cve-reports for file in *.dpkg_status; do echo "Checking $file" - cve_checker.py --status "$file" --output ./cve-reports/"${file%.dpkg_status}".csv + suite=$(echo "${file%.dpkg_status}" | awk -F- '{print $NF}') + cve_checker.py --suite "$suite" --status "$file" --output ./cve-reports/"${file%.dpkg_status}".csv done # Synchronize the CVE reports to AWS (it will delete old reports)