Skip to content

Commit

Permalink
Merge pull request #30 from opencybersecurityalliance/kkarolenko-patch-1
Browse files Browse the repository at this point in the history
Updating bundle and schemas
  • Loading branch information
CharlesFrick authored Jun 5, 2024
2 parents f5821b3 + c1ca767 commit 37b3e77
Show file tree
Hide file tree
Showing 8 changed files with 284 additions and 187 deletions.
156 changes: 121 additions & 35 deletions apl_reference_implementation_bundle/revision_3/BehaviorBundle.json

Large diffs are not rendered by default.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$id": "https://raw.githubusercontent.com/opencybersecurityalliance/oca-iob/main/apl_reference_implementation_bundle/revision_2/schemas/sdos/behavior.json",
"$id": "https://raw.githubusercontent.com/opencybersecurityalliance/stix-extensions/main/2.x/schemas/x-oca-behavior.json",
"$schema": "http://json-schema.org/draft/2020-12/schema#",
"title": "behavior",
"title": "x-oca-behavior",
"description": "Behavior objects define adversary behaviors associated with higher level MITRE ATT&CK tactics and techniques. The Attack Pattern SDO may have multiple behaviors associated with it. For example, a spearphishing attack may employ multiple behaviors (usage of email attachments, process modifying a registry key, network patterns, etc.).",
"type": "object",
"allOf": [
Expand Down Expand Up @@ -66,4 +66,4 @@
"required": [
"name"
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"$id": "https://raw.githubusercontent.com/opencybersecurityalliance/stix-extensions/main/2.x/schemas/x-oca-coa-playbook-ext.json",
"$schema": "http://json-schema.org/draft/2020-12/schema#",
"title": "x-oca-coa-playbook-ext",
"description": "A property extension for the Course of Action SDO for sharing automated courses of action (i.e., orchestration workflows or playbooks).",
"type": "object",
"allOf": [
{
"$ref": "https://github.com/oasis-open/cti-stix2-json-schemas/blob/master/schemas/sdos/course-of-action.json"
},
{
"properties": {
"extensions": {
"type": "object",
"properties": {
"extension-definition--bbc1d5c8-7ddc-4e89-be9c-f33ad02d71dd": {
"type": "object",
"properties": {
"extension_type": {
"type": "string",
"description": "The value of this property MUST be 'property-extension'.",
"enum": ["property-extension"]
},
"playbooks": {
"type": "object",
"description": "The dictionary key is the UUID of a STIX 2.1 playbook object. The dictionary value is the playbook format (e.g., application/cacao+json, bpmn).\n\n When possible, this value SHOULD come from the values defined in the Template column of the IANA media type registry [Media Types]. For example, if a playbook is provided as an image in png format, the value following the IANA media type registry MUST be 'image/png'. Another example is CACAO security playbooks, where in [CACAO-Security-Playbooks-v2.0] Appendix C. IANA Considerations, the following media type is defined: 'application/cacao+json'",
"minProperties": 1,
"patternProperties": {
"^x-oca-playbook--[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$": {
"type": "string"
}
}
}
},
"required": ["extension_type"]
}
},
"required": ["extension-definition--bbc1d5c8-7ddc-4e89-be9c-f33ad02d71dd"]
}
}
}
],
"required": ["extensions"]
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$id": "https://raw.githubusercontent.com/opencybersecurityalliance/oca-iob/main/apl_reference_implementation_bundle/revision_2/schemas/sdos/detection.json",
"$id": "https://raw.githubusercontent.com/opencybersecurityalliance/stix-extensions/main/2.x/schemas/x-oca-detection.json",
"$schema": "http://json-schema.org/draft/2020-12/schema#",
"title": "detection",
"title": "x-oca-detection",
"description": "Detections contain logic to detect an adversary behavior.",
"type": "object",
"allOf": [
Expand Down Expand Up @@ -57,4 +57,4 @@
"data_sources",
"analytic"
]
}
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$id": "https://raw.githubusercontent.com/opencybersecurityalliance/oca-iob/main/apl_reference_implementation_bundle/revision_2/schemas/sdos/detector.json",
"$id": "https://raw.githubusercontent.com/opencybersecurityalliance/stix-extensions/main/2.x/schemas/x-oca-detector.json",
"$schema": "http://json-schema.org/draft/2020-12/schema#",
"title": "detector",
"title": "x-oca-detector",
"description": "Detector objects define tools, software, products, etc. that are capable of performing detection. They should likely be related to one or more Detection obects.",
"type": "object",
"allOf": [
Expand Down Expand Up @@ -91,5 +91,4 @@
"required": [
"name"
]
}

}
Loading

0 comments on commit 37b3e77

Please sign in to comment.