From 2ec283b7886388b93ad25675b77a69aa99ad4f47 Mon Sep 17 00:00:00 2001 From: Jochen Sprickerhof Date: Fri, 20 Dec 2024 11:11:32 +0100 Subject: [PATCH] Update schema URL for new sarif version --- README.md | 2 +- writer/sarif_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index dff5c51..da836e8 100644 --- a/README.md +++ b/README.md @@ -173,7 +173,7 @@ It supports [SARIF](https://sarifweb.azurewebsites.net/) (Static Analysis Result ```shell $ cat fmts/testdata/sbt.in | errorformat -name=sbt -w=sarif { - "$schema": "http://json.schemastore.org/sarif-2.1.0-rtm.4", + "$schema": "https://docs.oasis-open.org/sarif/sarif/v2.1.0/errata01/os/schemas/sarif-schema-2.1.0.json", "runs": [ { "results": [ diff --git a/writer/sarif_test.go b/writer/sarif_test.go index 991ec1b..a1ad434 100644 --- a/writer/sarif_test.go +++ b/writer/sarif_test.go @@ -10,7 +10,7 @@ func ExampleSarif() { w.Flush() // Output: // { - // "$schema": "http://json.schemastore.org/sarif-2.1.0-rtm.4", + // "$schema": "https://docs.oasis-open.org/sarif/sarif/v2.1.0/errata01/os/schemas/sarif-schema-2.1.0.json", // "runs": [ // { // "results": [