OBLYTECH Logo
OBLYTECH Logo

Group vulnerability findings by fix

A remediation task rule can group vulnerability findings that share a fix into one remediation task. Your team then plans and tracks that fix as a single unit of work. Grouping is by fix and assignment group, and the rule must be active. Fix Intelligence for SEM has to link findings to fixes first.

Why group findings by fix instead of by host

A fix such as a patch or a configuration change often clears the same weakness on many systems at once. If each system becomes its own piece of work, the team repeats the same change many times and loses sight of the fact that one action closes all of them. A remediation task rule that groups by fix links the matching findings to a single remediation task, so the change is planned once and tracked once.

Keep one detail in view when you read the grouping: findings join the same group only when they share both the fix and the assignment group. The same fix applied to hosts owned by two assignment groups produces two remediation tasks, one for each group. That default keeps each team’s queue separate, so each group schedules the change against its own hosts. For how assignment groups get set on findings, see the vulnerability response assignment rules.

If the wider record model is new to you, start with the plain-language guide to vulnerability response, then return here.

Check the prerequisites on your instance

Three conditions have to be in place before a fix-based rule groups anything.

  • Fix Intelligence for SEM has linked the findings to fixes. A finding without a fix link has nothing to group by.
  • Your account has the roles required to configure remediation task rules. No single role name is given for this, so confirm which role applies with the administrator of your instance.
  • The default remediation task rule that ships with Fix Intelligence for SEM groups findings by assignment group and fix. It is inactive out of the box, so you either activate it or build a rule of your own.

Behavior can differ between ServiceNow releases. Check the release on your instance before you change a rule that already runs in production.

Decide the scope of a fix-based rule

Scope the rule before you write it. Start with the population you want to work through, such as open host findings for one team, and confirm that those findings carry fix links. A narrow scope typically produces tasks that one team can finish in a sensible time. A broad scope can pull a large number of findings under one fix, which makes the task harder to schedule and its score harder to read.

Decide what happens to findings outside the rule as well. A finding without a fix link stays out of any fix-based group, so it needs its own tracking path. Do not assume a grouped task will absorb it. The wider product context on how findings reach your queues is covered in ServiceNow vulnerability response in security operations.

Create or activate the remediation task rule

If the default grouping suits your teams, activate it and skip the custom steps. Otherwise create a rule for the findings you want to group. The steps below cover a custom rule, and they also apply when you edit an existing rule.

  1. Open the remediation task rule configuration.
  2. Create a new remediation task rule, or edit the one you want to change.
  3. Define the conditions that select the findings. The example uses host vulnerable items where Active is true, so active host findings join a group.
  4. Set the rule to group findings by fix. Assignment group stays in place as the default grouping criterion.
  5. Save and activate the rule.

For help planning this work, see ServiceNow implementation.

Confirm the grouped task on the fix

After the rule runs, the remediation task appears on the fix. Open it and compare the findings it covers with the list you expected. The counts should agree for the fix and assignment group you are checking. If a finding is missing, check its fix link first, then the conditions in the rule, because those two settings decide membership.

The Remediation Task record is where the team runs the full remediation workflow. Keep the change request, any exception request and the investigation on that record, so one remediation task carries the work for one fix. If your team also groups findings at triage, compare the approach with the triage grouping rules so the two do not overlap.

Score a grouped task with the roll-up calculators

A grouped task gets its own risk score from the Remediation Task Rollup Calculator. The calculator rolls up the risk scores for all vulnerable items in the task into one overall score for the group. Its weights decide how much the maximum score, the average score and the item count each contribute.

The rollup calculators run a scheduled job every 15 minutes. The score is recalculated when finding risk scores, remediation targets or statuses change, when finding states change, and when findings are added to or removed from the task. A score can therefore lag a change by up to one scheduled run, so allow for that before you troubleshoot a number.

How the weights combine

The calculator takes three inputs: the maximum risk score among the items, the average risk score, and a count factor based on how many vulnerable items the task holds. Each input is multiplied by its weight, and a higher weight gives that input more influence on the total. A worked example uses weights of 80 for maximum risk score, 5 for average risk score and 15 for count.

Take a task with three vulnerable items scored 30, 40 and 50. The maximum is 50 and the average is 40. A task with fewer than 10 items gets a count factor of 0.2. The total is 40 from the maximum, plus 2 from the average, plus 3 from the count, for a score of 45.

The count factor rises in bands as the task grows:

  • Fewer than 10 vulnerable items: factor 0.2
  • 10 to 100 vulnerable items: factor 0.4
  • 101 to 1,000 vulnerable items: factor 0.6
  • 1,001 to 10,000 vulnerable items: factor 0.8
  • More than 10,000 vulnerable items: factor 1

Deferred findings in the rollup scope

Check the scope setting before you apply it broadly. When All active records is selected, all deferred findings are included in the rollup calculation for remediation tasks. A deferred finding still feeds the score, so a task total can rise after you select this option. Test the change on one task, then decide whether to apply it to other queues.

Problems to check when a grouped task looks wrong

These problems usually trace back to the fix link, the rule conditions or the rollup schedule. Work through them in this order.

  • A finding is missing from the task. Confirm that Fix Intelligence for SEM linked it to the fix and that it meets the rule conditions, such as Active being true.
  • The task is smaller after an update. A finding whose fix link is cleared leaves the fix-based group. Check the fix link on that finding before you change the rule.
  • One fix has two tasks. The findings probably belong to different assignment groups, and the default criterion keeps those groups apart.
  • The score has not moved. The rollup runs on a 15-minute schedule, so wait for the next run before you change calculator weights.

Questions about remediation tasks, effort scores and calculators

How does an effort score differ from a task score?

The Remediation Task Rollup Calculator scores the vulnerable items inside one remediation task. The Remediation Effort Rollup Calculator scores all the records in a remediation effort and gives the whole effort one overall risk score. Use the task score to judge a single fix and the effort score to judge a larger program of work.

Which calculator produces the organization-wide score?

The Organization Risk Score Rollup calculates the overall score that appears in the Unified Vulnerability Response Dashboard and the Cybersecurity Executive Dashboard. It draws on host vulnerable items, application vulnerable items, container vulnerable items and configuration issues. For the maximum, the highest score among the host, application and container vulnerable items and the test results is chosen, so one item with an unusually high score can set the figure.

Which calculator handles a container image?

The Discovered Image Rollup Calculator rolls up the risk scores for container vulnerable items that share the same discovered container image, giving each image one overall score. For a remediation task that holds container items, the Container Remediation Task Calculator rolls up the container vulnerable items in that task.

Which other objects get their own rollup score?

The base system also includes rollups for vulnerability entries, discovered applications, discovered items, configuration tests and patch updates. Each one follows the same pattern: the calculator rolls up the scores of the findings that share the object and gives that object one overall score. Weights are set on each calculator, so review the weights on each one you use.