From 7088d18dcb87884bc7b5a4000d5517d758e9aa13 Mon Sep 17 00:00:00 2001 From: Simar Date: Fri, 26 Apr 2024 01:13:05 -0600 Subject: [PATCH] =?UTF-8?q?Revert=20"fix:=20=F0=9F=90=9B=20allow=20trivy-c?= =?UTF-8?q?onfig=20and=20other=20options=20to=20be=20used=20together=20(#3?= =?UTF-8?q?38)"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit ee6a4f5af1dbe22ccc11905a61abd2db301d532c. --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index db11f92..79fd708 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} ${artifactRef} else echo "Running trivy with options: trivy ${scanType} ${ARGS}" "${artifactRef}" echo "Global options: " "${GLOBAL_ARGS}"