From 93cb85066975ed0bdddf73732f7f737e7c96bda0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?JG=20=28=E1=84=80=E1=85=B5=E1=86=B7=E1=84=8C=E1=85=AE?= =?UTF-8?q?=E1=86=BC=E1=84=80=E1=85=A9=E1=86=AB=29?= Date: Fri, 26 Apr 2024 15:44:48 +0900 Subject: [PATCH] fix errata --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index db11f92..1eb88ed 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -195,7 +195,7 @@ if [ "${format}" == "sarif" ] && [ "${limitSeveritiesForSARIF}" != "true" ]; the trivy --quiet ${scanType} --format sarif --output ${output} $SARIF_ARGS ${artifactRef} elif [ $trivyConfig ]; then echo "Running Trivy with trivy.yaml config from: " $trivyConfig - trivy --config $trivyConfig ${scanType} ${ARGS}" ${artifactRef} + trivy --config $trivyConfig ${scanType} ${ARGS} ${artifactRef} else echo "Running trivy with options: trivy ${scanType} ${ARGS}" "${artifactRef}" echo "Global options: " "${GLOBAL_ARGS}"