assign_compliance_ca
Triggers a corrective action for a specified rule.
Format
emcli assign_compliance_ca -rule_iname="<rule_internal_name>" -target_type="<target_type>" -ca_name="<correction_action_name>"
Options
-
rule_iname
Internal name of the compliance standard rule. Rule internal names are available in the MGMT$CS_RULE_ATTRS view.
-
target_type
Target type associated with the compliance standard rule.
-
ca_name
Name of the corrective action.
Example
The following example assigns the my_action corrective action to the my_rule compliance standard rule which is located in the host target.
emcli assign_compliance_ca -rule_iname="my_rule" -target_type="host" -ca_name="my_action"