Regex
The Regex control searches for lines in configuration files that match a given regex pattern and verifies connections, for example, to TCP, logging, console timeouts and encryption on passwords.
To create a new regex control, complete the following steps.
- On the toolbar, click Compliance > Controls.
- Click Create.
- Select Regex.
- 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 Control Properties section.
- Enter the Match Pattern in the text box.
- For Scope, select All Files or Specific Files and then specify the files.
- In the Evaluation section of Control Properties, select Fail if Pattern Matches, Fail if No Pattern Matches or Information Only.
- In the Device Test Conditions section of Control Properties, 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.