ComponentException - addRuleToException
ComponentException - addRuleToException
Description :
This command adds a compliance rule to a compliance exception.
Return type : DBKey
Command Input :
Variable Name | Variable Type | Description |
---|---|---|
componentKey | DBKey | DBKey of the component. |
Name | String | Name of the exception |
templateGroupName | String | Fully qualified template group name. |
templateName | String | Name of the template. |
ruleName | String | Fully qualified name of the rule. |
Example
The following example will add an existing compliance rule to a component exception object.
Script
ComponentException addRuleToException $componentKey$ $Name$ $templateGroupName$ $templateName$ $ruleName$
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*