Take an action live, or put it back in shadow¶
One action, one or more actors, one command. In shadow the action prints what it would do and writes its row; live, it calls the vendor. default returns the shipped setting.
Before you start¶
- Know which actor you are changing.
analystis a person clicking a button;automationis the lifecycle acting on its own;aiis the close decision;issue_emergencyis emergency response. - Run the command without
apply=yesfirst and read the plan.
Steps¶
-
Take
soc-isolate-endpointlive for people, leave it shadowed for automation: -
Put it back in shadow for the same actor:
-
Return to what the pack shipped:
Expected: the command reports the change and !SOCFWConfig command=status action=soc-isolate-endpoint shows the actor as live or shadow. The next time the action runs for that actor, its execution row carries the matching execution_mode:
config timeframe = 24h
| dataset = xsiam_socfw_ir_execution_raw
| filter event_type = "command" and universal_command = "soc-isolate-endpoint"
| fields _time, action_actor, execution_mode, action_status, entity_value
| sort desc _time
Why it works this way¶
value=on means simulate and value=off means run for real: the switch is the shadow, not the action. The override lives in the tenant configuration list, so it survives a pack upgrade; the shipped flag in the action registry is what default goes back to.
Related: See what runs for real on this tenant ยท Shadow Mode