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

Support level information in SARIF output #80

Closed
lzaoral opened this issue Aug 26, 2022 · 0 comments · Fixed by #81
Closed

Support level information in SARIF output #80

lzaoral opened this issue Aug 26, 2022 · 0 comments · Fixed by #81
Assignees

Comments

@lzaoral
Copy link
Member

lzaoral commented Aug 26, 2022

We should also report the severity level [1]. Since we're not doing it at the moment, all reports default to warning and this property is also supported by GitHub [2]. Supported levels are:

  • warning
  • error
  • note
  • none

[1] https://docs.oasis-open.org/sarif/sarif/v2.1.0/csprd01/sarif-v2.1.0-csprd01.html#_Toc10541086
[2] https://docs.github.com/en/code-security/code-scanning/integrating-with-code-scanning/sarif-support-for-code-scanning#result-object

@lzaoral lzaoral self-assigned this Aug 26, 2022
lzaoral added a commit to lzaoral/csdiff that referenced this issue Aug 26, 2022
... so that users can easily filter results according to their severity.

Fixes: csutils#80
lzaoral added a commit to lzaoral/csdiff that referenced this issue Aug 26, 2022
... so that users can easily filter results according to their severity.

Fixes: csutils#80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant