Skip to content

Commit

Permalink
Run snyk container scan to produce sarif output
Browse files Browse the repository at this point in the history
  • Loading branch information
JonJagger committed Feb 28, 2024
1 parent 262fc48 commit 2b2eb43
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sh/kosli.sh
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,9 @@ on_ci_kosli_attest_snyk_scan_evidence()
set +e
snyk container test "$(artifact_name)" \
--file="$(repo_root)/Dockerfile" \
--json-file-output="$(repo_root)/snyk.json" \
--policy-path="$(repo_root)/.snyk" \
--sarif \
--sarif-file-output=snyk.json \
--severity-threshold=medium
set -e

Expand Down

0 comments on commit 2b2eb43

Please sign in to comment.