Commit 3c59a19
committed
fix: sanitize Dockle SARIF to remove invalid URIs before upload
Add sanitization step to filter out Dockle SARIF results containing
invalid URIs like "ENVIRONMENT variable on HOST OS" that cause GitHub
code scanning upload failures.
The jq filter removes results where location URIs contain whitespace
or other non-file-path characters, while preserving results with no
locations.
Signed-off-by: Manav Gupta <[email protected]>1 parent c057be3 commit 3c59a19
1 file changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
151 | 160 | | |
152 | 161 | | |
153 | 162 | | |
| |||
0 commit comments