Regex Multi-pattern

The Regex Multi-pattern control searches for lines in configuration files using multiple regular expressions to verify whether values are present or not.

To create a new regex multi-pattern control, complete the following steps.

  1. On the toolbar, click Compliance > Controls.
  2. Click Create.
  3. Select Regex Multi-pattern.
  4. In the General Control Properties, complete the following fields common to all control types:
    • Name— type a name for the control.
    • Severity—select the risk level (from 0-9) of vulnerability risk associated with this control.
    • Tags—optional, tag words can be used as an additional search filter option.

    Separate tag words with a space, not a comma.

    • Description—optional, type a description of what the control will be used for.
  5. Complete the Regex Multi-pattern Control Properties section.
    1. Enter a Files(s) to scan and the Capture Group Pattern for the requirement.

    If entering multiple files, separate with a comma.

  6. For the Inclusion Criteria, select Matches or Does Not Match and then enter the Match Pattern.
    • Click the Add icon to add additional match patterns.
  7. For the Test Criteria, select Matches or Does Not Match and then enter the Match Pattern.
    • Click the Add icon to add additional match patterns.
  8. In the Evaluation section of Control Properties, select either Pass if Test Criteria is Met or Information Only.
  9. In the Device Test Conditions section of Control Properties, for the control type you are creating, select the Type, Vendor, and Product.
  10. In the Reporting Properties section, enter text for Pass and Fail results, and any Instructions for remediation.
  11. Click Save.