Creating a Compliance Rule using a Constant
This compliance rule finds all clients on which the CM client is not installed in its default directory. This rule will use a constant instead of entering a value or selecting it from the lists provided by the search functionality. This rule will have one criteria group.
- Click Create Compliance Rule
. - Enter CM Client Installation Directory into the Name box and then click OK .
- Double-click the new rule in the table to the right.
- Select the Criteria tab.
- Click Add Criteria Group
. - Enter Client Path into the ** box.
This group will find all devices on which the client is installed in the specified directory.
- In the Class list, select the Software Inventory value.
The following Table box will update its contents to the fields available for the software inventory. - Select the value Scanned Application (Deprecated) in the Table box.
- Select the criterion Installation Directory .
- Click Constant
next to the Value box. - Select the PATH CM Client constant and click OK .
- Click Add
. - Click OK to add the criteria group to the rule.
- To activate the compliance rule select the green colored option active instead of the currently displayed red option inactive in the Status list.
You have now created a compliance rule that uses a constant. To check for device compliance assign this rule to the required devices/device groups and evaluate.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*