Configuration Compliance assignment rules route test results to the group responsible for remediation. Set conditions, choose how the group is determined, and order specific rules ahead of general rules. The first matching rule supplies the assignment group, which remediation task rules can then use when creating or grouping remediation work.
Plan configuration compliance assignment rules around ownership
Start with the team that can act on a failed configuration test. A rule should express an ownership decision that remains understandable when someone investigates a misrouted result. For example, a specialist database group might own a defined set of database findings, while a broader infrastructure group handles the remaining infrastructure results.
Write down the intended conditions, the destination group, and the exception that would require another rule. Treat these as design decisions before editing the form. A condition that identifies a technology does not by itself establish which team accepts responsibility for it. Ask the receiving group which exceptions it would return, then turn those exceptions into explicit condition boundaries.
Assignment runs after CI matching and risk score calculation. Those earlier stages matter when your routing depends on the matched configuration item or its calculated risk. If ownership should follow the CI, review the relevant group data before relying on it. A routing rule cannot compensate for an ownership model that your CI records do not represent.
The delivered rule, Assign to CI support group, is inactive by default. Decide whether its support-group approach fits your operating model before activating it. For the wider ownership context, see assignment rules and assignment groups.
Create the rule and choose its assignment method
Creating or editing a Configuration Compliance assignment rule requires sn_vulc.admin. Navigate to All > Configuration Compliance > Administration > Assignment Rules. Open the delivered rule to adapt it, or select New to create a separate rule.
- Enter a Name that identifies the ownership decision. Use Description to explain why this group receives these results.
- Set Execution order. Lower numbers run earlier, so reserve earlier positions for exceptions that must take precedence.
- Set Active according to whether the rule should participate in routing.
- Build the Condition using the available condition fields. Use New Criteria when you need additional filter fields.
- Choose the assignment method in Assign using, complete its group selection or script, and select Submit.
The form supports selecting a fixed user group, selecting a user group field, or using a script. A fixed group suits a stable ownership boundary. A group field suits ownership that varies with the configuration item. The CI-based choices include Configuration Item: Approval Group, Configuration Item: Assignment Group, and Configuration Item: Support Group.
Choose the field that represents remediation ownership in your data model. An approval group and a support group can serve different purposes, even if both are populated. Inspect representative CI records and confirm that the selected group is the one expected to resolve the finding.
Use scripting when the routing decision requires logic beyond the available selections and you have the necessary ServiceNow expertise. Keep the intended outcome documented so reviewers can assess the ownership decision as well as the code. Case sensitivity is not supported for condition-builder search text on assignment rule records, so capitalization cannot separate two routing outcomes.
Order exceptions before broad routing rules
Assignment evaluation stops at the first matching rule. This makes execution order part of the ownership logic. A broad rule near the beginning can prevent a later specialist rule from receiving results, even when that later rule’s conditions also match.
Put rules for critical risk or special compliance handling first. Place general rules after them. If you need a final route for unresolved ownership, create a last-running rule that sends the remaining results to a group responsible for deciding where they belong. Agree on that group’s review process before using it as a catch-all.
For a proposed specialist rule, identify one result it should capture and one similar result it should leave to the general rule. Compare both against earlier conditions. This review exposes overlap more clearly than reading each rule in isolation. If none of the rules match, the test result remains unassigned.
Keep scoring and ownership decisions distinct. A risk threshold may be a condition for special handling, but an assignment rule chooses the responsible group. Review Configuration Compliance calculator rules when the question concerns how a risk value is calculated rather than who receives the result.
Apply changes and verify existing results
New imports and results reopened after closure are assignment evaluation points. New or updated rules are evaluated on the next import, and Apply Changes on the Assignment Rules list reruns changed rules against active Open test results, excluding manually assigned records. Saving a rule should therefore be followed by a deliberate decision about the existing backlog.
Before applying changes, assemble a small review set: a specialist match, a general match, an expected nonmatch, and a manually assigned result. Record the current group and expected outcome for each. After reapplication, inspect the assignment group and assignment type. Investigate a mismatch by checking earlier rules, the actual condition values, and any manual assignment history.
The scheduled job Reapply all assignment rules is inactive by default. When activated, it evaluates open test results against active rules while excluding manual assignments. Its scheduling choices include Daily, Weekly, Monthly, Periodically, Once, and On Demand. Set a review owner for unexpected group changes before activating it.
For large backlogs, consider the size of the affected population before a broad rerun. A rule change that corrects ownership can also move work between teams. Tell those teams which results should change and how you will confirm the outcome. For help planning this work, see ServiceNow implementation.
Check remediation tasks after test-result routing
Remediation task rules run after assignment rules. They organize test results into work that teams can handle together. The delivered Assignment group, Test rule groups by the result’s assignment group and Test field; it is deactivated for new implementations from Configuration Compliance 14.7.. Check the behavior and labels on your instance and release before changing the delivered configuration.
A remediation task rule groups test results by the Group By keys you select, then assigns each resulting group by a User group or a Group key. Choose the keys so that results sharing an owner also share a task. A correct result assignment therefore needs a compatible task-grouping design.
Creating or editing remediation task rules also requires sn_vulc.admin. Review them under All > Configuration Compliance > Administration > Remediation Task Rules. See Configuration Compliance remediation for the surrounding work process.
Changing a remediation task’s assignment can roll down to its associated test results. Results with a different assignment group are excluded from that roll-down. A task-level group change marks affected results as manually assigned, making them ineligible for subsequent assignment-rule evaluation. Check this history before concluding that a changed rule failed.
Monitor rejected ownership and refine conditions
The sn_vulc.remediation_owner role allows users to view and update results and remediation tasks assigned to them or their groups. Owners who identify work outside their responsibility can use Unassign on eligible records. That action is displayed in states other than Closed or Resolved.
Unassignment can involve approval and a configured destination group. Review that workflow before using it as a response to a routing mistake. Treat repeated returns as evidence to inspect the rule’s conditions, rather than repeatedly correcting individual records without addressing the underlying ownership boundary.
A vulnerability administrator can review Reassignment count – manual items and Reassignment count – unassigned items on the Assignment Rules list. The Reassignment count for assignment rules job posts daily counts. Compare the affected records with the rule’s intended scope before changing it; the count identifies a review candidate, not the reason ownership was rejected.
Questions about assignment-rule maintenance
Does assigning the itil role help remediation owners access their work?
The sn_vulc.remediation_owner role is automatically assigned with itil. It can also be assigned directly. Check the user’s actual roles and assigned groups when investigating access to remediation records.
Can one test result appear in several remediation tasks?
When checking a routing complaint, first identify which remediation task the owner means, because the group shown on one task is only part of the assignment picture. When checking a routing complaint, identify which task the owner means before interpreting its group as the complete assignment picture.
Who can change the approval requirement for unassignment?
An administrator with sn_vulc.vulnerability_admin can set sn_vulc.unassign_test_result_group.approval_required to false to disable that approval process. Decide who should review rejected ownership before changing the requirement.
Where can assigned owners find their open work?
Use Configuration Compliance > Test Results > My Open Test Results, or Configuration Compliance > Remediation Tasks > My Open Tasks. These views help an owner inspect the records assigned to them or their assignment groups.