|
|
@ -195,7 +195,7 @@ if [ "${format}" == "sarif" ] && [ "${limitSeveritiesForSARIF}" != "true" ]; the
|
|
|
|
trivy --quiet ${scanType} --format sarif --output ${output} $SARIF_ARGS ${artifactRef}
|
|
|
|
trivy --quiet ${scanType} --format sarif --output ${output} $SARIF_ARGS ${artifactRef}
|
|
|
|
elif [ $trivyConfig ]; then
|
|
|
|
elif [ $trivyConfig ]; then
|
|
|
|
echo "Running Trivy with trivy.yaml config from: " $trivyConfig
|
|
|
|
echo "Running Trivy with trivy.yaml config from: " $trivyConfig
|
|
|
|
trivy --config $trivyConfig ${scanType} ${artifactRef}
|
|
|
|
trivy --config $trivyConfig ${scanType} ${ARGS}" ${artifactRef}
|
|
|
|
else
|
|
|
|
else
|
|
|
|
echo "Running trivy with options: trivy ${scanType} ${ARGS}" "${artifactRef}"
|
|
|
|
echo "Running trivy with options: trivy ${scanType} ${ARGS}" "${artifactRef}"
|
|
|
|
echo "Global options: " "${GLOBAL_ARGS}"
|
|
|
|
echo "Global options: " "${GLOBAL_ARGS}"
|
|
|
|