Salesforce Real-Time Events (Beta)

Panther supports ingesting Salesforce Real-Time events via EventBridge

Overview

circle-info

The Salesforce Real-Time Events integration is in open beta starting with Panther version 1.117, and is available to all customers. Please share any bug reports and feature requests with your Panther support team.

Panther supports ingesting Salesforce Real-Time Eventsarrow-up-right for monitoring activity in your Salesforce account in real-time. This integration uses Amazon EventBridge to stream events directly from Salesforce to Panther.

This integration is separate from the Salesforce Event Monitoring integration where logs are pulled periodically.

Salesforce Limitations

  • You can create a maximum of three custom channelsarrow-up-right for Real-Time Event Monitoring.

  • Each event channel is limited to 10 events.

    • If you need to monitor more than 10 event types, you must distribute them across multiple channels.

  • With a maximum of three custom channels and 10 events per channel, you can monitor up to 30 event types total.

How to onboard Salesforce logs to Panther

Prerequisites

  • You must be an admin in your Salesforce organization.

  • Your Salesforce organization must have Real-Time Event Monitoring enabledarrow-up-right. You must have:

    • The Salesforce Shield or Event Monitoring add-on subscription.

    • The View Real-Time Event Monitoring Data user permission.

Step 1: Configure Salesforce Event Streaming

  1. Log in to Salesforce as an administrator.

  2. In the top-right, click on the gear icon, then Setup.

    Salesforce drop-down menu showing "Setup" option
  3. In the search box, enter and select Event Manager.

Salesforce search bar showing "Event Manager"
  1. For each event you want to send to Panther, click the arrow on the right-hand side, then select Enable Streaming.

Step 2: Create Event Relays

Once you have enabled event streaming, you need to create Event Relays to send the data to AWS EventBridge.

You have two options for creating Event Relays:

  • Option 1 (Recommended): Using an automated script to create Event Relays

  • Option 2: Manually creating Event Relays

  1. Download one of the following script. These scripts will add all event types and create the related Event Relays.

Linux/Mac
Windows PowerShell
  1. Before running the script, configure the following variables:

  • You can get your AWS region and account ID from the Panther Console.

    • Click the gear icon in the upper right corner of your Panther Console and then select General. Your AWS information will be displayed at the bottom of the page.

  1. Run the script. Copy the AWS EventBridge resources from the script output. You will need them in the following steps.

  2. In Salesforce, the Event Relays page should show your configured relays.

    Salesforce Event Relays showing configured relays

Option 2: Manually creating Event Relays

circle-info
  1. Follow the Salesforce instructions to Create a Named Credential for Event Relay Setuparrow-up-right.

    • Fill in the following fields:

      • Label: PantherAWSNamedCredential

      • Name: PantherAWSNamedCredential

      • URL: arn:aws:events:YOUR-REGION:YOUR-ACCOUNT-ID

        • You can get your AWS region and account ID from the Panther Console.

          • Click the gear icon in the upper right corner of your Panther Console and then select General. Your AWS information will be displayed at the bottom of the page.

      • Identity Type: Named Principal

      • Authentication Protocol: No Authentication

  2. Follow the Salesforce instructions to Connect Postman to Salesforcearrow-up-right.

  3. Follow the Salesforce instructions to Create a Channel for a Custom Platform Eventarrow-up-right with Postman.

  4. For each event types, follow the Salesforce instructions to Add a Custom Platform Event in a New Channel Memberarrow-up-right.

    • Body example:

circle-exclamation
  1. Follow the Salesforce instructions to Create an Event Relayarrow-up-right.

  2. Follow the Salesforce instructions to Start the Event Relayarrow-up-right.

  3. In Salesforce, navigate to the Event Relays page. Copy the Partner Event Source Name from each Event Relay. You will need them in the following steps.

Step 3: Verify that all Event Relays are running in Salesforce

To check the status of Event Relays:

  1. In Salesforce, navigate to SetupEvent Relays.

  2. Confirm that all Event Relays show "Running" in the Status column.

circle-exclamation

Step 4: Configure the Salesforce Real-Time log source in Panther

  1. In the left-hand navigation bar of your Panther Console, click Configure > Log Sources.

  2. Click Create New.

  3. Select Salesforce Real-Time from the list of available log sources. Click Start Setup.

  4. On the Configure you source page, fill in the following fields:

    • Name: Enter a descriptive name for the source (e.g., Salesforce Real-Time Events).

    • EventBridge Bus Names: Enter the AWS EventBridge resources or Partner Event Source Names you copied earlier.

      • Add additional bus names by clicking Add Bus Name.

  5. Click Setup.

Supported event types

The Salesforce Real-Time Events integration supports the following monitoring events:

chevron-rightSupported eventshashtag
  • LoginEventStream - Real-time user login events

  • LogoutEventStream - Real-time user logout events

  • LoginAsEventStream - Real-time login as events

  • SessionHijackingEventStream - Session hijacking detection events

  • CredentialStuffingEventStream - Credential stuffing attack attempts

  • ReportEventStream - Report access and modification monitoring

  • ListViewEventStream - List view access events

  • UriEventStream - URI access events (Salesforce Classic)

  • LightningUriEventStream - Lightning URI access events

  • ApiEventStream - API access events

  • ApiAnomalyEventStream - API anomaly detection events

  • ReportAnomalyEventStream - Report anomaly detection events

  • LoginAnomalyEventStream - Login anomaly detection events

  • GuestUserAnomalyEventStream - Guest user anomaly detection events

  • BulkApiResultEventStream - Bulk API operation results

  • FileEventStream - File access and download events

  • PermissionSetEventStream - Permission set assignment and modification events

  • ConcurrentLongRunningEventStream - Concurrent long-running event monitoring

The event type is specified in the Type field of each event, allowing you to filter and create detection rules based on specific event types.

Supported log types

Salesforce.RealtimeEvent

Real-time events from Salesforce contain comprehensive information about security activities in your Salesforce environment.

For more information see the Salesforce Real-Time Event Monitoring documentationarrow-up-right.

Last updated

Was this helpful?