Provide details of threats related to the device. More...
#import <GDThreatDeviceSecurity.h>
Inherits BBDThreat.
A range of checks are performed to determine the security health of the users device. For example, if the user has jailbroken their device or if the iOS device integrity checks have failed.
Instance Methods | |
(instancetype) | - NS_DESIGNATED_INITIALIZER |
Creates an instance of BBDThreatDeviceSecurity. More... | |
(BOOL) | - isDeviceCompromised |
Return whether the device has been compromised or is in an insecure state. More... | |
(BBDThreatLevel) | - getCompromisedDeviceRisk |
Return the current risk level from evaluating the device integrity. More... | |
(BOOL) | - isScreenLockEnabled |
Return whether a screen lock is configured by the user. More... | |
(BBDThreatLevel) | - getScreenLockRisk |
Return the current risk level related to the state of the device screen lock. More... | |
(BOOL) | - isDeviceAttestationFailed |
Return the state of the iOS Device Integrity checks. More... | |
(BBDThreatLevel) | - getDeviceAttestationRisk |
Return the current risk level related to the device integrity checks. More... | |
Instance Methods inherited from BBDThreat | |
(BBDThreatType) | - getType |
Indicate the type of threat being checked. More... | |
(long) | - getEvaluatedTime |
Determine when the check last completed. More... | |
(BBDThreatLevel) | - getRiskLevel |
Return the level of risk posed by the threat. More... | |
(BOOL) | - getDetectionEnabled |
Check whether the threat is being evaluated. More... | |
(NSString *) | - getInfo |
Get information on possible remediation actions to the threat. More... | |
(instancetype) | - NS_UNAVAILABLE |
Only the subclasses of BBDThreat maybe instantiated. More... | |
Additional Inherited Members | |
Class Methods inherited from BBDThreat | |
(instancetype) | + NS_UNAVAILABLE |
- (instancetype) NS_DESIGNATED_INITIALIZER |
- (BOOL) isDeviceCompromised |
Return whether the device has been compromised or is in an insecure state. For example, if the device has been rooted or is connected to a debugger.
- (BBDThreatLevel) getCompromisedDeviceRisk |
Return the level of risk posed by the current device state. If the device has been compromised a HIGH risk level will be returned.
- (BOOL) isScreenLockEnabled |
Return whether a screen lock (e.g. PIN) is enabled on the device.
- (BBDThreatLevel) getScreenLockRisk |
Return the level of risk posed by the state of the device screen lock. If no screen lock has been configured by the user this would be deemed a MEDIUM risk level.
- (BOOL) isDeviceAttestationFailed |
Return the state of the iOS Device Integrity checks.
- (BBDThreatLevel) getDeviceAttestationRisk |
Return the level of risk posed by the device attestation checks. If device attestation fails this could mean the boot loader is compromised and the security risk is level is HIGH.