• BlackBerry Dynamics
  • Runtime library for iOS applications
  • 10.2.0.83
GDThreat.h
Go to the documentation of this file.
1  /*
2 * (c) 2020 BlackBerry Limited. All rights reserved.
3 *
4 */
5 
6 #pragma once
7 
8 #import <Foundation/Foundation.h>
9 
10 NS_ASSUME_NONNULL_BEGIN
11 
19 typedef NS_ENUM(NSInteger, BBDThreatLevel)
20 {
24  Critical = 0,
28  High = 1,
32  Medium = 2,
36  Low = 3,
40  Null = 4,
41 };
42 
47 typedef NS_ENUM(NSInteger, BBDThreatType)
48 {
57 
68 
77 
87 
98 
108 
117  GeoZone = 6,
118 
125  Identity = 7,
126 
134 
135 
147 
154 
161 
171 
177  DLP = 13
178 };
179 
183 @interface BBDThreat: NSObject
184 
193 
202 - (long)getEvaluatedTime;
203 
212 
225 - (BOOL)getDetectionEnabled;
226 
234 - (NSString* )getInfo;
235 
239 - (instancetype)init NS_UNAVAILABLE;
240 + (instancetype)new NS_UNAVAILABLE;
241 
242 @end
243 
244 NS_ASSUME_NONNULL_END
-[BBDThreat getInfo]
NSString * getInfo()
Get information on possible remediation actions to the threat.
-[BBDThreat getRiskLevel]
BBDThreatLevel getRiskLevel()
Return the level of risk posed by the threat.
-[BBDThreat getType]
BBDThreatType getType()
Indicate the type of threat being checked.
BBDThreatType
BBDThreatType
Constants for GDComplianceType.
Definition: GDThreat.h:47
DeviceSoftware
@ DeviceSoftware
Detect when the device operating system or security patches do not meet recommended standards.
Definition: GDThreat.h:86
NetworkSecurity
@ NetworkSecurity
Detect when networking is subject to man in the middle attack.
Definition: GDThreat.h:153
BBDThreat
Interface for retrieving threat details for a specific BBDThreatType.
Definition: GDThreat.h:183
SafeBrowsing
@ SafeBrowsing
Detect when network or browsing requests are made to malicious links.
Definition: GDThreat.h:97
WiFiSecurity
@ WiFiSecurity
Detect if attached WiFi network is insecure.
Definition: GDThreat.h:160
High
@ High
A high threat requires the user or administrator to take action.
Definition: GDThreat.h:28
ApplicationSecurity
@ ApplicationSecurity
Detect when the application's integrity is at risk or the app requires updating.
Definition: GDThreat.h:133
DeviceSecurity
@ DeviceSecurity
Detect when device level security is compromised.
Definition: GDThreat.h:76
AppMalware
@ AppMalware
Detect malicious applications or malware on an Android device.
Definition: GDThreat.h:56
-[BBDThreat NS_UNAVAILABLE]
instancetype NS_UNAVAILABLE()
Only the subclasses of BBDThreat maybe instantiated.
DeviceOffline
@ DeviceOffline
Detect when the device has been offline for an extended period of time.
Definition: GDThreat.h:170
Medium
@ Medium
A medium threat indicates moderate risk and can be interpreted as an advisory.
Definition: GDThreat.h:32
Critical
@ Critical
A critical threat has been detected which requires immediate action.
Definition: GDThreat.h:24
BBDThreatLevel
BBDThreatLevel
Enumeration to indicate the level of risk posed by a threat.
Definition: GDThreat.h:19
UntrustedDeveloper
@ UntrustedDeveloper
Detect when applications from an untrusted developer are permitted to be installed on an iOS device.
Definition: GDThreat.h:146
-[BBDThreat getEvaluatedTime]
long getEvaluatedTime()
Determine when the check last completed.
GeoZone
@ GeoZone
Determine a user’s security risk level based on their real-world context.
Definition: GDThreat.h:117
Identity
@ Identity
Determine whether current application activity matches the behavior and identity of the authorized us...
Definition: GDThreat.h:125
AppSideload
@ AppSideload
Detect applications installed from an untrusted source on Android devices.
Definition: GDThreat.h:67
Null
@ Null
The threat level is unknown or not evaluated.
Definition: GDThreat.h:40
-[BBDThreat getDetectionEnabled]
BOOL getDetectionEnabled()
Check whether the threat is being evaluated.
DLP
@ DLP
Detect when data loss prevention is compromised.
Definition: GDThreat.h:177
SafeMessaging
@ SafeMessaging
Detect when messages contain malicious content or links.
Definition: GDThreat.h:107
Low
@ Low
There is no threat detected or the risk level is low.
Definition: GDThreat.h:36