From ce1e0e751fc7283c5144a372264f072520de6a65 Mon Sep 17 00:00:00 2001 From: Simar Date: Tue, 2 Aug 2022 16:47:41 -0700 Subject: [PATCH] fix(sarif): Add timeout and security-checks for sarif --- entrypoint.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/entrypoint.sh b/entrypoint.sh index de6191a..6b6f54f 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -111,6 +111,7 @@ if [ $vulnType ] && [ "$scanType" != "config" ] && [ "$scanType" != "sbom" ];the fi if [ $securityChecks ];then ARGS="$ARGS --security-checks $securityChecks" + SARIF_ARGS="$SARIF_ARGS --security-checks $securityChecks" fi if [ $severity ];then ARGS="$ARGS --severity $severity" @@ -141,6 +142,7 @@ if [ $trivyIgnores ];then fi if [ $timeout ];then ARGS="$ARGS --timeout $timeout" + SARIF_ARGS="$SARIF_ARGS --timeout $timeout" fi if [ $ignorePolicy ];then ARGS="$ARGS --ignore-policy $ignorePolicy"