Add Inbound Webhook Support to OpenCTI Splunk SOAR App #2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds inbound webhook support to the OpenCTI Splunk SOAR App, enabling event-driven ingestion of OpenCTI lifecycle events into Splunk SOAR using the SOAR App Webhook Service (port 3500).
With this change, OpenCTI can act as the source-of-truth and control plane, while Splunk SOAR handles orchestration and response based on OpenCTI intelligence state.
What’s Included
App-Level Webhook Endpoint
• Declares a new webhook endpoint in opencti.json
• Exposes:
Webhook Routing
Webhook Handler
Example Workflow
Example triggering events:
• Indicator created / updated
• Incident created or validated
• Case lifecycle changes
• Sighting thresholds crossed
Example Payload
Implementation Details
Webhook Declaration (opencti.json)
Webhook Routing (opencti_connector.py)
Backward Compatibility
• ✅ No changes to existing actions
• ✅ No impact on outbound OpenCTI API calls
• ✅ Existing assets and playbooks continue to function unchanged
Deployment Notes
• Webhooks are supported on on-prem Splunk SOAR deployments
• Requires the SOAR Webhook Service (port 3500) to be enabled
• Users must reinstall / upgrade the app after deploying this change
Non-Goals
• Authentication (HMAC / token headers) — can be added in a follow-up
• Support for Splunk SOAR Cloud (webhooks are on-prem only)
• Changes to OpenCTI core webhook behavior
Testing Performed
• Manual POST to webhook endpoint using curl
• Verified container creation in SOAR
• Verified payload preservation and routing
Related
• GitHub Issue: Add inbound webhook support to OpenCTI Splunk SOAR App