Availability security level
Integrity security level
Confidentiality security level
Overall business impact level (Minimal to Critical)
// All Very High security = minimal impact
calculateBusinessImpactLevel("Very High", "Very High", "Very High") // Returns "Minimal"
// All High security = Low impact
calculateBusinessImpactLevel("High", "High", "High") // Returns "Low"
// Mixed levels with confidentiality weighted higher
// Formula: (1 [High] + 2 [Moderate] + 4 [None] * 1.5) / 3.5 = (1 + 2 + 6) / 3.5 = 9 / 3.5 = 2.57 → rounds to 3 ("High")
calculateBusinessImpactLevel("High", "Moderate", "None") // Returns "High"
Calculate the overall business impact level based on security levels
Uses a weighted algorithm that gives higher priority to confidentiality when determining the overall business impact across all CIA components.