From acbc5e4dde89751168b2289d43c0c4506ed52c8e Mon Sep 17 00:00:00 2001 From: Nicolas Hennion Date: Fri, 26 Apr 2024 08:39:56 +0200 Subject: [PATCH] Correct issue introduced in commit ee6a4f5 (related to #343) --- 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}"