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.
- On the toolbar, click Compliance > Controls.
- Click Create.
- Select Regex Multi-pattern.
- 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.
- Complete the Regex Multi-pattern Control Properties section.
- Enter a Files(s) to scan and the Capture Group Pattern for the requirement.
If entering multiple files, separate with a comma.
- 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.
- Click the Add
- 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.
- Click the Add
- In the Evaluation section of Control Properties, select either Pass if Test Criteria is Met or Information Only.
- In the Device Test Conditions section of Control Properties, for the control type you are creating, select the Type, Vendor, and Product.
- In the Reporting Properties section, enter text for Pass and Fail results, and any Instructions for remediation.
- Click Save.