Configuration Compliance remediation tasks and remediation task rules overview
Summarize
Summary of Configuration Compliance remediation tasks and remediation task rules overview
Configuration Compliance enables ServiceNow customers to efficiently manage remediation by automatically creating and grouping Remediation Tasks (RTs) based on configurable remediation task rules. This automation helps in bulk analyzing and addressing test results without manual grouping, improving operational efficiency and risk management.
Show less
Starting with version 14.9, terminology has been updated: "Test Result Group" is now "Remediation Task Group," "Rules" are now "Remediation Task Rules," and "Policy" is now "Test Group."
Understanding Remediation Tasks
- Remediation tasks group related test results to facilitate bulk actions such as moving through remediation states, marking as under investigation, deferring, or resolving.
- Test results can belong to multiple remediation tasks, allowing flexible management based on organizational needs (e.g., grouping by assignment or technology).
- Remediation tasks can be created manually (empty or filtered) or automatically via remediation task rules. Manual additions are not automatically removed by rules.
- Users with the snvulc.remediationowner role can view and update remediation tasks assigned to them or their groups.
- State changes in remediation tasks can cascade to associated test results to maintain consistency.
Understanding Remediation Task Rules
- Remediation task rules automate how test results are grouped and assigned into remediation tasks based on conditions and grouping keys.
- A default rule grouping by Assignment group and Test exists but is disabled by default.
- Rules can use up to six grouping keys and multiple conditions, allowing grouping by various attributes such as assignment group, technology, configuration item (CI), or risk severity.
- Rules are evaluated when new test results are imported or reopened, after CI matching, risk scoring, and assignment rules.
- When a test result matches a rule, it is added to an existing open remediation task with the same assignment group or a new remediation task is created and assigned accordingly.
- Multiple rules can be defined to cater to different risk levels or organizational requirements; however, excessive rules may impact performance.
- Deleting a remediation task rule offers the option to remove all open remediation tasks created by that rule.
- Assignment changes on remediation tasks propagate to test results unless the test result’s assignment group differs.
Additional Features
- Starting with version 14.3, deferral counts for test results and remediation tasks are tracked in the Multiple Deferrals module, with daily updates reflecting how many times an item has been deferred.
- Administrators and analysts can efficiently reevaluate remediation task rules for selected test results within the Vulnerability Manager Workspace, offering a streamlined alternative to the classic UI.
Practical Implications for ServiceNow Customers
By leveraging remediation task rules, customers can automate the grouping and assignment of compliance test results, reducing manual effort and accelerating remediation workflows. This capability supports better risk prioritization and bulk management of vulnerabilities or configuration issues. The ability to track deferrals helps monitor items delayed for remediation, supporting governance and reporting needs. Assignment roll-down ensures consistency between remediation tasks and their test results, simplifying task ownership management.
Automatically create Remediation Tasks (RTs) to analyze results in bulk using remediation task rules. The criteria by which groups are formed is configured so that you do not have to manually assign test results into groups.
| Terminology prior to v14.9 | Terminology v14.9 onwards |
|---|---|
| Test Result Group | Remediation Task |
| Group Rules | Remediation Task Rules |
| Policy | Test group |
Understanding remediation tasks
Remediation tasks represent a set of test results to remediate. Grouping test results has many advantages. You can move test results through the remediation states, mark them under investigation, defer them, mark them resolved in bulk by using groups. You can create conditions to automatically group all results with specified results, technologies, risk scores, and any other data related to the test results. Test results can belong to more than one remediation task giving you the flexibility to actively work with one remediation task and monitor another. It all depends on your organizational needs. For example, you could group by assignment, and also create a remediation task containing technologies.
- Manually, using one of two options, to add test results to the remediation task.
- Manual: creates a remediation task with no entries. Test results must be added manually.
- Filter: creates a remediation task and uses conditions to automatically add test results to that remediation task.
Note:Manually added test results are not automatically removed from remediation tasks by remediation task rules or remediation task conditions. - Automatically, using remediation task rules. This option is the easiest option, once configured, remediation task rules create all desired remediation tasks.
From a remediation task, the group of test results may be assigned to a user, deferred until later, used to create a Change Request, and so on.
With the sn_vulc.remediation_owner role, you can view and update test results and remediation tasks that are assigned to you or to your assignment groups. To view the modules, navigate to , or .
When it is determined that a new test result can be added to a remediation task, the test result is included in the Test Results related list of the remediation task.
When updating the state of a remediation task, associated test results can have their state updated to match this remediation task. For more information on state changes, see Configuration Compliance states.
Understanding remediation task rules
Remediation task rules allow you to define how test results are automatically grouped and assigned. A default rule, Assignment group, Test, is included in the base system grouping test results based on a test result Assignment group and the Test field. This rule is disabled, by default. You can group by any other set of values in columns accessible from the test result. You can use up to six keys and any number of conditions. For more information, see Create or edit Configuration Compliance remediation task rules.
For example, you can group your test results by assignment group or technology and configuration item (CI). A different set of rules can be used for test results that expose the company to more risk. You can have one remediation task rule for low severity or low risk CIs. See Test Results fields for more information on available fields.
When a new test result is imported, or reopened after being closed, the remediation task rules are evaluated against it. A test result is only evaluated once, unless it is reopened after being closed.
Remediation task rules are evaluated after CI matching, risk score calculations, and assignment rules.
- For each remediation task rule, the test result is compared to the condition filter.
- For each rule where the rule condition matches, it pulls the data from the group key columns on the test result. The rule checks to see if there is a matching Open remediation task that is assigned to
the same assignment group as the test result.
If the remediation task is found, the test result is added to the existing remediation task in the Open state.
If no remediation task in the Open state is found, the rule creates a remediation task, assigns it based on the User Group or Key value in the rule, and places the test result in it.
More than one test result rule can be defined, to group different kinds of results. Since each result is compared with the rule conditions before putting it in a remediation task, too many rules may have a performance impact.
When a remediation task rule is deleted, you have the option to delete all open remediation tasks created by the rule. This applies to both the rule form view and list view.
When a remediation task assignment is made or changed, the Assignment group and the Assigned to fields roll down to all test results, except for those where the test result has a different assignment group than the RT. For more information on assignment rules, see Configuration Compliance assignment rules overview. These assignments are used automatically for this group on the next import.
Track deferral counts for test results and remediation tasks
Starting with v14.3, track the number of times a test result or a remediation task is deferred in the Multiple deferrals module. A scheduled job, set deferral counts, runs daily to post counts for records that are deferred more than once in the Deferral count column in the records that are listed in the Multiple deferrals module.