I would like to seek assistance about Assign value on an attribute to another attribute
sdo_type = "attack-pattern" name = "Phishing" kill_chain_phases: kill_chain_name = "kill-chain" phase_name = "delivery"
sdo_type sub attribute, value string; name sub attribute, value string; kill_chain_phases sub attribute, value string, owns kill_chain_name, owns phase_name; kill_chain_name sub attribute, value string; phase_name sub attribute, value string; sdo_attack_pattern sub entity, owns sdo_type, owns name, owns kill_chain_phases;
Insert: This is where I lost.
$atk isa sdo_attack_pattern, has name "Spearphishing", has sdo_type "attack-pattern", has kill_chain_phases ???; <- What is this supposed to be? $atk-attr isa kill_chain_phases, has kill_chain_name "kill-chain", has phase_name "delivery"; <-- This causes an Error Error: [THW24] Invalid Thing Write: Unable to insert attribute '$atk-attr' of type 'kill_chain_phases' without a value assigned to the variable. Please check server logs for the stack trace.
How am I going to insert the “kill_chain_phases” on the $atk, considering that it will be expecting a string there.