We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9959637 commit b4d2ca9Copy full SHA for b4d2ca9
pkg/printers/sarif.go
@@ -77,11 +77,10 @@ func (p Sarif) Print(issues []result.Issue) error {
77
78
severity := issue.Severity
79
80
- // can be only none, note, warning, error
81
- // https://docs.oasis-open.org/sarif/sarif/v2.1.0/errata01/os/sarif-v2.1.0-errata01-os-complete.html#_Toc141790898
82
switch severity {
+ // https://docs.oasis-open.org/sarif/sarif/v2.1.0/errata01/os/sarif-v2.1.0-errata01-os-complete.html#_Toc141790898
83
case "none", "note", "warning", "error":
84
- // valid
+ // Valid levels.
85
default:
86
severity = "error"
87
}
0 commit comments