1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
From: Jochen Sprickerhof <jspricke@debian.org>
Date: Fri, 20 Dec 2024 11:11:32 +0100
Subject: 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": [
|