From 12db6cbe85978e33a4f4fde4fee920799cb6ed6d Mon Sep 17 00:00:00 2001 From: Robert Thew Date: Fri, 2 Feb 2024 14:04:39 -0500 Subject: [PATCH] Updated examples and adoc --- .../STIX-2.1-IEP2.0-marking-definition.adoc | 25 +++++++-- .../iep-data-marking-bundle-example.json | 40 +++++++++++++ .../examples/iep-data-marking-example.json | 56 +++++++------------ 3 files changed, 80 insertions(+), 41 deletions(-) create mode 100644 extension-definition-specifications/iep-marking-definition-762/examples/iep-data-marking-bundle-example.json diff --git a/extension-definition-specifications/iep-marking-definition-762/STIX-2.1-IEP2.0-marking-definition.adoc b/extension-definition-specifications/iep-marking-definition-762/STIX-2.1-IEP2.0-marking-definition.adoc index c38fd872991..3de8f66376b 100644 --- a/extension-definition-specifications/iep-marking-definition-762/STIX-2.1-IEP2.0-marking-definition.adoc +++ b/extension-definition-specifications/iep-marking-definition-762/STIX-2.1-IEP2.0-marking-definition.adoc @@ -229,16 +229,33 @@ shared information. on the information received. |=== -== Extension Definition Object for IEP 2.0 - +== 3. Extension Definition Object for IEP 2.0 [source,json] ---- -include::examples/iep-extension-definition-object.json[] +{ + "id": "extension-definition--762e2e97-ee51-43e5-a9ea-165fbb862c4a", + "type": "extension-definition", + "spec_version": "2.1", + "name": "IEP 2.0", + "description": "This defines IEP 2.0 as a STIX extension", + "created": "2022-12-19T00:00:00.000Z", + "modified": "2022-12-19T00:00:00.000Z", + "created_by_ref": "identity--b3bca3c2-1f3d-4b54-b44f-dac42c3a8f01", + "schema": "https://github.com/oasis-open/cti-stix-common-objects/tree/master/extension-definition-specifications/iep-marking-definition-762", + "version": "1.0.0", + "extension_types": [ + "property-extension" + ] +} ---- -== IEP 2.0 Data Marking Example +== 4. IEP 2.0 Data Marking Example [source,json] ---- include::examples/iep-data-marking-example.json[] +---- + +---- +include::examples/iep-data-marking-bundle-example.json[] ---- \ No newline at end of file diff --git a/extension-definition-specifications/iep-marking-definition-762/examples/iep-data-marking-bundle-example.json b/extension-definition-specifications/iep-marking-definition-762/examples/iep-data-marking-bundle-example.json new file mode 100644 index 00000000000..db2286e3994 --- /dev/null +++ b/extension-definition-specifications/iep-marking-definition-762/examples/iep-data-marking-bundle-example.json @@ -0,0 +1,40 @@ +{ + "type": "bundle", + "id": "bundle--1b068194-6f34-4a7f-b73d-407d8375b81d", + "objects": [ + { + "type": "marking-definition", + "spec_version": "2.1", + "id": "marking-definition--d68dc6bf-c181-424b-85e1-5a92868f01b6", + "created": "2022-10-01T00:00:00.000Z", + "name": "IEP data marking", + "external_references": [ + { + "source_name": "IEP", + "description": "Information Exchange Policy", + "url": "https://www.first.org/iep" + }, + { + "source_name": "TLP", + "description": "Traffic Light Protocol", + "url": "https://www.first.org/tlp" + } + ], + "extensions": { + "extension-definition--762e2e97-ee51-43e5-a9ea-165fbb862c4a": { + "extension_type": "property-extension", + "encrypt_in_transit": "may", + "permitted_actions": "externally-visible-direct-actions", + "affected_party_notifications": "may", + "tlp": "amber", + "provider_attribution": "must-not", + "unmodified_resale": "must-not", + "iep_id": "0224bfdf-ea3a-49c3-96f6-66d908bb1845", + "iep_version": 2.0, + "description": "This is a TLP-AMBER Information Exchange Policy", + "start_date": "2022-10-01T00:00:00.000Z" + } + } + } + ] +} diff --git a/extension-definition-specifications/iep-marking-definition-762/examples/iep-data-marking-example.json b/extension-definition-specifications/iep-marking-definition-762/examples/iep-data-marking-example.json index db2286e3994..c1cb141c936 100644 --- a/extension-definition-specifications/iep-marking-definition-762/examples/iep-data-marking-example.json +++ b/extension-definition-specifications/iep-marking-definition-762/examples/iep-data-marking-example.json @@ -1,40 +1,22 @@ { - "type": "bundle", - "id": "bundle--1b068194-6f34-4a7f-b73d-407d8375b81d", - "objects": [ - { - "type": "marking-definition", - "spec_version": "2.1", - "id": "marking-definition--d68dc6bf-c181-424b-85e1-5a92868f01b6", - "created": "2022-10-01T00:00:00.000Z", - "name": "IEP data marking", - "external_references": [ - { - "source_name": "IEP", - "description": "Information Exchange Policy", - "url": "https://www.first.org/iep" - }, - { - "source_name": "TLP", - "description": "Traffic Light Protocol", - "url": "https://www.first.org/tlp" - } - ], - "extensions": { - "extension-definition--762e2e97-ee51-43e5-a9ea-165fbb862c4a": { - "extension_type": "property-extension", - "encrypt_in_transit": "may", - "permitted_actions": "externally-visible-direct-actions", - "affected_party_notifications": "may", - "tlp": "amber", - "provider_attribution": "must-not", - "unmodified_resale": "must-not", - "iep_id": "0224bfdf-ea3a-49c3-96f6-66d908bb1845", - "iep_version": 2.0, - "description": "This is a TLP-AMBER Information Exchange Policy", - "start_date": "2022-10-01T00:00:00.000Z" - } - } + "type": "marking-definition", + "spec_version": "2.1", + "id": "marking-definition--da05d443-ad8d-46fc-abf5-31d3d00290f1", + "created": "2024-01-10T14:52:41.853121Z", + "name": "IEP data marking", + "extensions": { + "extension-definition--762e2e97-ee51-43e5-a9ea-165fbb862c4a": { + "extension_type": "property-extension", + "encrypt_in_transit": "may", + "permitted_actions": "externally-visible-direct-actions", + "affected_party_notifications": "may", + "tlp": "amber", + "provider_attribution": "must-not", + "unmodified_resale": "must-not", + "iep_id": "0224bfdf-ea3a-49c3-96f6-66d908bb1845", + "iep_version": 2.0, + "description": "This is a TLP-AMBER Information Exchange Policy", + "start_date": "2022-10-01T00:00:00Z" } - ] + } }