Configuration Compliance remediation target rules
Summarize
Summary of Configuration Compliance Remediation Target Rules
Remediation target rules in Configuration Compliance allow administrators to define expected time frames for addressing test results, facilitating notifications to users and groups as deadlines approach or are missed. This streamlines the management of vulnerabilities and ensures timely remediation efforts.
Show less
Key Features
- Efficient Evaluation: Use the Vulnerability Manager Workspace to obtain the latest remediation target dates efficiently, avoiding the slower classic UI method.
- Scheduled Jobs: The daily job, "Evaluate and notify remediation targets," assesses active test results based on defined rules, updating remediation target dates as needed.
- Rule Management: Create, edit, disable, or delete remediation target rules with options to apply changes immediately or wait for the scheduled job.
- Visual Indicators: The test results list view and Configuration Compliance Dashboard display the status of remediation targets using color coding for easy identification of deadlines.
- Notifications: Customize reminders for users or groups regarding upcoming and overdue target dates, enhancing accountability and action.
Key Outcomes
By effectively using remediation target rules, ServiceNow customers can ensure timely remediation of vulnerabilities, improve compliance tracking, and enhance overall security posture. The ability to manage rules dynamically and receive timely notifications helps organizations stay proactive in addressing compliance issues.
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. Remediation Target Rule form 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.
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.
- Last Opened
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.