Skip to content

Commit

Permalink
Fix SARIF label for warn level (#131)
Browse files Browse the repository at this point in the history
According to the SARIF Standard section 3.27.10, "warning" should be used instead of "warn"
  • Loading branch information
malte-laukoetter committed Aug 29, 2021
1 parent f5b52b0 commit 4298b9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/report/writer.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ var AlertLabels = map[int]string{
}
var sarifAlertLabels = map[int]string{
types.InfoLevel: "note",
types.WarnLevel: "warn",
types.WarnLevel: "warning",
types.FatalLevel: "error",
types.PassLevel: "none",
types.SkipLevel: "none",
Expand Down

0 comments on commit 4298b9d

Please sign in to comment.