Commit da4cc71
fix: prevent jq empty from dropping Dependabot alerts without CVE IDs
The jq extraction used `// empty` for cve_id and ghsa_id fields, which
silently drops the entire alert object when the field is null. Many
Dependabot alerts (especially in Go repos) only have a GHSA ID and no
CVE ID, causing all such alerts to be filtered out. Changed to
`// null` to preserve all alerts regardless of which ID fields are
populated. Also added debug logging to the fetch step.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 79280d5 commit da4cc71
1 file changed
Lines changed: 9 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
286 | 286 | | |
287 | 287 | | |
288 | 288 | | |
| 289 | + | |
289 | 290 | | |
290 | 291 | | |
| 292 | + | |
291 | 293 | | |
292 | 294 | | |
293 | 295 | | |
294 | 296 | | |
295 | 297 | | |
296 | 298 | | |
| 299 | + | |
297 | 300 | | |
298 | 301 | | |
299 | 302 | | |
300 | 303 | | |
301 | 304 | | |
302 | 305 | | |
303 | | - | |
304 | | - | |
| 306 | + | |
| 307 | + | |
305 | 308 | | |
306 | 309 | | |
307 | 310 | | |
| |||
312 | 315 | | |
313 | 316 | | |
314 | 317 | | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
315 | 321 | | |
316 | 322 | | |
317 | 323 | | |
318 | 324 | | |
319 | 325 | | |
320 | 326 | | |
321 | 327 | | |
322 | | - | |
| 328 | + | |
323 | 329 | | |
324 | 330 | | |
325 | 331 | | |
| |||
0 commit comments