API
Variables
TalsecConfig
TalsecConfig
Specifies configuration for your app. See the table below for detailed description of the attributes.
appBundleIds
[String]
List of Bundle IDs for the app
["com.talsec.freerasp.demoapp"]
appTeamId
String
Apple Team ID for the signing of the app
"M8AK35..."
watcherMailAddress
String?
The value is automatically used as the target address for your security reports. Mail has a strict form '[email protected]'
.
isProd
Bool?
Defaults to true
when undefined. If you want to use the Dev version to make the development process easier, set the parameter to false
. Make sure that you have the Release version in the production (i.e. isProd set to true)!
true
Classes
public class Talsec
public class Talsec
Methods
public static func start(config: TalsecRuntime.TalsecConfig)
The method used to start freeRASP's audit.
public static func blockScreenCapture(enable: Bool, window: UIWindow)
The method blocks the screen capture in specific UIWindow.
public static func isScreenCaptureBlocked(in window: UIWindow) -> Bool
The method returns whether the screen capture is blocked in specific UIWindow.
public static func storeExternalId(externalId: String)
The method stores an externalId into the logs for data collection.
Protocols
public protocol SecurityThreatHandler
public protocol SecurityThreatHandler
Methods
func threatDetected(_ securityThreat: TalsecRuntime.SecurityThreat)
Notifier about detected threats.
Enums
public enum SecurityThreat : String, Codable, CaseIterable, Equatable
public enum SecurityThreat : String, Codable, CaseIterable, Equatable
Provides all types of threats detected by freeRASP. Read more about the meaning of the threats in the wiki.
Cases
signature
jailbreak
debugger
runtimeManipulation
passcode
simulator
missingSecureEnclave
systemVPN
deviceChange
deviceID
unofficialStore
screenshot
screenRecording
Last updated
Was this helpful?