OBLYTECH Logo
OBLYTECH Logo

Prioritize vulnerabilities with roll-up calculators

For vulnerability prioritization, a roll-up calculator combines the risk scores of many findings into one score for a record such as a remediation task, a remediation effort or an organization. Each value carries a weight, including the maximum score, the average score and the number of vulnerable items. Those weights shape which tasks rise to the top of a queue.

What roll-up calculators do after risk scoring

Risk calculators score each vulnerable item first, and roll-up calculators run after that step. A roll-up takes the scores already on the items in a group and produces one figure for the group. A large remediation task can then be ranked against another task without opening each item. For the scoring step, read about calculating vulnerability risk with a vulnerability calculator.

Vulnerability response includes a set of base roll-up calculators, and each one covers one type of group. Check the list on your instance and release, because the names available to you can differ between releases. The base set includes these:

  • Remediation Task Rollup Calculator groups the vulnerable items attached to one remediation task.
  • Vulnerability Entry Rollup Calculator groups the vulnerable items that share one vulnerability entry.
  • Discovered Item Rollup Calculator groups vulnerable items and test results that share one discovered item.
  • Discovered Application Rollup Calculator groups application vulnerable items that share one discovered application.
  • Discovered Image Rollup Calculator groups container vulnerable items that share one discovered container image.
  • Configuration Test Rollup Calculator groups test results that share one configuration test.
  • Remediation Effort Rollup Calculator groups all the records inside one remediation effort.

Other calculators narrow the roll-up to a single record type. The Container Remediation Task Calculator and the Application Remediation Task Calculator cover container or application vulnerable items inside a remediation task, and the Test Results Remediation Task Calculator covers test results inside a task. The Patch Update Rollup covers all findings tied to a patch update, and the Organization Risk Score Rollup covers the whole organization.

Set weights for the maximum, average and count terms

A roll-up does not stop at an average of the group. Each computed value gets a weight that controls how strongly it moves the final score. The Basic setting on a rule uses three weights: Maximum risk score, Average risk score and Count of vulnerable items. An advanced Script option can return the risk score as a custom integer from 0 to 100 instead.

In that example, the task score is built from three terms:

  • The maximum risk score divided by 100, multiplied by the Maximum risk score weight.
  • The average risk score divided by 100, multiplied by the Average risk score weight.
  • A count factor, multiplied by the Count of vulnerable items weight.

How the count factor is set

The count factor rises with the number of vulnerable items in the group. The example uses these bands:

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

The factor moves in steps. A task that grows from 9 items to 10 items gets a larger count term even though its risk scores have not changed, so compare tasks of similar size when you judge a ranking.

Worked example for a remediation task

Take remediation task VUL324567, which holds three vulnerable items scoring 30, 40 and 50. The example weights are 80 for the maximum, 5 for the average and 15 for the count. The maximum is 50, the average is 40, and the count factor is 0.2 because the task has fewer than 10 items. The calculation runs in four steps:

  1. Maximum term: 50 divided by 100, times 80, gives 40.
  2. Average term: 40 divided by 100, times 5, gives 2.
  3. Count term: 0.2 times 15 gives 3.
  4. Task risk score: 40 plus 2 plus 3 gives 45.

The maximum term supplies the largest share of the score in this example, 40 of the 45 points. Before you change any weight, run the same arithmetic on a real task.

Decide how deferred findings affect task totals

Findings carry states such as Open, Deferred and Closed. The setting labeled All active records controls whether deferred findings count toward a remediation task total. When you select it, all deferred findings are included in the rollup calculation for remediation tasks. Deferred findings still carry risk scores, so including them can keep a task score high even when little active work remains. Look at the total before you select the setting, because the score can change once deferred items enter the calculation.

Record the setting you chose and the reason for it in your remediation procedure. Two tasks scored under different settings are hard to compare.

Know when task and finding scores refresh

Roll-up calculators run a scheduled job every 15 minutes. The job updates risk scores and other details for remediation tasks and findings. A risk score is recalculated when a finding’s risk score, remediation target or status changes, when its state changes (for example, between Open, Deferred and Closed), and when a finding is added to or removed from a remediation task.

Give a change time to settle before you judge it. Wait for at least one scheduled cycle, then check the task again. A score that looks unchanged straight after an edit may simply reflect a job that has not run yet.

Roll up organization risk for executive dashboards

The Organization Risk Score Rollup calculates the overall risk score for an organization. It produces the organization-level score used in the Unified Vulnerability Response Dashboard and the Cybersecurity Executive Dashboard. It rolls up risk scores for host vulnerable items, application vulnerable items, container vulnerable items and configuration issues. Because configuration issues feed this score, a noisy configuration check can move the organization figure. Review the configuration compliance calculator rules before you adjust vulnerability weights to chase an organization number.

The calculation works in steps. For the maximum, the calculator picks the highest score among host vulnerable items, application vulnerable items, test results and container vulnerable items. For the average, it sums the scores for application vulnerable items, configuration issues, test results and other scores, then divides by the total count. The counts for the vulnerable item types are added and normalized with a count method, and the result is multiplied by the count weight. The resulting risk scores are then added together to produce the organization score.

Tune weights for a more accurate task ranking

Use the sequence below when a task score does not match the work in front of your team. Change one weight at a time, because changing several together makes it hard to explain why a task moved.

  1. Write down the current weights, the factor bands and the All active records setting before you edit anything.
  2. Pick a remediation task whose score looks wrong, and list its vulnerable items with their risk scores.
  3. Calculate the maximum, average and count terms by hand, using the formula from the worked example.
  4. Identify the term that holds the largest share of the score, and adjust the weight for that term first.
  5. Wait for one scheduled cycle, then check that the task score matches your hand calculation.
  6. Compare the task with one other task of similar size to confirm the new ranking reflects the risk you expect.

Choose the maximum weight with care

A high maximum weight pulls the task score toward its highest-scoring item. That helps when one critical finding should put a task at the top of the queue, but it can hide breadth. A task with many moderate findings may score below a task with one severe finding. Raise the average or count weight when breadth matters more to your team than a single outlier.

Common setup checks before you rely on the ranking

A ranking is no more reliable than its inputs. Confirm the following before the team uses the ordering for planning:

  • The remediation task holds the vulnerable items you expect, since a roll-up covers the records attached to that task.
  • Each finding carries a current risk score, because a stale score feeds into each roll-up that includes it.
  • The status of each finding matches the work in progress, so Open, Deferred and Closed items are counted as you intend.

For a wider look at setup errors that distort rankings, see common ServiceNow vulnerability response mistakes and how to avoid them.

Plan the rollout and review cycle

Set a review point for your weights at the start of each remediation cycle. Record each change, the task it affected and the reason. Pair this with the vulnerability response implementation roadmap when you sequence the setup work across teams.

For help planning this work, see ServiceNow implementation.

Questions about roll-up calculator scores

Which weight should I change first when a task score looks too low?

Start with the term that holds the largest share of the score. In the worked example, that is the maximum term, which carries the heaviest weight. A low score on a task with many moderate findings may point to the average or count term instead.

Does a roll-up score replace the score on each vulnerable item?

No. A roll-up produces a separate figure for a group such as a task or a discovered application. The item scores are the inputs to the roll-up, not outputs of it, so you still read them when you decide the order of work inside a group.

What should I record when I change a weight?

Write down the old and new values, the date of the change, the reason for it, and one sample task that shows the effect. This gives reviewers a trail, and it lets you reverse a change that moves the ranking in the wrong direction.

Can I use the worked example numbers on my own instance?

The numbers are for illustration. They show how the terms combine, not what your instance should use. Set your own weights based on how your team ranks risk, then run the arithmetic on a real task to confirm the outcome.