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 c8067c6 commit 9ed2338
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sh/kosli.sh
Expand Up @@ -116,7 +116,9 @@ on_ci_kosli_attest_snyk_scan_evidence()
if on_ci; then
set +e
snyk container test "$(artifact_name)" \
--json-file-output="$(repo_root)/snyk.json" \
--file=Dockerfile \
--sarif \
--sarif-file-output=snyk.json \
--policy-path="$(repo_root)/.snyk"
set -e

Expand Down

0 comments on commit 9ed2338

Please sign in to comment.