File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 6060 env :
6161 SNYK_TOKEN : ${{ secrets.SNYK_SECRET_TOKEN }}
6262 with :
63+ args : --sarif-file-output=snyk-vulnerabilities.sarif
6364 command : monitor
6465
6566
@@ -68,10 +69,12 @@ jobs:
6869 continue-on-error : true # To make sure that SARIF upload gets called
6970 env :
7071 SNYK_TOKEN : ${{ secrets.SNYK_SECRET_TOKEN }}
71- run : snyk test --all-projects
72+ run : snyk test monitor --all-projects --sarif-file-output=snyk-SCA.sarif
7273
7374 # Push the Snyk Code results into GitHub Code Scanning tab
7475 - name : Upload result to GitHub Code Scanning
7576 uses : github/codeql-action/upload-sarif@6349095d19ec30397ffb02a63b7aa4f867deb563
77+ env :
78+ SNYK_TOKEN : ${{ secrets.SNYK_SECRET_TOKEN }}
7679 with :
77- sarif_file : snyk-code .sarif
80+ sarif_file : snyk-vulnerabilities.sarif snyk-SCA .sarif
You can’t perform that action at this time.
0 commit comments