MobileEnforcedPolicyEvent

Tracks enforcement of Enhanced Mobile Security policy events on a Salesforce mobile app with Enhanced Mobile Security. Events are created on first launch of the mobile app and user rechecks, and are batched and published when the app is in the background. This object is available in API version 47.0 and later.

Use the Mobile Security SDK to publish these events. Learn more with the Mobile Application Security help documentation.

create(), describeSObjects()

SubscriberSupported?
Apex TriggersYes
FlowsYes
ProcessesYes
Pub/Sub APIYes
Streaming API (CometD)Yes

/event/MobileEnforcedPolicyEvent

Accessing this object requires the Enhanced Mobile App Security and Salesforce Event Monitoring add-on subscriptions and the Enforce Enhanced Mobile App Security user permission.

As of Summer ’20 and later, only authenticated internal and external users can access this object.

No

Type: string

Properties: Create

Description: Generic package identifier for the application.

Type: string

Properties: Create

Description: Version number of the application.

Type: string

Properties: Create

Description: Unique identifier for the device. Generated by Apple® or Google™.

Type: string

Properties: Create

Description: Model name of the device.

Type: json

Properties: Create

Description: Action that the policy enforced. Possible values are: Values are Warn, Error, or Critical Error.

Type: dateTime

Properties: Create, Nillable

Description: Date of the mobile event. For example, 2020-01-20T19:12:26.965Z. Milliseconds are the most granular setting.

Type: string

Properties: Create, Nillable

Description: Description of the mobile event.

Type: string

Properties: Create, Nillable

Description: The unique ID of the event, which is shared with the corresponding storage object, if any. For example, 0a4779b0-0da1-4619-a373-0a36991dff90.

Type: string

Properties: Nillable

Description: A universally unique identifier (UUID) that identifies a platform event message. This field is available in API version 52.0 and later.

Type: string

Properties: Create

Description: Operating system name iOS or Android.

Type: string

Properties: Create

Description: Operating system version number.

Type: json

Properties: Create

Description: Collection of the results of all policies enforced at the time of the event.

Type: string

Properties: Nillable

Description: Represents an ID value that is populated by the system and refers to the position of the event in the event stream. Replay ID values aren’t guaranteed to be contiguous for consecutive events. A subscriber can store a replay ID value and use it on resubscription to retrieve missed events that are within the retention window.

Type: reference

Properties: Create, Namepointing

Description: ID of the user for whom policies were enforced.

Type: string

Properties: Create, Nillable

Description: Version of WebKit™ used to render web components.