From 0ce4453ddd8cca1291d2056cf903b545baad95a0 Mon Sep 17 00:00:00 2001 From: Cosmin Cojocar Date: Wed, 4 Sep 2024 16:56:15 +0200 Subject: [PATCH] Rollback the SARIF version to 2.1 since github doesn't support 2.2 (#1210) Change-Id: If3500ec2c522339ca0a4e6c1f58574ce3cc870a9 Signed-off-by: Cosmin Cojocar --- report/sarif/data.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/report/sarif/data.go b/report/sarif/data.go index 57e367d401..f9046c7281 100644 --- a/report/sarif/data.go +++ b/report/sarif/data.go @@ -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" )