Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

snyk: define all findings with level error as important #122

Merged
merged 1 commit into from
Sep 27, 2023

Conversation

kdudka
Copy link
Member

@kdudka kdudka commented Sep 22, 2023

@kdudka kdudka requested a review from rhyw September 22, 2023 16:06
@kdudka kdudka self-assigned this Sep 22, 2023
kdudka added a commit to kdudka/csmock that referenced this pull request Sep 22, 2023
@kdudka kdudka requested review from jperezdealgaba and removed request for rhyw September 25, 2023 15:15
Copy link
Collaborator

@jperezdealgaba jperezdealgaba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm I have been testing it and it seems fine.

@kdudka
Copy link
Member Author

kdudka commented Sep 27, 2023

@jperezdealgaba Thanks for review!

@kdudka kdudka closed this in 3c3f8a2 Sep 27, 2023
@kdudka kdudka merged commit 3c3f8a2 into csutils:main Sep 27, 2023
3 of 29 checks passed
@kdudka kdudka deleted the snyk-imp branch September 9, 2024 15:27
kdudka added a commit to kdudka/csdiff that referenced this pull request 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 added a commit to kdudka/csdiff that referenced this pull request Sep 12, 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
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