Configuration Compliance calculators and calculator rules
Summarize
Summary of Configuration Compliance calculators and calculator rules
Configuration Compliance calculators automate the initial calculation of fields on test results, primarily focusing on setting the Risk Score. These calculators evaluate conditions in order and use the first matching calculator to determine values. The system includes a Default Risk Calculator that sets the base Risk Score, but customers can create or customize calculators and rules to prioritize and rate test results based on business impact, CI class, or other criteria.
Show less
Key Features
- Automated Risk Score Calculation: Risk Scores update automatically when test results, associated CIs, or configuration tests change, or when recalculation is manually triggered.
- Calculator Rules: Each calculator contains ordered rules with conditions; the first matching rule applies. Rules can be based on templates or scripts for flexible customization.
- Risk Score Change Tracking: Starting with Configuration Compliance v14.13, changes to Risk Scores are logged in the Notes section, with an optional system property to enable detailed work notes.
- Risk Rules Customization: The Default Risk Calculator uses risk rules considering Business Criticality and Criticality, which can be customized with adjustable weights and criteria.
- Weightage Assignment: Customers can assign weightage percentages (0-100) at the field value level, allowing fine-tuned risk score calculations based on severity or other factors.
- Performance Considerations: Non-scripted rules typically have less performance impact compared to scripted rules.
- Integration with Vulnerability Response: Vulnerabilities are assigned risk scores and ratings based on multiple factors, with ratings automatically recalculated on changes and configurable risk rating types.
- On-Demand Calculator Application: Risk calculators and rules can be applied or reapplied on-demand to all affected test results and collections, enabling vulnerability managers to adjust risk scoring dynamically.
- Support for Third-Party Risk Scores: From Configuration Compliance v13.0, customers can incorporate risk scores from vendors like Qualys and Tenable into their calculations.
What Customers Can Expect
- A flexible and customizable framework to define how risk is calculated on configuration compliance test results.
- Automated updates to Risk Scores aligned with changes in test results, CIs, vulnerabilities, or manual recalculation triggers.
- Visibility into Risk Score changes through notes and optional work notes, aiding audit and tracking.
- Ability to tailor risk scoring models by adjusting field weights, conditions, and rules to reflect organizational priorities and risk tolerance.
- Integration with Vulnerability Response to ensure consistent risk ratings and scoring across vulnerability and compliance domains.
- Tools to manage and apply risk calculation changes efficiently, supporting ongoing vulnerability management and remediation workflows.
Configuration Compliance automate calculating initial values for the fields on test results. The condition for each calculator is evaluated in order, and the first matching calculator is used.
Configuration Compliance calculators
The Configuration Compliance base system includes one configuration compliance calculator (Default Risk Calculator ) that sets the base Risk Score on the test result. Configuration Compliance calculators can be built to prioritize and rate the impact of test results based on any criteria by using condition filters. Whether it is the business impact of the vulnerability, the class of the configuration item (CI), you can create additional configuration compliance calculators to set other fields on test results or you can customize the existing configuration compliance calculators. A calculator can be written to reflect any set of priorities.
Each calculator contains a list of calculator rules, with a condition determining when to apply it. When the calculator is run, the condition for each calculator rule is evaluated in order, and the first matching calculator rule is used.
All enabled configuration compliance calculators set the selected fields each time a test result is created, when an associated CI or Configuration Test changes, or when the Calculate Risk Score related link in a test result is used. As an example, the Risk Score is automatically updated on test result records when the control.criticality value is updated on a test result that is imported. After a test result import has updated a test result score, you can recalculate the risk score of the test results by selecting the Reapply Calculator button.
- The Calculate Risk Score related link is only visible when at least one configuration compliance calculator is enabled.
- Starting from v22.0 of Vulnerability Response, you can update the risk score for a test result in the Vulnerability Manager Workspace and IT Remediation Workspace by selecting the Calculate Risk Score button in its record view.
- Starting with version 14.13 of Configuration Compliance, whenever the risk score on a test result changes, the following details are documented in the Notes section of the test result:
- Calculator group name
- Calculator name: Depending on whether the calculator rule is based on a template or a script, the name is appended with the details in brackets. To modify or view the basis of the calculator rule, select any rule and select the Advanced view check box. From the Value type drop-down box, select the required option. If Template is selected, the risk score is updated according to the specified condition in the rule. If Script is selected, you can either add or update the existing script.
- Field values with their weightage and risk score contribution
- Final risk score
- The system property sn_sec_cmn.risk_score_changes_add_worknotes helps populate the work notes section. Starting with v15.2.1 of Configuration Compliance, the system property sn_sec_cmn.risk_score_changes_add_worknotes is inactive by default. If you enable it, only then you can see all the changes related to the risk score of a test result in the Work notes section. Additionally, the work notes are updated only if there’s a change in the risk score.
Configuration Compliance calculator rules
- Business Criticality
- Criticality
Starting with Configuration Compliance version 13.0, you can customize the criteria for the default risk rule. For more information, see Define fields and weights for the risk rule.
Assigning a weightage percentage
| Criticality | Risk Score |
|---|---|
| Critical | 100 |
| High | 50 |
| Medium | 20 |
| None | 0 |
Each rule has an Order setting however, the first one to match the conditions updates the Risk score field in the test result. Non-scripted calculator rules typically create less of a performance impact than scripted calculator rules.
The base system Configuration Compliance calculator contains calculator rules that assign each level of criticality (None to Critical) a value (0-100) for Risk Score based on severity. Unknown severity is automatically assigned a risk score of 100. These values can be adjusted, like Default Risk Calculator, new calculator rules or new risk rules can be created.
Vulnerability Risk Score Weights
| Value (Risk Rating) | Weight (Risk Score) |
|---|---|
| 1 | 90–100 |
| 2 | 70–89 |
| 3 | 40–69 |
| 4 | 1–39 |
| 5 | 0 |
- The risk rating types are shipped in the base table as cc_risk_rating. These types are passed as part of the business rule on each table where the risk rating is calculated.
- The script is modified so that you can query the entries in the Risk Score Weights table values for risk rating calculation.
- Add additional entries for an existing type or create a new type. When you create a new type, ensure that you add the labels for the new risk rating, and also modify the related scripts and business rules. You must also add a new style for the new risk score.
- Modify the script to query the records in the base table.
- When a configuration item (CI) changes from non-internet facing to internet facing.
- When the associated Common Vulnerabilities and Exposures (CVEs) or third-party entries (TPEs) on the vulnerability items (VIs) are linked to a CVE Known Exploit Vulnerability (KEV).