Skip to content

Commit 0ce4453

Browse files
authored
Rollback the SARIF version to 2.1 since github doesn't support 2.2 (#1210)
Change-Id: If3500ec2c522339ca0a4e6c1f58574ce3cc870a9 Signed-off-by: Cosmin Cojocar <[email protected]>
1 parent ea26e84 commit 0ce4453

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

report/sarif/data.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const (
1616
// Error : The rule specified by ruleId was evaluated and a serious problem was found.
1717
Error = Level("error")
1818
// Version : SARIF Schema version
19-
Version = "2.2.0"
19+
Version = "2.1.0"
2020
// Schema : SARIF Schema URL
21-
Schema = "https://raw.githubusercontent.com/oasis-tcs/sarif-spec/master/Schemata/sarif-schema-2.2.json"
21+
Schema = "https://raw.githubusercontent.com/oasis-tcs/sarif-spec/master/Schemata/sarif-schema-2.1.json"
2222
)

0 commit comments

Comments
 (0)