diff --git a/cve_scan/action.yml b/cve_scan/action.yml index 934f0b7..517b2ec 100644 --- a/cve_scan/action.yml +++ b/cve_scan/action.yml @@ -300,28 +300,28 @@ runs: # CVE Scan trivy_scan "table" "--scanners vuln" "" "${module_image}:${module_tag}" # License scan - trivy_scan "table" "--scanners license --license-full" "" "${module_image}:${module_tag}" + # trivy_scan "table" "--scanners license --license-full" "" "${module_image}:${module_tag}" fi # CVE Scan trivy_scan "json" "--scanners vuln" "--output ${module_reports}/ext_${MODULE_NAME}_${IMAGE_NAME}_report.json" "${module_image}:${module_tag}" # License scan - trivy_scan "json" "--scanners license --license-full" "--output ${module_reports}/ext_${MODULE_NAME}_${IMAGE_NAME}_report_license.json" "${module_image}:${module_tag}" + # trivy_scan "json" "--scanners license --license-full" "--output ${module_reports}/ext_${MODULE_NAME}_${IMAGE_NAME}_report_license.json" "${module_image}:${module_tag}" else if [ "${TRIVY_REPORTS_LOG_OUTPUT}" != "false" ]; then # CVE Scan trivy_scan "table" "--scanners vuln" "" "${module_image}@${IMAGE_HASH}" # License scan - trivy_scan "table" "--scanners license --license-full" "" "${module_image}@${IMAGE_HASH}" + # trivy_scan "table" "--scanners license --license-full" "" "${module_image}@${IMAGE_HASH}" fi # CVE Scan trivy_scan "json" "--scanners vuln" "--output ${module_reports}/ext_${MODULE_NAME}_${IMAGE_NAME}_report.json" "${module_image}@${IMAGE_HASH}" # License scan - trivy_scan "json" "--scanners license --license-full" "--output ${module_reports}/ext_${MODULE_NAME}_${IMAGE_NAME}_report_license.json" "${module_image}@${IMAGE_HASH}" + # trivy_scan "json" "--scanners license --license-full" "--output ${module_reports}/ext_${MODULE_NAME}_${IMAGE_NAME}_report_license.json" "${module_image}@${IMAGE_HASH}" fi echo " Done" send_report "CVE" "${module_reports}/ext_${MODULE_NAME}_${IMAGE_NAME}_report.json" "${MODULE_NAME}" "${IMAGE_NAME}" - send_report "License" "${module_reports}/ext_${MODULE_NAME}_${IMAGE_NAME}_report_license.json" "${MODULE_NAME}" "${IMAGE_NAME}" + # send_report "License" "${module_reports}/ext_${MODULE_NAME}_${IMAGE_NAME}_report_license.json" "${MODULE_NAME}" "${IMAGE_NAME}" done < <(jq -rc 'to_entries[]' <<< "${digests}") done rm -r ${workdir}