Agent Armor API Reference
    Preparing search index...

    Function computeRiskLevel

    • Roll up a scan to a single RiskLevel from its dominant threat.

      severity is the highest severity present; confidence is that dominant threat's confidence (0-1). Confidence buckets: high (>= 0.8), medium (0.5-0.8), low (< 0.5). Returns none when there is no threat.

      severity \ confidence >= 0.8 0.5-0.8 < 0.5
      critical critical high medium
      high high high medium
      medium medium medium low
      low low low low

      Parameters

      • severity: Severity | null
      • confidence: number

      Returns RiskLevel