Assigning findings to remediation teams using assignment rules
Summarize
Summary of Assigning findings to remediation teams using assignment rules
Assignment rules in the Security Exposure Management Workspace automate the process of assigning security findings—such as vulnerable items (VITs), application vulnerabilities (AVITs), container vulnerabilities (CVITs), and configuration test results (CTRs)—to appropriate remediation teams. This automation streamlines triage, improves consistency, and enhances visibility across your security and compliance programs.
Show less
These rules can be applied when findings are created, reopened, or modified, allowing you to ensure that remediation tasks are consistently directed to the right groups without manual intervention.
Key Features
- Flexible assignment methods: Assign findings by selecting a user group, using an assignment group field based on configuration items (cmdbci table), or defining complex conditions with scripts for advanced customization.
- Rule evaluation order: Rules are processed in ascending order of execution priority, applying the first matching rule to a finding, with a default fallback rule if no matches are found.
- Execution order management: Prioritize critical or compliance-related rules first, then general rules, and finally a default catch-all rule, which can be easily reordered via drag-and-drop in the workspace.
- Rule application methods: Apply rules automatically using a scheduled job (which can be configured for frequency and scale), manually via a Reapply button, or dynamically through a business rule that triggers on finding creation or modification.
- Automated regrouping: Optionally enable automatic regrouping of findings when assignment groups change by activating a specific system property, ensuring remediation tasks reflect current rule logic.
- Impact on remediation tasks: Assignment groups influence how findings are grouped into remediation tasks; changing a remediation task’s assignment group updates all associated findings and excludes them from further automatic reassignment.
Special Considerations for Finding Types
- Vulnerable Items (VITs): The base system includes a rule assigning findings to CI support groups; use rule order to prioritize critical and fallback rules.
- Container Vulnerable Items (CVITs): Only one matching rule applies; non-open or manually assigned CVITs are ignored by assignment rules.
- Configuration Test Results (CTRs): Follow similar assignment logic; the default assignment rule is inactive by default.
Practical Benefits for ServiceNow Customers
By leveraging assignment rules, your security operations teams can:
- Ensure findings are promptly and consistently routed to the correct remediation teams, reducing manual effort and errors.
- Maintain clear visibility into task ownership and status across diverse security findings and asset types.
- Configure and adjust rule execution priorities to align with organizational risk management and compliance requirements.
- Automate regrouping of findings and remediation tasks, keeping assignments aligned with evolving security policies.
- Safeguard performance by scheduling rule application thoughtfully based on your environment’s size and activity.
This capability helps you optimize your security exposure management processes, improving response times and accountability within your remediation workflows.
Assignment rules automatically assign findings, such as vulnerable items, application vulnerabilities, container vulnerabilities, and configuration test results, to the appropriate groups for remediation. This streamlined triage ensures that tasks are directed to the appropriate teams, and enhances consistency and visibility across security and compliance programs.
In the Security Exposure Management Workspace, you can set up a single assignment rule that applies to all types of findings, including vulnerable items (VITs), application vulnerabilities (AVITs), container vulnerabilities (CVITs), and configuration test results (CTRs). This rule can then be applied to all the findings or a specific combination of findings.
- Created (imported or manually)
- Reopened
- Modified (if rules are manually reapplied)
Assigning vulnerable items automatically
- User Group: Assign findings directly to a selected user group.
- User Group Field: Assign any assignment group field available using the cmdb_ci table. Assign based on the assignment group field available using the cmdb_ci table.
- Script: Use a script to define assignment conditions. This option requires coding or advanced ServiceNow® expertise. For more information on how to use the script editor to define complex conditions, see the KB0965240 article.Note:The options for assigning rules using the User group and User group field gets updated based on the tables selected in the Applies to field.
Assignment rule evaluation process
When a new or reopened finding is processed, the system evaluates assignment rules in the following order:
- Ascending order: Rules are processed starting with the lowest execution order.
- First match: The system applies the first rule that matches the finding.
- Default group: If no rule matches, the finding is assigned to a default group (if a default rule is configured).
- Unassigned: If no default rule exists, the finding remains unassigned.
- The default rule should have the highest execution order value to act as a fallback or catch-all.
- Manually assigned findings aren’t reevaluated by assignment rules.
Execution order recommendation
- High priority rules: Run these rules first for items that require special handling, where the risk is critical, or where findings must be addressed for regulatory compliance.
- General rules: Run these rules next for items that do not require special handling and where you have a clear understanding of the responsible parties.
- Default rules: Finally, create a default rule to assign findings to a group that determines the appropriate assignment group. This group can then add additional rules based on their decisions. The default rule should run last.
In the Security Exposure Management Workspace, you can set the execution order of the assignment rules by simply dragging and dropping them to reorder on the Rules list page.
Applying assignment rules
- A scheduled job: The Run assignment rules job runs daily to apply the assignment rules on the findings. It’s inactive by default. You can configure it to run on a set schedule (daily, weekly, monthly, on demand, and so on) based on the scale of your environment. Depending on how many active findings you have in your environment, remember to set the Run field appropriately following the initial run to avoid performance impacts. This job applies to all open findings, excluding those that have been manually assigned.
- The Reapply button: Use the Reapply button to reapply updated rules to all open findings. Manually assigned findings are excluded from this process.
- A business rule: The business rule Link to Remediation Tasks on the Findings table evaluates all the assignment rules and applies them to the newly created or modified findings. To enable the business rule:
- Navigate to .
- Enable Link to Remediation Tasks business rule.
- Select the Active check box to activate the business rule.
- Findings are automatically regrouped under a relevant remediation task or group. If they can't be grouped under an existing group, a new group is created.
- Manual changes don’t trigger regrouping—only rule-driven updates do.
- Remediation tasks themselves aren’t deleted. Only findings are removed or regrouped.
Automating regrouping after assignment group changes
- Navigate to .
- Open the sn_sec_rem.rerun_task_rules system property.
- In the Value field, set the value to true.
Assignment impact on remediation tasks
Assignment rules also influence how findings are grouped and managed in remediation tasks. Remediation task rules inherit assignment groups from findings. For example, if findings across multiple CIs are assigned to different groups, remediation tasks may be split accordingly.
- All findings within that task, sharing original assignment group, are also updated.
- These findings are marked as manually assigned and excluded from further automatic rule evaluation.
Special considerations by finding type
| Finding type | Notes |
|---|---|
| Vulnerable items (VITs) | Base system includes an Assign to CI Support Group rule. Use order to prioritize critical, general, and fallback rules. |
| Container vulnerable Items (CVITs) | Only one matching rule applies. Rules ignore non-Open or manually assigned CVITs. |
| Configuration Test Results (CTRs) | Uses similar logic. Default assignment rule is inactive. Terminology changes as of v14.9 (for example, "Group Rules" → "Remediation Task Rules"). |