Create, edit, and reapply risk calculators for Configuration Compliance
Release version: Xanadu
Updated August 1, 2024
2 minutes to read
Calculator rules can be applied to all affected test results and collections
on-demand. Vulnerability managers may use this feature adjust their risk calculator
configuration and apply changes on-demand to import findings.
Before you begin
Role required: sn_vulc.admin
Procedure
To create a new risk calculator, follow these steps.
Navigate to All > Configuration Compliance > Administration and select Risk Calculators.
In the Risk Calculator list, click New.
Enter a name and description for your new calculator and click
Submit.
The new calculator is displayed on the Risk Calculator list.
In the list, click the new calculator to create the conditions under which the calculator runs and specify the fields and values you want displayed on test result records and remediation tasks.
In the record that is displayed, click
New.
Fill in out the fields in the tabs as appropriate.
Tab
Description
When this condition is met
Use the conditions builder to create the
conditions under which the calculator runs. An
example is: Result is Failed or Result
is Error.
Set these values
Use the template to select the fields and
values you want displayed.
Click Submit.
The record is displayed with the new calculator rules and the
group it belongs to.
To reapply an existing calculator to test results or edit the rules and
displayed values for an existing risk calculator, follow these steps.
From the Risk Calculators or Risk Rollup calculator lists, select the
calculator you want to edit.
To reapply a risk calculator to your existing test result data from the
record, click Reapply Calculator.
All test results that meet the conditions of the calculator are
updated.
Note:
Depending on the number of test results, this update
may take time.
To edit the conditions and values, in the lower left in the Name
column, click the calculator name.
For risk calculators, the record and the When this
condition is met and Set these
values tabs are displayed.
Fill in the form as appropriate.
Tab
Field Description
When this condition is met
Use the filter conditions builder to create the
conditions under which you want the calculator to
run.
Set these values
Choose one to continue.
Value type - Template. Choose fields from the
list and corresponding values.
Script - Enter your changes using the editor.
Note:
Editing script requires advanced knowledge
of the ServiceNow AI Platform and the Configuration Compliance application.
Optional: To apply the new rules on-demand to your existing test result data, follow
these steps.
With the Risk Calculators list displayed, click a calculator you want
to apply.
The record is displayed.
Click Reapply Calculator to test and apply your
changes on-demand to your import findings.
View your changes on test results and continue to edit your calculators as
required.