Examples for Configuration Compliance risk score calculation
- UpdatedJul 31, 2025
- 7 minutes to read
- Zurich
- Configuration Compliance
Starting with v13.0 of Configuration Compliance, you can customize the criteria for the default risk rule. Use risk scores provided by third-party vendors like Qualys and Tenable for risk score calculations.
Third-party vendors, like Qualys and Tenable, provide their own scores. These scores are populated in the Criticality field on the sn_vulc_test table. Use this field for risk score calculations. To use this score to compute the risk score, follow the procedure:
Add source criticality as a criterion for a risk rule
Use scores based on criticality provided by third-party vendors to compute risk scores.
Before you begin
Role required: sn_vulc.admin
About this task
Third-party vendors, like Qualys and Tenable, provide their own risk scores. These scores are populated in the Criticality field on the sn_vulc_test table. Use this field for risk score calculations and computing the risk score.
Procedure
Add business criticality as a criterion for a risk rule
Specify a criticality value to business services and use the business criticality to compute the risk scores.
Before you begin
Role required: sn_vulc.admin
About this task
| Business Service | Criticality |
|---|---|
Cloud Management |
1 - Most critical |
E-commerce |
2 - Somewhat critical |
Client services |
3 - Less critical |
Travel and Expense |
4 - Not critical |
Procedure
Add conditional criterion to the risk calculator
Use custom conditions to the risk rule for risk score calculation.
Before you begin
Role required: sn_vulc.admin
About this task
Procedure
Risk score calculation example for Configuration Compliance
Determine the risk score calculators to generate risk scores that use the test and asset data specific to your organization.
Example of determining risk rule calculators scores
| Field | Weightage | Weight breakdown |
|---|---|---|
| Control.Criticality | 50 | Default: 0 Minor: 20 Low: 30 Moderate: 50 High: 70 Critical: 100 |
| Business_Criticality | 50 | Default: 0 Minor: 20 Low: 30 Moderate: 50 Hight: 70 Critical: 100 |
| ID | Business Criticality | Control Criticality |
|---|---|---|
| CTR0000001 | 1 – Most Critical | Minor |
| CTR0000002 | 1 – Most Critical | Low |
| CTR0000003 | 2 – Somewhat Critical | Minor |
| CTR0000004 | 2 – Somewhat Critical | Moderate |
| CTR0000005 | 3 – Less Critical | Low |
Risk Score = (W(control.criticality) * FV (control.criticality). + W(business_criticality) * FV(business_criticality)) / 100 where W is the weight and FV is the weight percentage of the field value.
| ID | Business Criticality (50%) | Control Criticality (50%) | Resultant risk score |
|---|---|---|---|
| CTR0000001 | 1 – Most Critical (50% x100) | Minor (50% x 20) | 60 |
| CTR0000002 | 1 – Most Critical (50% x 100) | Low (50% x 30) | 65 |
| CTR0000003 | 2 – Somewhat Critical (50% x 70) | Minor (50% x 30) | 45 |
| CTR0000004 | 2 – Somewhat Critical (50% x 70) | Moderate (50% x 50) | 60 |
| CTR0000005 | 3 – Less Critical (50% x 50) | Low (50% x 30) | 40 |
| Field | Weightage | Weight breakdown |
|---|---|---|
| Control.Criticality | 50 | Default: 0 Minor: 20 Low: 30 Moderate: 60 Hight: 70 Critical: 100 |
| Business_Criticality | 50 | Default: 50 1 – Most Critical: 100 2 – Somewhat Critical: 70 3 – Less Critical: 20 4 – Not Critical: 30 |
| ID | Business Criticality (50%) | Control Criticality (50%) | Resultant risk score |
|---|---|---|---|
| CTR0000001 | 1 – Most Critical (50% x 100) | Minor (50% x 20) | 60 |
| CTR0000002 | 1 – Most Critical (50% x 100) | Low (50% x 30) | 65 |
| CTR0000003 | 2 – Somewhat Critical (50% x 70) | Minor (50% x 30) | 45 |
| CTR0000004 | 2 – Somewhat Critical (50% x 70) | Moderate (50% x 60) *Revised value |
65 *Revised value |
| CTR0000005 | 3 – Less Critical (50% x 20) *Revised value |
Low (50% x 30) | 25 *Revised value |
Risk rollup calculation example for Configuration Compliance (prior to v15.0)
The following example demonstrates how scores for risk rollup calculators are determined.
For the following remediation task rollup calculator, the formula for calculating the Remediation Task Risk Score is:
(Maximum risk score/100) * 85 + (factor * 15).
| Test result count | Factor |
|---|---|
| <10 | 0.2 |
| 10-99 | 0.4 |
| 100-1000 | 0.6 |
| 1001-9999 | 0.8 |
| >10000 | 1 |
| Number | Risk score | Remediation task | Result | Status |
|---|---|---|---|---|
| CTR000123 | 90 | TRG0003066 | Failed | Open |
| CTR000124 | 70 | TRG0003066 | Failed | Open |
| CTR000125 | 40 | TRG0003066 | Failed | Open |
For the Remediation Task, TRG0003066:
The Risk Score is 79, (90/100) * 85 + 0.2 * 15 = Math.floor (76.5 +3) =79.
The historical risk score is null, because the Remediation Task is still 'Open'.
After the data ingestion, the test results are 'Passed', and the Remediation Task transitions to 'Closed' as shown in the following table.
| Number | Risk score(Prior to v15.0) | Remediation task | Result | Status |
|---|---|---|---|---|
| CTR000123 | 0 | TRG0003066 | Passed | Closed |
| CTR000124 | 0 | TRG0003066 | Passed | Closed |
| CTR000125 | 0 | TRG0003066 | Passed | Closed |
Test results History is displayed in the following table.
| Number | Risk score | Latest result | Result |
|---|---|---|---|
| CTRH000111 | 90 | CTR000123 | Failed |
| CTRH000112 | 70 | CTR000124 | Failed |
| CTRH000113 | 40 | CTR000125 | Failed |
The Risk Score is zero, because there are no active test results in the Remediation Task.
For the Remediation Task, TRG0003066:
The Historical Risk Score is 79: (90/100) * 85 + 0.2 * 15 = Math.floor (76.5 +3) =79.
Risk rollup calculation example for Configuration Compliance (v15.0 and later)
The following example demonstrates how scores for risk rollup calculators are determined.
For the following remediation task rollup calculator, the formula for calculating the Remediation Task Risk Score is:
(Maximum risk score* 80/100) + (Average risk score* 5/100) + (Factor * 15)
Where, the weights are as follows:
- Maximum risk score: 80
- Average risk score: 5
- Factor: 15
The default weight of the Average risk score is 0. For more information on how to set the weights, see Edit risk rollup calculators for Configuration Compliance.
| Test result count | Factor |
|---|---|
| <10 | 0.2 |
| 10-99 | 0.4 |
| 100-1000 | 0.6 |
| 1001-9999 | 0.8 |
| >10000 | 1 |
| Number | Risk score | Remediation task | Result | Status |
|---|---|---|---|---|
| CTR000123 | 90 | TRG0003066 | Failed | Open |
| CTR000124 | 70 | TRG0003066 | Failed | Open |
| CTR000125 | 40 | TRG0003066 | Failed | Open |
For the Remediation Task, TRG0003066:
The Risk Score is 81, (90* 80/100) + (66.67* 5/100) + (0.2 * 15) = Math.floor (78.3 +3) = 81.
The historical risk score is null, because the remediation task is still 'Open'.
After the data ingestion, the test results are 'Passed', and the Remediation Task transitions to 'Closed' as shown in the following table. Starting with v15.0 of Configuration Compliance, the Risk Score of a passed test result is populated to determine the risk mitigated.
| Number | Risk score | Remediation task | Result | Status |
|---|---|---|---|---|
| CTR000123 | 90 | TRG0003066 | Passed | Closed |
| CTR000124 | 70 | TRG0003066 | Passed | Closed |
| CTR000125 | 40 | TRG0003066 | Passed | Closed |
Test results History is displayed in the following table.
| Number | Risk score | Latest result | Result |
|---|---|---|---|
| CTRH000111 | 90 | CTR000123 | Failed |
| CTRH000112 | 70 | CTR000124 | Failed |
| CTRH000113 | 40 | CTR000125 | Failed |
The Risk Score of the Remediation Task is zero, because there are no active test results in the Remediation Task.
For the Remediation Task, TRG0003066:
The Historical Risk Score is 81: (90* 80/100) + (66.67* 5/100) + (0.2 * 15) = Math.floor (78.3 +3) = 81.
Related Content
- Configuration Compliance calculator groups
Configuration Compliance calculators are used to update record values when pre-defined conditions are met. The calculators are grouped based on the criteria used to determine how the records are updated.