Skip to content

Conversation

@kdudka
Copy link
Member

@kdudka kdudka commented Sep 9, 2024

... to 1 if level is error. This is how csgrep ---mode=sarif encodes the imp flag. As a side effect, all findings from Snyk Code with level set to error will be marked as important. Nevertheless, this is what csmock-plugin-snyk explicitly does already: csutils/csmock#122

Resolves: https://issues.redhat.com/browse/OSH-754
Closes: #205

@kdudka kdudka requested a review from lzaoral September 9, 2024 15:37
@kdudka kdudka self-assigned this Sep 9, 2024
... to 1 if `level` is `error`.  This is how `csgrep ---mode=sarif`
encodes the `imp` flag.  As a side effect, all findings from Snyk Code
with `level` set to `error` will be marked as important.  Nevertheless,
this is what `csmock-plugin-snyk` explicitly does already:
csutils/csmock#122

Resolves: https://issues.redhat.com/browse/OSH-754
Closes: csutils#205
@kdudka
Copy link
Member Author

kdudka commented Sep 12, 2024

@lzaoral Thanks for review!

@kdudka kdudka merged commit 8e7e1ee into csutils:main Sep 12, 2024
@kdudka kdudka deleted the sarif-imp branch September 12, 2024 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants