API
Last updated
TalsecConfigSpecifies 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 for Security Reports, Product Updates, and Talsec Portal updates, learn more.
Mail has a strict form 'name@domain.com'.
"john@example.com"
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
public class Talsecpublic 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.
public protocol SecurityThreatHandlerfunc threatDetected(_ securityThreat: TalsecRuntime.SecurityThreat)
Notifier about detected threats.
public protocol TalsecRuntume.RaspExecutionState func onAllChecksFinished()
Notifier about finished threats
public enum SecurityThreat : String, Codable, CaseIterable, EquatableProvides all types of threats detected by freeRASP. Read more about the meaning of the threats in the wiki.
signature
jailbreak
debugger
runtimeManipulation
passcode
simulator
missingSecureEnclave
systemVPN
deviceChange
deviceID
unofficialStore
screenshot
screenRecording
timeSpoofing
Last updated

