trigger_compliance_ca
Initiates the execution of a corrective action for a specified compliance event.
Format
emcli trigger_compliance_ca -event_instance_id
Options
-
event_instance_id
Identifier of the event instance. To get the event_instance_id, execute the following emcli command:
emcli get_compliance_rule_violation_event -rule_iname="myrule" -target_type="host" -target_name="my_machine"
Example
The following example initiates the corrective action for the event with the ID 0123456789ABCDEF0123456789ABCDEF.
emcli trigger_compliance_ca -event_instance_id="0123456789ABCDEF0123456789ABCDEF"