Configuration Compliance assignment rules overview
Summarize
Summary of Configuration Compliance Assignment Rules Overview
This overview outlines how to define criteria for automatic assignment of test results to remediation groups in Configuration Compliance. The system includes a default assignment rule that directs test results to the CI Support Group, although it is inactive by default. The assignments made by these rules are utilized by Remediation Task Rules to designate owners for remediation tasks.
Show less
Key Features
- Assignment Methods: Test results can be assigned automatically in three ways:
- Assignment Group: Select from existing ServiceNow AI Platform® user groups.
- Assignment Group Field: Choose from predefined fields in the cmdbci table.
- Script: Define conditions using custom scripts (requires advanced expertise).
- Role-Based Access: Users with the snvulc.remediationowner role can view and update assigned test results and remediation tasks.
- Assignment Rule Evaluation: Rules are evaluated upon import or when test results are reopened, with the lowest order rule applied first.
- Manual Rule Reapplication: Users can manually reapply rules after modifications, and an inactive scheduled job can be activated to reapply rules on open test results.
Key Outcomes
By using assignment rules effectively, users can ensure that test results are properly assigned to the relevant remediation groups, streamlining the remediation process. Remediation tasks typically align with the same assignment group as the test results, facilitating efficient management of tasks. Administrators can also adjust assignments directly from remediation task records to correct any misallocations.
Define the criteria by which test results are automatically assigned to an assignment group for remediation.
| Terminology prior to v14.9 | Terminology v14.9 onwards |
|---|---|
| Test Result Group | Remediation Task |
| Group Rules | Remediation Task Rules |
| Policy | Test group |
A default assignment rule, Assign to CI support group, is included in the base system assigning test results to the CI Support Group. Inactive by default.
The Assignment groups set by the Assignment Rules are used by Remediation Task Rules to assign owners to remediation tasks (RTs).
Assigning test results automatically
- Assignment group: This option allows you to select any of the existing ServiceNow AI Platform® user groups.
- Assignment Group Field: This option allows you to choose any assignment group field
available using the cmdb_ci table. By default you see the following three group
fields:
- None: Indicates no default value for this mandatory field
- Configuration Item: Approval Group
- Configuration Item: Assignment Group
- Configuration Item: Support Group
- Script: This option allows you to define the conditions using a script. This option requires coding or advanced ServiceNow® expertise.
With the sn_vulc.remediation_owner role, you can view and update test results and remediation tasks that are assigned to them or to their assignment groups. To view the modules, navigate to , or .
The sn_vulc.remediation_owner role can be assigned directly to a user, or, it is automatically assigned when you assign a user the itil role.
Assignment rule evaluation process
When a new test result is imported, or reopened after being closed, the assignment rules are evaluated against it. The assignment rules are evaluated after CI matching, and Risk Score calculations. A test result is only automatically evaluated upon initial import and when a rule is changed, unless it is reopened after being closed. You can manually reapply rules after changes.
- For each test result assignment rule, the test result is compared to the assignment filter, lowest order rule first.
- Where the condition matches, the test result is assigned an assignment group. The lookup stops.
- Where the conditions do not find a match among all the rules, the test result remains unassigned.
Reapplying assignment rules
Assignment rules and remediation task assignment
Usually, you would assign your remediation task (RT) to the same assignment group as the test results in it. That is what the remediation task rules do, by default.
For example, if your RT groups by configuration item class, the remediation task created can be broken apart by the different assignment groups. An Oracle Database TRG can be assigned to Group 1, and an Oracle Database TRG assigned to Group 2.
When the assignment group is changed at the remediation task level, all the test results in that remediation task which have same assignment group are updated to the new assignment group. The test results are marked as manually assigned and are not eligible for further rule evaluation.