DeviceSecurityEnforcementAction
@objc
public enum DeviceSecurityEnforcementAction : Int, CaseIterable
Enumeration of the enforcement actions which can be performed when a threat is detected.
For all checks except debugDetection
the runtime will provide a threat status notification. It is only possible to configure the runtime to terminate immediately when a debugger is attached to the application process.
-
Use the
threatStatusChangedNotification
class to alert when a threat has been detected.Declaration
Swift
case notify
-
Kill the application process as soon as a threat is detected. Terminating the process is currently only supported for
debugDetection
.Declaration
Swift
case terminateProcess