Document toolboxDocument toolbox

Creating New Rules

To create a new rule, you choose a severity level for the rule, define any remediation instructions as a descriptive text for the rule, and select an editor type. Do the following:

  1. In the Rules tab, click Add in the upper left corner. The Add Rule dialog appears.

  2. In the Add Rule dialog, enter the Short Name, Name, and Author.

  3. Select a Severity.

  4. Enter a Description.

  5. (Optional) Enter Remediation instructions.

  6. Click Save.
    The new Rule appears in the left pane of the Rules page and defaults to the Simple Rule editor.

  7. Select a rule editor in the upper right corner: see the respective topics for Using the Simple Rule Editor, Using the CPD Editor, Using the Rule Logic Builder, or Using the Raw XML Editor for more information.

  8. Enter the config file matches using the selected editor.

  9. Click Save in the lower right corner.

  10. Test or validate the new rule (for more information, see Testing Policy Rules).