Commit cd5d2e5
committed
writer-json-sarif: propagate the "imp" flag as level
If the "imp" flag is set on a finding, set the SARIF level to "error",
which means "Important".
Related: https://issues.redhat.com/browse/OSH-565
Closes: #1731 parent f05aa13 commit cd5d2e5
File tree
5 files changed
+114363
-2
lines changed- src/lib
- tests/csgrep
5 files changed
+114363
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
338 | 338 | | |
339 | 339 | | |
340 | 340 | | |
341 | | - | |
342 | | - | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
343 | 347 | | |
344 | 348 | | |
345 | 349 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
0 commit comments