Interface for retrieving threat details for a specific BBDThreatType.
#import <GDThreat.h>
Inherits NSObject.
Inherited by BBDThreatApplicationSecurity, BBDThreatDeviceOffline, BBDThreatDeviceSecurity, BBDThreatDeviceSoftware, BBDThreatGeoZone, BBDThreatIdentity, BBDThreatNetworkSecurity, and BBDThreatUntrustedDeveloper.
Instance Methods | |
(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... | |
Class Methods | |
(instancetype) | + NS_UNAVAILABLE |
- (BBDThreatType) getType |
Indicate the specific type of threat being checked.
- (long) getEvaluatedTime |
Return the timestamp of when the threat was last evaluated. For example, when a malware scan was last completed.
long
Unix timestamp in milliseconds of when the check last ran. The result is 0 if checks have not yet been performed, for example after the app hosting the runtime has just been installed. - (BBDThreatLevel) getRiskLevel |
Return the level of risk posed by the threat.
- (BOOL) getDetectionEnabled |
Check whether the threat is being evaluated by the runtime. If detection is not enabled it may be because the feature hasn't been enabled by the enterprise administrator. Alternatively for some threats, like GeoZone, the end user is required to allow a specific a system permission, e.g. location, in order for the runtime to be able to perform checks. If a required permission is not allowed by the user the threat detection will be disabled.
YES
if the detection is enabled. NO
if detection is disabled. - (NSString*) getInfo |
Return a string providing any possible remediation actions or further details about the threat.
NSString
providing remediation information. - (instancetype) NS_UNAVAILABLE |
+ (instancetype) NS_UNAVAILABLE |