Skip to content

Commit

Permalink
Rollback the SARIF version to 2.1 since github doesn't support 2.2 (#…
Browse files Browse the repository at this point in the history
…1210)

Change-Id: If3500ec2c522339ca0a4e6c1f58574ce3cc870a9

Signed-off-by: Cosmin Cojocar <[email protected]>
  • Loading branch information
ccojocar committed Sep 4, 2024
1 parent ea26e84 commit 0ce4453
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions report/sarif/data.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const (
// Error : The rule specified by ruleId was evaluated and a serious problem was found.
Error = Level("error")
// Version : SARIF Schema version
Version = "2.2.0"
Version = "2.1.0"
// Schema : SARIF Schema URL
Schema = "https://raw.githubusercontent.com/oasis-tcs/sarif-spec/master/Schemata/sarif-schema-2.2.json"
Schema = "https://raw.githubusercontent.com/oasis-tcs/sarif-spec/master/Schemata/sarif-schema-2.1.json"
)

0 comments on commit 0ce4453

Please sign in to comment.