Configure a WMI Query Check control to use a WMI query to check compliance on Windows hosts. You tell us the namespace to be evaluated and the WMI query you want to use. We'll report compliance posture at scan time.
The statement you provide is like the control name that describes what it is and how it should be implemented in the environment. You'll also need to decide which category the control belongs to. This is important because users can search and filter controls by category, they can also search by keywords in the statement.
The scan parameters are used to gather data needed for compliance evaluation at scan time.
Click Add Parameters, and make these settings:
File/Directory path - This is the path to the Unix file or directory to be evaluated.
Enter a WMI namespace. This value is case sensitive and can have a maximum of 1000 characters. These characters may be included: a-z, A-Z, 0-9, \ (backslash), and _ (underscore). The namespace cannot include the hostname of a local or remote machine.
Enter a WMI query to be used for this control. This value can have a maximum of 4000 characters. WQL syntax is fully supported with these restrictions: 1) wildcard queries are not supported, and 2) REFLECTORS OF and ASSOCIATORS OF keywords are not supported.
You'll see that "string list" is selected as the data type for this control type. This means the scan will return a list of string values.
The control description will appear in compliance policies and reports. If you change the description at a later time, the description will be updated for all controls that use the same set of parameters.
Your control may apply to many technologies. Select each technology you're interested in and provide a rationale statement and expected value.
Time Saving Tip: If you plan to enter the same settings for each technology you only need to do it once. Make your selections in the "Default Values for Control Technologies" section first and then select the check box for each technology you want. You'll see that the settings get copied automatically to each technology that you select.
Make these settings:
Rationale - Enter a rationale statement describing how the control should be implemented for each technology.
Cardinality - Select a cardinality for the control. Tell me about cardinality options
Several cardinality options appear as shown in the table below. X represents the value returned by the scanning engine and Y represents the expected value defined for the control.
Operator - (View only) The operator "regular expression list" is used to compare the results to the default value, which is specified as a regular expression.
Default Value - Enter the expected value for each technology as a regular expression. A list of strings returned in the scan results will be compared to the regular expression using the selected cardinality.
Knowing the format of the permissions information returned, you can write a regular expression that will match your pass/fail conditions. Learn more
Add up to 10 references for the control. These may be references to internal policies, documents and web sites. For each reference, enter a description, a URL or both. When providing a URL, you must start the URL with http://, https:// or ftp://. For example, enter http://www.qualys.com to link to the Qualys web site. Once added users have the option to include references in policy reports..