Ingest logs and data from Salesforce - Learn more about configuring the Cortex XSIAM Salesforce data source. - Administrator Guide - Cortex XSIAM - Cortex - Security Operations

Cortex XSIAM 3.x Documentation

Product
Cortex XSIAM
Creation date
2025-07-15
Last date published
2026-06-11
Category
Administrator Guide
Abstract

Learn more about configuring the Cortex XSIAM Salesforce data source.

Cortex XSIAM supports the collection of Salesforce near-real-time (NRT) events, Setup Audit Trail, Content Metadata, Accounts, event log files, and snapshots. This integration improves threat detection accuracy and eliminates duplicate alerts by ensuring critical multi-event alerts are captured in near-real-time rather than relying on hourly or daily log files.

Prerequisite

  • Cortex XSIAM:

    • To manage collection integration in Cortex XSIAM, requires View/Edit RBAC permissions for Log Collections and Data Sources (under ConfigurationsData Collection).

  • Salesforce:

    • Edition: Professional (with API access), Enterprise, or higher.

    • License: A Salesforce Shield license is required to avoid limited data fetching and errors. For more information, see Salesforce Shield.

    • To use the client credentials flow required for Salesforce–Cortex XSIAM integration, you must create a connected app for Cortex XSIAM in Salesforce, and configure its OAuth settings and access policies, as described in this procedure. The connected app must be created by a Full System Admin.

    • Ensure your organization has a Salesforce Shield license.

      For more information, see Salesforce Shield.

      For more information, see Event Monitoring Introduction.

      Note

      Ensure that you have the required licenses. If these prerequisites are not met, fetching of security and NRT event data will be severely limited, and errors will be generated.

    • In SetupEvent Monitoring Settings, ensure that Generate event log files is enabled.

      • In Setup, verify that there are event log files in the Event Log File Browser.

      • In SetupPermissions Sets, verify that there is a permission set called Event Monitoring.

    • Near-real-time event settings: You must manually toggle each desired event, such as ApiEvent and ReportAnomalyEvent, to Enabled under SetupEvent Monitoring Settings.

    • Legacy Batch access: If collecting EventLogFiles, ensure Generate event log files is enabled under SetupEvent Monitoring Settings; in Setup, verify that files exist in the Event Log File Browser, and in SetupPermissions Sets verify a permission set named Event Monitoring exists.

    • Administrative access: To use the client credentials flow required for the Salesforce and Cortex XSIAM integration, a Full System Admin must create an External Client App in Salesforce and configure its OAuth settings and access policies as described in the configuration tasks below.

      Note

      For more detailed reference information, see the following:

      Unlike other data collector setups, in this case, the setup includes obtaining an OAuth 2.0 code from Salesforce, and this code is only valid for 15 minutes. Therefore, make sure that you enable the data collector within 15 minutes of obtaining the authorization code.

If for any reason the authorization token is not created and sent to Cortex XSIAM after the 15-minute timeout period, an authorization failure error will be returned. To retry:

  1. Click Edit (pencil icon) for the collector instance in Cortex XSIAM.

  2. The log collection window will display again, allowing you to edit settings and retry getting the authorization code.