X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Fsnyk-cli-scanner-run.sh;h=7e42784df15a0e8f269f74f95a88337640e9c48d;hb=b77bddde465b9754c9a1acd89d4843d478025869;hp=63ba1cd319a8877a33afa85ef7788cfed8f0f31c;hpb=5f32d861578702e12e8ac05e74b106df2d1a6e71;p=releng%2Fglobal-jjb.git diff --git a/shell/snyk-cli-scanner-run.sh b/shell/snyk-cli-scanner-run.sh index 63ba1cd3..7e42784d 100644 --- a/shell/snyk-cli-scanner-run.sh +++ b/shell/snyk-cli-scanner-run.sh @@ -22,5 +22,5 @@ snyk --version echo "Authenticate with SNYK_TOKEN..." snyk auth "$SNYK_CLI" echo "Running Snyk CLI..." -snyk test --json --severity-threshold=low --org="$SNYK_ORG" -snyk monitor --severity-threshold=low --org="$SNYK_ORG" +snyk test --json --severity-threshold=low "$SNYK_CLI_OPTIONS" --org="$SNYK_ORG" +snyk monitor --severity-threshold=low "$SNYK_CLI_OPTIONS" --org="$SNYK_ORG"