Skip to content

Commit

Permalink
Merge pull request #3 from robthew/updates_examples
Browse files Browse the repository at this point in the history
Updated examples and adoc
  • Loading branch information
robthew authored Feb 2, 2024
2 parents 931297e + 12db6cb commit 44c6142
Show file tree
Hide file tree
Showing 3 changed files with 80 additions and 41 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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[]
----
Original file line number Diff line number Diff line change
@@ -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"
}
}
}
]
}
Original file line number Diff line number Diff line change
@@ -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"
}
]
}
}

0 comments on commit 44c6142

Please sign in to comment.