CIA Compliance Manager API Documentation - v1.0.1
    Preparing search index...

    Function calculateBusinessImpactLevel

    • 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.

      Parameters

      Returns RiskImpactLevel

      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"