From c330acc5b012093f6feafe3a8ff95b8846c975c0 Mon Sep 17 00:00:00 2001 From: tschmidtb51 <65305130+tschmidtb51@users.noreply.github.com> Date: Thu, 16 Jan 2025 14:55:09 +0100 Subject: [PATCH 1/2] ROLIE update - addresses parts of oasis-tcs/csaf#677 - add `last_updated` ROLIE section in PMD schema --- csaf_2.1/json_schema/provider_json_schema.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/csaf_2.1/json_schema/provider_json_schema.json b/csaf_2.1/json_schema/provider_json_schema.json index 08af10a92..2856bd701 100644 --- a/csaf_2.1/json_schema/provider_json_schema.json +++ b/csaf_2.1/json_schema/provider_json_schema.json @@ -115,10 +115,17 @@ "description": "Contains information about the ROLIE feed.", "type": "object", "required": [ + "last_updated", "tlp_label", "url" ], "properties": { + "last_updated": { + "title": "Last updated", + "description": "Holds the date and time when the feed was last updated.", + "type": "string", + "format": "date-time" + }, "summary": { "title": "Summary of the feed", "description": "Contains a summary of the feed.", From 21a07b7b7fa0dcd92b238dac3e49eb708a4056fd Mon Sep 17 00:00:00 2001 From: tschmidtb51 <65305130+tschmidtb51@users.noreply.github.com> Date: Thu, 16 Jan 2025 14:57:43 +0100 Subject: [PATCH 2/2] ROLIE update - addresses parts of oasis-tcs/csaf#677 - adapt examples to reflect change --- .../examples/provider-metadata/example-01-provider-metadata.json | 1 + csaf_2.1/prose/edit/src/distributing.md | 1 + 2 files changed, 2 insertions(+) diff --git a/csaf_2.1/examples/provider-metadata/example-01-provider-metadata.json b/csaf_2.1/examples/provider-metadata/example-01-provider-metadata.json index c915c0881..71a7bae85 100644 --- a/csaf_2.1/examples/provider-metadata/example-01-provider-metadata.json +++ b/csaf_2.1/examples/provider-metadata/example-01-provider-metadata.json @@ -6,6 +6,7 @@ "rolie": { "feeds": [ { + "last_updated": "2024-01-24T20:20:56.169Z", "summary": "All TLP:CLEAR advisories of Example Company.", "tlp_label": "CLEAR", "url": "https://www.example.com/.well-known/csaf/feed-tlp-clear.json" diff --git a/csaf_2.1/prose/edit/src/distributing.md b/csaf_2.1/prose/edit/src/distributing.md index 32fe3e3ce..ab2b0f21c 100644 --- a/csaf_2.1/prose/edit/src/distributing.md +++ b/csaf_2.1/prose/edit/src/distributing.md @@ -82,6 +82,7 @@ CSAF aggregator SHOULD display over any individual `publisher` values in the CSA "rolie": { "feeds": [ { + "last_updated": "2024-01-24T20:20:56.169Z", "summary": "All TLP:CLEAR advisories of Example Company.", "tlp_label": "CLEAR", "url": "https://www.example.com/.well-known/csaf/feed-tlp-clear.json"