OBLYTECH Logo
OBLYTECH Logo

Calculate vulnerability risk with a vulnerability calculator

An application vulnerability calculator sets a selected field on an application vulnerable item when defined conditions match. For risk prioritization, it calculates Risk Score through ordered rules, severity values, or weighted risk inputs. Configure the formula around available scanner data, then test rule selection and existing-item recalculation before using the scores to guide remediation.

Define what the application vulnerability calculator should decide

Start with the decision that a score must support. A security manager needs to explain why one application finding should move ahead of another. Write that explanation before choosing weights: which records belong in the calculation, which input should influence priority, and what result would justify a different remediation sequence?

Application vulnerable items pair vulnerability entries with potentially vulnerable applications. Calculators prioritize those items and rate their impact. Assignment rules determine ownership, while remediation target rules determine target dates. Keep those responsibilities distinct when planning a change. A different risk formula does not substitute for deciding who owns the finding or how a deadline should be set.

The application base system includes Basic Risk Calculator and Advanced Risk Calculator. Basic Risk Calculator uses normalized vulnerability severity and is enabled by default; Advanced Risk Calculator starts inactive. One calculator per target field can be active at a time. Check the installed application version and your instance before changing the active configuration, because names and behavior can vary across releases.

For the surrounding operating decisions, use these Vulnerability Response best practices. The immediate objective here is narrower: produce an explainable field value from matching criteria.

Check access and create the calculator record

Creating an application vulnerability calculator requires the App-Sec Manager group. The App-Sec Manager group, which includes the sn_vul.app_manage_risk_score_configurations role, configures Application Vulnerability Response rules, calculators and severity maps. Members of the App-Sec Manager group, which includes the sn_vul.app_manage_risk_score_configurations role, can create and manage calculators and risk rules. If membership needs changing, assigning users to the default AVR groups requires admin through User Administration.

Agree who will configure the formula and who will review its outcomes. These are review responsibilities to establish within your team, rather than additional product permissions. Give the reviewer sample records and expected outcomes before implementation so that approval depends on observable results.

  1. Navigate to All > Application Vulnerability Response > Administration > Vulnerability Calculators and select New.
  2. Enter a meaningful Name. Confirm that Table is auto-filled with the AVI table and Application with Vulnerability Response.
  3. Select Target field. Choose Risk Score when building the prioritization formula described here.
  4. Write a Description that explains the intended population and calculation. Use Active to control whether the calculator is enabled.
  5. Right-click the header and select Save. The Vulnerability Calculator Rules section then appears.

Make the description specific enough to review later. For example, record whether the formula relies on severity alone or incorporates weakness classifications. Record unavailable inputs too. That explanation helps a future administrator distinguish a deliberate exclusion from a field that stopped arriving through an integration.

Build conditions and order rules deliberately

Select New in Vulnerability Calculator Rules. Set Name and Order, and verify the Calculator reference points to the intended parent. The Active checkbox starts selected. Clearing it prevents that rule from applying to new vulnerable items created in the system.

Order determines evaluation sequence: 100 precedes 200. Conditions are evaluated in order, and the first matching rule supplies the value. A broad condition placed early can therefore prevent a more specific rule from being selected. Treat ordering as part of the calculation, rather than an administrative sorting preference.

In When this condition is met, define the matching criteria. Advanced view exposes Condition type options including Filter, Filter group, and Script. The basic Condition field is hidden when Filter group or Script is selected. Start with criteria that a reviewer can understand from the record without reading code.

In Set these values, Advanced view exposes Template and Script as Value type choices. Template selects the fields and values to apply; Script uses Script values. Submit the completed rule. For rules targeting Risk Score, the New Risk Rules form provides the weighted approach covered below.

As a review exercise, select a finding that meets two proposed rules. Write down which should win, then compare that expectation with the configured order. Also select a finding outside the intended population. This catches a condition that is syntactically valid but broader than the policy intended.

Scripts can degrade calculator performance. Put simple rules first and reserve scripts for records that conditions, template values, or risk rules cannot handle. For related automation decisions, see Vulnerability Response automation opportunities.

Choose risk weights from data you actually receive

Advanced Risk Calculator contains Default Risk Rule, which combines Vulnerability Severity, OWASP top 10, and SANS top 25. Set each weight according to its intended contribution. Set an input’s weight to zero when the scanner does not supply that data or when the input should not influence the score.

Running total calculates the combined percentage. At 100, Sample scenarios displays example risk scores. Use that preview to challenge the formula: does a severity change have the intended effect, and do classification inputs alter priority in a way the security manager can explain?

Before assigning weight to OWASP top 10 or SANS top 25, inspect representative imported records for those classifications. A classification that appears in one scan source should not be assumed to exist in another. Document which populations support each input and check that the conditions select the population the rule was designed for.

Basic Risk Calculator maps normalized severity levels from None through Critical to scores between 0 and 100. Unknown Severity receives 100, and the mappings can be adjusted. An AVI displays Source Severity rather than normalized severity, although the calculator uses normalized severity. Investigate that distinction when a visible scanner label appears inconsistent with the resulting score.

For help planning this work, see ServiceNow implementation.

Validate new records and reapply changes to existing items

Enabled calculators set selected fields when an AVI is created and when an associated CI or vulnerability changes. Test creation and a relevant change separately. A successful score on a newly imported finding does not establish what happened to older items after you edited the formula.

Reapply Calculator recalculates values across active AVIs where the edited calculator would be used. A scheduled job handles this work because it can take time. Plan the validation around job completion, and compare representative active items before and after the operation rather than expecting an immediate population-wide result.

  • Record the starting Risk Score, matching rule, and inputs for each test item.
  • Include overlapping conditions, missing classification data, and Unknown Severity in the review sample.
  • Compare the resulting score with the expected rule and weighting behavior.
  • Review affected active items after reapplication and investigate differences before approving the change.

Keep the comparison tied to record identifiers and the configuration revision under review. Otherwise, a later scanner import can change the inputs while the reviewer is still assessing the formula. That makes two different calculations look like inconsistent execution.

When results differ from expectations, follow a sequence: check the active calculator, rule activation, Order, matching conditions, and available inputs before investigating a script. The Vulnerability Response troubleshooting guide supports the broader investigation when the issue extends beyond calculator configuration.

Questions about calculator review and score interpretation

Why might Work notes contain no new calculation entry?

The sn_sec_cmn.risk_score_changes_add_worknotes property controls risk score work notes and starts inactive from AVR v25.0.3. When enabled, notes are added when the score changes. An unchanged score therefore does not generate a new score-change entry, even if a calculation was evaluated.

Should infrastructure risk inputs be copied into this formula?

The Default Risk Rule in the Advanced Risk Calculator uses Vulnerability Severity, OWASP top 10 and SANS top 25. Check the Default Risk Rule fields in your own release before reusing this formula for any other scoring design. Treat an infrastructure scoring design as a separate configuration decision; verify the application rule’s available fields before adapting a policy.

Can risk ratings differ from the numeric score?

Risk Score and risk rating are separate values. Update Risk Rating from Risk Score calculates the rating when the score changes. Application risk rating types use avr_risk_rating in the Risk Score Weights table, so inspect that mapping when a numeric result and its displayed rating seem inconsistent.

How should a review record a deliberately excluded input?

Record the input, the reason for exclusion, and the population affected. For example, note that a classification receives zero weight because the relevant scanner does not populate it. Include a review trigger if that integration later begins supplying the missing data.