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 → ).
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 → , ensure that Generate event log files is enabled.
In Setup, verify that there are event log files in the Event Log File Browser.
In → , verify that there is a permission set called Event Monitoring.
Near-real-time event settings: You must manually toggle each desired event, such as
ApiEventandReportAnomalyEvent, to Enabled under → .Legacy Batch access: If collecting
EventLogFiles, ensure Generate event log files is enabled under → ; in Setup, verify that files exist in the Event Log File Browser, and in → 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.