get_compliance_rule_ca

Returns a corrective action identifier for the specified rule internal name optionally filtered by the target type.

Format

emcli get_compliance_rule_ca 
     -rule_iname="<rule internal name>" 
     [-target_type="<target_type>"]

[ ]  indicates that the parameter is optional.

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. Use this option to restrict the search to the specified type of target.

Example

The following example retrieves the corrective action identifier for the myrule compliance standard rule.

emcli get_compliance_rule_ca 
      -rule_iname="myrule"