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}"