From 1819b4896babaf9bd1136e5846e07224fb201b18 Mon Sep 17 00:00:00 2001 From: koplas Date: Mon, 16 Sep 2024 20:37:55 +0200 Subject: [PATCH] Fix rolie feed --- testdata/simple-rolie-provider/white/white-feed.json | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/testdata/simple-rolie-provider/white/white-feed.json b/testdata/simple-rolie-provider/white/white-feed.json index 36f3ded1..1bc17bcf 100644 --- a/testdata/simple-rolie-provider/white/white-feed.json +++ b/testdata/simple-rolie-provider/white/white-feed.json @@ -18,7 +18,7 @@ "term": "csaf" } ], - "updated": "2024-05-24T09:22:31Z", + "updated": "2020-01-01T00:00:00Z", "entry": [ { "id": "Avendor-advisory-0004", @@ -28,21 +28,25 @@ "rel": "self", "href": "/white/avendor-advisory-0004.json" }, + {{if .EnableSha256}} { "rel": "hash", "href": "/white/avendor-advisory-0004.json.sha256" }, + {{end}} + {{if .EnableSha512}} { "rel": "hash", "href": "/white/avendor-advisory-0004.json.sha512" }, + {{end}} { "rel": "signature", "href": "/white/avendor-advisory-0004.json.asc" } ], - "published": "2020-00-00T00:00:00Z", - "updated": "2020-00-00T00:00:00Z", + "published": "2020-01-01T00:00:00Z", + "updated": "2020-01-01T00:00:00Z", "content": { "type": "application/json", "src": "/avendor-advisory-0004.json"