Configuration Compliance remediation target rules
Summarize
Summary of Configuration Compliance remediation target rules
Configuration Compliance remediation target rules enable you to define expected time frames for remediating test results within ServiceNow’s Configuration Compliance. These rules automate the calculation of remediation target dates, send notifications to users or groups when deadlines approach or are overdue, and help streamline vulnerability management processes.
Show less
A scheduled job, Evaluate and notify remediation targets, runs daily to evaluate active test results against these rules, updating remediation dates and statuses accordingly. This functionality supports efficient tracking and management of remediation efforts and integrates with the Vulnerability Manager Workspace for improved performance when evaluating remediation targets.
Key Features
- Creation and management of remediation target rules: Define rules specifying remediation deadlines, conditions for applicability, and notification settings for users and groups.
- Automated daily evaluation: The scheduled job assesses active test results, calculates or updates remediation target dates, and triggers notifications for upcoming or missed deadlines.
- Rule lifecycle management: You can enable, disable, or delete rules. Disabled rules stop applying to new test results but continue tracking existing ones. Deleting rules clears remediation data on open test results and reapplies dependent rules.
- Manual application of changes: After modifying rules, you can manually apply changes immediately instead of waiting for the daily job, which is useful for large volumes of test results.
- Visual indicators and reporting: Remediation target dates and statuses appear on test result forms and list views using color-coded dots (green, orange, red) to represent status. These visuals are also reflected in the Configuration Compliance Dashboard.
- Most restrictive rule applies: When multiple rules apply to a test result, the rule with the most stringent remediation deadline governs the remediation target date.
- Terminology updates: From version 14.9, terms have been updated for clarity (e.g., Test Result Group is now Remediation Task Group).
Using Remediation Target Rules
Access remediation target rules via All > Configuration Compliance > Administration > Remediation Target Rules. You can create new rules or edit existing ones, specifying:
- Name and description for the rule
- Active status (enable or disable)
- Target (days) to set remediation deadlines (default is 30 days)
- Target from (date) to determine the start date for calculating remediation deadlines (e.g., Last pass, Last seen)
- Notification lead time specifying how many days before the deadline users/groups are reminded
- Condition builder to define which test results the rule applies to (e.g., conditions based on risk scores)
- Users and user groups to notify about approaching or missed remediation deadlines
After saving changes, click Apply Changes to immediately enforce rule updates or wait for the daily scheduled job to apply them.
Practical Considerations for ServiceNow Customers
- Use remediation target rules to proactively manage remediation timelines and ensure compliance with security policies.
- Leverage notifications to keep relevant teams informed about impending or overdue remediation tasks, enhancing accountability.
- Apply manual rule changes immediately when working with large datasets to avoid delays in remediation target updates.
- Visual indicators in list views and dashboards provide quick status insights, aiding efficient monitoring and reporting.
- Utilize the Vulnerability Manager Workspace for more efficient remediation target date evaluations on selected test results, reducing processing time compared to the classic UI.
- Understand that deactivated rules stop applying to new test results but remain effective for existing ones until reactivated or cleared.
With remediation target rules, you can set the expected time frames for remediating test results. You can send notifications to users and groups when target dates are approaching and when they are past due.
| Terminology prior to v14.9 | Terminology v14.9 onwards |
|---|---|
| Test Result Group | Remediation Task |
| Group Rules | Remediation Task Rules |
| Policy | Test group |
Remediation target rules
A scheduled job, Evaluate and notify remediation targets, runs daily and uses active remediation target rules to evaluate active test result records. Whenever test result records associated with remediation tasks are updated or changed, the modified values are evaluated by the target rules, and changes are rolled up and displayed on associated remediation tasks.
You can edit, disable, or delete existing remediation target rules and create new ones. When you change, disable, or create a new rule, you have the option to click Apply Changes from the Remediation Target Rules list view and manually apply the changes you introduced before the next scheduled job. With this option, you can reevaluate your test result records without having to wait. If you do not choose to apply your changes manually, the next daily scheduled job picks up your changes and applies them.
- Navigate to to view remediation target rules.
Figure 1. Apply Changes on Remediation Target Rules list view - Click a rule in the Name column to open its record.
- Select the Active check box on the Remediation Target Rule record to enable (true) any disabled rules (false).
Whenever you change or add a target rule, regardless of whether you choose to apply the changes manually or wait for the next scheduled job, your changes are used to evaluate all active test results along with any other target rules that are affected by your changes. When you choose to manually apply the changes, this evaluation may take some time if you have a large volume of active test results, because all the rules impacted by your changes are used for an evaluation.
For example, the default value for targeted remediation days is 30. If you create a new rule that also has 30 for Targeted remediation days, this rule, and any target rules with 30 days or greater as target dates are each applied to your test results.
Deactivated and deleted target rules
When a rule is active, true is displayed in the Active column on the Remediation Target rules list view. After a rule is deactivated (false), it is no longer applied to new test results. However, the scheduled job continues tracking any existing test results the rule was applied to. If the deactivated rule or rules are subsequently reactivated, any test result with an empty Remediation Target Date field is evaluated against the reactivated rules. This includes test results created while the rules were deactivated.
When rules are deleted, the Remediation Target Date and related fields on closed test results are preserved. The Remediation Target Date and related fields on non-closed test results are cleared, and any dependent rules are reapplied.
To deactivate a rule, from the remediation target rule record, disable the active check box and click Update. False is displayed in the Active column on the Remediation Target Rules list view.
To delete a rule, click Delete on the form, or, alternatively, from the list view, select the rule or rules, and click Delete from the Actions on rows list. The rule is no longer displayed on the list and the next rule in the order of operation replaces the deleted rule.
If you deactivate or delete a rule and choose to apply your changes prior to the next scheduled job, the rule reference is cleared from the field, but the remediation date and status data are preserved. If you do not apply your changes manually, the rule reference is cleared from the field with the next scheduled job.
About Target rules and the Evaluate and notify remediation targets scheduled job
- Are not in a Closed state.
- Have no remediation target date.
- Have remediation target dates that are later than the dates in the remediation target rules.
- Are created after a scanner import is completed. The scheduled job picks up and evaluates any new test results that are created as a result of an import.
After a target rule is defined, remediation target dates are calculated by the Evaluate and notify remediation targets scheduled job. The scheduled job adds a remediation target date, if one does not exist, or, if this rule contains an earlier date than the one in the record, it updates the existing target date.
Any expired records and reminder dates that match the target rules are picked up by the job and notifications are sent. For disabled rules, the job clears the remediation fields on test result records and stops sending notifications.
The sn_sec_cmn.evaluate_targetmissed_records property, when enabled, prevents the Evaluate and notify remediation targets scheduled job from evaluating Target missed Test Results. This property is enabled by default.
Viewing target dates and status on the list and form views
Configuration Compliance managers can see the remediation target date from both the test result form and list views. Remediation target rules are also run after a scanner import and rerun if a test result is reopened.
Use the slushbuckets in the Settings and Additional action menus, respectively, as shown in the following images to display these columns and fields. For the Additional action menu on the test result record, click the menu icon, followed by Configure and Form layout to view the slushbucket and move the fields from Available to Selected.
The Remediation target date is coded on the Test Results list view as colored dots:
- Test results that have not reached their notification date are shown in green.
- Test results approaching the remediation target date are shown in orange.
- Test results past the remediation target date are shown in red.
- Target Missed: the target date is past due
- In-flight: the test result is in progress
Test result records are also displayed visually on the Configuration Compliance Dashboard. Navigate to and check the dashboard for status. The Overview includes existing widgets and remediation status. The colors of the graphs match the colors displayed in the Test Results list view and Test Result record.
Remediation target rule scenario
When multiple remediation target rules are applied to the same test result, the most restrictive rule is applied.
For example, if a test result first identified on 03/01/2018 meets the conditions for two remediation target rules:
- Remediation target rule 1: Defined on 03/07/2018; remediation target is 15 days since first seen; calculated remediation target date is 03/16/2018 10:00:00.
- Remediation target rule 2: Defined on 03/10/2018; remediation target is 10 days since first seen; calculated remediation target date is 03/11/2018 10:00:00.
Remediation targets are calculated from the Last seen date plus the number of days (measured as 24-hour increments).
Starting from V14.5, remediation targets are calculated from the Target from (date). The default value remains Last Seen. Starting from v14.12, the default value is Last pass.
In this scenario, Remediation target rule 2 applies to the test result, because it has the more restrictive date: 10 days since the test result was first identified versus 15 days.
Create or modify target rules and reapply changes
- Navigate to to view, edit, and create new remediation target rules.
- In the Name column, click a rule to open a target rule and edit the record, or, alternatively, click New to create a new target rule.
- Fill out the form to define the expected remediation time frame, specify which test results this rule to applies to with conditions, and determine when to send reminders to users or groups, or both.
Table 2. Field Description Name Name for your rule. Active Enable or disable the rule. The rule is automatically enabled (true) by default and will be applied to your test results if you choose to apply changes manually or after the next scheduled job. Target (days) Set the targeted deadline date for remediation in number of days. The default value for targeted remediation days is 30. For example, if you create a new rule that also has 30 for a Target value, your new rule and any other existing rules that also have 30 days or greater as target dates will be applied to your test results.
V14.5: Target from (date) Date from when the target dates are computed. You can specify only the date or the date and time type fields. Starting from v14.12, the default value is Last pass. Select one of the following: - Last seen
- First seen
- Created
- Last pass
If the last pass is empty, the Created date is considered for the calculation of remediation target.
Notify (days before due) Set a number of days before the deadline date to remind users and groups. Description Short description of the rule. Condition Use the condition builder to specify the test results this rule applies to. For example, set a remediation target date of 30 days for all test results with risk scores greater than 70. Send reminders to users or groups, or both, seven days prior to the remediation date. Case sensitivity for the search text you enter in the condition builder is not supported on this record or form. Prior to v 12.0, case sensitivity is supported for the search text you enter in the condition builder.
User and user groups or both Select users or groups, or both to send notifications about the approaching and past due target dates you have set. - Click Submit. Alternatively, to save edited rules, click
Update.
The list view is displayed with your updated or new rule. Rules in the list are ordered and run starting with the rule with the lowest remediation target date. If you disable or delete a rule, the next rule in the order sequence replaces the inactive or deleted rule.
- To apply your new changes now, click Apply Changes.Important:As an admin or analyst, you can obtain the latest remediation target date for selected test results in the Vulnerability Manager Workspace. This method is more efficient than running the Remediation Target Rules for all test results in the classic UI, which is a time-consuming process. For more information, see Re-evaluate the remediation properties of the records in the Vulnerability Manager Workspace.