This repository was archived by the owner on May 24, 2025. It is now read-only.
Commit 9d0ad88
committed
Make sure 'runs.results' field is never 'null' in SARIF report
This sets the 'runs.results' field to an empty array in the resulting SARIF
if container scan returned no vulnerabilities or best practices violations.
Otherwise, the SARIF report is considered as invalid by the 'upload-sarif'
GitHub Action.1 parent 165284e commit 9d0ad88
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
41 | 45 | | |
42 | 46 | | |
43 | 47 | | |
| |||
161 | 165 | | |
162 | 166 | | |
163 | 167 | | |
| 168 | + | |
164 | 169 | | |
165 | 170 | | |
166 | 171 | | |
| |||
0 commit comments