Skip to content

Support level information in SARIF output #80

@lzaoral

Description

@lzaoral

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions