ThreatLevel

@objc
public enum ThreatLevel : Int, CaseIterable

Enumeration to indicate the level of risk posed by a threat.

The overall threat level is returned as part of overallThreatLevel property of ThreatStatus. The risk for some specific threat (in code they’re represented as Threat subclasses) can be found in riskLevel property.

To determine if the specific threat is being evaluated you can use isDetectionEnabled property of the Threat subclass

  • A critical threat has been detected which requires immediate action.

    Declaration

    Swift

    case critical = 0
  • A high threat requires the user or administrator to take action.

    Declaration

    Swift

    case high = 1
  • A medium threat indicates moderate risk and can be interpreted as an advisory.

    Declaration

    Swift

    case medium = 2
  • low

    There is no threat detected or the risk level is low.

    Declaration

    Swift

    case low = 3
  • The threat level is unknown or not evaluated.

    Declaration

    Swift

    case null = 4