Deriving a specific OpenC2 target data model from STIX Cyber Observables requires some design tradeoffs. The Forum will need to decide on a single approach in order to develop the concrete command examples needed for interoperability.
Advantage: For objects with just a type and a value it is more straightforward to encode as a single property: "mac-addr": "34:58:19:00:26:07" instead of as an object with type and value properties: "{ "type": "mac-addr", "value": "34:58:19:00:26:07" }. For objects that have properties other than value, even if optional, the value property must remain explicit as shown in the example. Note that the target has no separate "type" and "specifiers" properties; instead the target has a single object of the named type, and specifiers are properties of that object.
RECOMMENDATION
OpenC2 to use method 3 to derive targets from STIX Observables and CybOX 2.
PROBLEM
Deriving a specific OpenC2 target data model from STIX Cyber Observables requires some design tradeoffs. The Forum will need to decide on a single approach in order to develop the concrete command examples needed for interoperability.
POTENTIAL SOLUTIONS
1. Literal STIX Cyber Observables
Use SCO examples verbatim as targets:
2. Legacy OpenC2 with explicit Type and Specifiers properties
3. Use Types directly as property names
Advantage: For objects with just a type and a value it is more straightforward to encode as a single property:
"mac-addr": "34:58:19:00:26:07"
instead of as an object with type and value properties:"{ "type": "mac-addr", "value": "34:58:19:00:26:07" }
. For objects that have properties other than value, even if optional, the value property must remain explicit as shown in the example. Note that the target has no separate "type" and "specifiers" properties; instead the target has a single object of the named type, and specifiers are properties of that object.RECOMMENDATION
OpenC2 to use method 3 to derive targets from STIX Observables and CybOX 2.