Azure / Azure/Azure-Sentinel

SalesForceRealTimeEventMonitoringConnector_CCF: Attempts to access PlannerId which only exists in the Source Event Objects if Agentforce is Enabled.

Open
#14,598 5 comments 1 reaction 3 assignees Claimed by @hassanchawiche View on GitHub
Codeless Connector Framework (CCF) Connector Connector
Dominant language
Python
Stars
6.1k
Forks
3.8k
Avg merge
4d 7h
Merged PRs (30d)
125

Description

**Describe the bug**
The new Salesforce Realtime Event Monitoring Connector attempts to access PlannerId in both the ApiEvent and ReportEvent Salesforce objects. The PlannerId field is only available to customers licenced to use Agentforce and where Agentforce is explictly enabled/turned on.

**Expected behavior**
For customers that don't have Agentforce enabled then the connector should not attempt to query PlannerId on Line 104 and Line 1109.

https://github.com/Azure/Azure-Sentinel/blob/111ad73a55f5296985f5d96b8e9e9e51960ea953/Solutions/Salesforce%20Service%20Cloud/Data%20Connectors/SalesForceRealTimeEventMonitoringConnector_CCF/SalesforceRealTimeEventMonitoring_PollingConfig.json#L104

https://github.com/Azure/Azure-Sentinel/blob/111ad73a55f5296985f5d96b8e9e9e51960ea953/Solutions/Salesforce%20Service%20Cloud/Data%20Connectors/SalesForceRealTimeEventMonitoringConnector_CCF/SalesforceRealTimeEventMonitoring_PollingConfig.json#L1109

**Additional context**
Please let me know if you wish for me to raise an enhancement for the ability for parameterising Agentforce being enabled or disabled thus should include or exclude this field.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.