Commit 7983b7a
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 <manavg@gmail.com>1 parent b23f6f5 commit 7983b7a
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