Skip to content

Commit 9087002

Browse files
penul4ikMaxim Konovalenko
andauthored
remove license scan (#63)
Signed-off-by: Maxim Konovalenko <maxim.konovalenko@flant.com> Co-authored-by: Maxim Konovalenko <maxim.konovalenko@flant.com>
1 parent f5a1997 commit 9087002

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

cve_scan/action.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -300,28 +300,28 @@ runs:
300300
# CVE Scan
301301
trivy_scan "table" "--scanners vuln" "" "${module_image}:${module_tag}"
302302
# License scan
303-
trivy_scan "table" "--scanners license --license-full" "" "${module_image}:${module_tag}"
303+
# trivy_scan "table" "--scanners license --license-full" "" "${module_image}:${module_tag}"
304304
fi
305305
# CVE Scan
306306
trivy_scan "json" "--scanners vuln" "--output ${module_reports}/ext_${MODULE_NAME}_${IMAGE_NAME}_report.json" "${module_image}:${module_tag}"
307307
# License scan
308-
trivy_scan "json" "--scanners license --license-full" "--output ${module_reports}/ext_${MODULE_NAME}_${IMAGE_NAME}_report_license.json" "${module_image}:${module_tag}"
308+
# trivy_scan "json" "--scanners license --license-full" "--output ${module_reports}/ext_${MODULE_NAME}_${IMAGE_NAME}_report_license.json" "${module_image}:${module_tag}"
309309
else
310310
if [ "${TRIVY_REPORTS_LOG_OUTPUT}" != "false" ]; then
311311
# CVE Scan
312312
trivy_scan "table" "--scanners vuln" "" "${module_image}@${IMAGE_HASH}"
313313
# License scan
314-
trivy_scan "table" "--scanners license --license-full" "" "${module_image}@${IMAGE_HASH}"
314+
# trivy_scan "table" "--scanners license --license-full" "" "${module_image}@${IMAGE_HASH}"
315315
fi
316316
# CVE Scan
317317
trivy_scan "json" "--scanners vuln" "--output ${module_reports}/ext_${MODULE_NAME}_${IMAGE_NAME}_report.json" "${module_image}@${IMAGE_HASH}"
318318
# License scan
319-
trivy_scan "json" "--scanners license --license-full" "--output ${module_reports}/ext_${MODULE_NAME}_${IMAGE_NAME}_report_license.json" "${module_image}@${IMAGE_HASH}"
319+
# trivy_scan "json" "--scanners license --license-full" "--output ${module_reports}/ext_${MODULE_NAME}_${IMAGE_NAME}_report_license.json" "${module_image}@${IMAGE_HASH}"
320320
fi
321321
echo " Done"
322322
323323
send_report "CVE" "${module_reports}/ext_${MODULE_NAME}_${IMAGE_NAME}_report.json" "${MODULE_NAME}" "${IMAGE_NAME}"
324-
send_report "License" "${module_reports}/ext_${MODULE_NAME}_${IMAGE_NAME}_report_license.json" "${MODULE_NAME}" "${IMAGE_NAME}"
324+
# send_report "License" "${module_reports}/ext_${MODULE_NAME}_${IMAGE_NAME}_report_license.json" "${MODULE_NAME}" "${IMAGE_NAME}"
325325
done < <(jq -rc 'to_entries[]' <<< "${digests}")
326326
done
327327
rm -r ${workdir}

0 commit comments

Comments
 (0)