From f97d3f0339572e3199dd4cb23a43813d7254ac94 Mon Sep 17 00:00:00 2001 From: Alexandre Dulaunoy Date: Wed, 29 Nov 2017 07:32:37 +0100 Subject: [PATCH] add: exclusive property added to express exclusivity at predicate or value level Exclusive property allows to express if a predicate or a value is exclusive. The exclusive property applies at namespace level (if the predicate is exclusive) or at predicate level is the value is exclusive. TLP and fr-classif updated with exclusive property. The exclusive property can be used by the software (e.g. MISP) to warn users if (s)he tries to add multiple tags on the same element (attribute, event...). It's up to the configuration of the software to enforce it or not. By default, tags are not exclusive. --- fr-classif/machinetag.json | 14 +++++++++----- schema.json | 6 ++++++ tlp/machinetag.json | 5 +++-- 3 files changed, 18 insertions(+), 7 deletions(-) mode change 100644 => 100755 fr-classif/machinetag.json mode change 100644 => 100755 schema.json mode change 100644 => 100755 tlp/machinetag.json diff --git a/fr-classif/machinetag.json b/fr-classif/machinetag.json old mode 100644 new mode 100755 index e97df29..966e2c5 --- a/fr-classif/machinetag.json +++ b/fr-classif/machinetag.json @@ -47,18 +47,22 @@ "predicates": [ { "expanded": "Informations classifiées défense", - "value": "classifiees-defense" + "value": "classifiees-defense", + "exclusive": true }, { "expanded": "Informations non classifiées defense", - "value": "non-classifiees-defense" + "value": "non-classifiees-defense", + "exclusive": true }, { "expanded": "Informations non classifiées", - "value": "non-classifiees" + "value": "non-classifiees", + "exclusive": true } ], - "version": 1, + "version": 2, "description": "French gov information classification system", - "namespace": "fr-classif" + "namespace": "fr-classif", + "exclusive": true } diff --git a/schema.json b/schema.json old mode 100644 new mode 100755 index 58c17e7..fab2ba1 --- a/schema.json +++ b/schema.json @@ -72,6 +72,9 @@ "value": { "type": "string" }, + "exclusive": { + "type": "boolean" + }, "required": [ "value" ] @@ -94,6 +97,9 @@ "namespace": { "type": "string" }, + "exclusive": { + "type": "boolean" + }, "type": { "type": "array", "uniqueItems": true, diff --git a/tlp/machinetag.json b/tlp/machinetag.json old mode 100644 new mode 100755 index bb967a7..11726fc --- a/tlp/machinetag.json +++ b/tlp/machinetag.json @@ -33,8 +33,9 @@ "refs": [ "https://www.first.org/tlp" ], - "version": 4, + "version": 5, "description": "The Traffic Light Protocol - or short: TLP - was designed with the objective to create a favorable classification scheme for sharing sensitive information while keeping the control over its distribution at the same time.", "expanded": "Traffic Light Protocol", - "namespace": "tlp" + "namespace": "tlp", + "exclusive": true }