Corelight - Ingest Alerts as Custom Network Security Events
This workflow ingests Corelight alerts via webhook, normalizes and parses the payload, and converts it into Custom Security Events within XDR. The events are promoted to Detection Findings and evaluated for incident generation. The workflow supports YARA, Suricata, Anomaly, Machine Learning, and Notice alerts, enabling consistent detection, correlation, and response across XDR without direct sensor integration. If you want to ingest custom alerts that you have made in Corelight, please edit the workflow to add a parser for the custom alerts you want to ingest.
Description
To setup this workflow, follow the directions below:
Create a webhook
- Go to Automate -> Triggers
- Click on the Webhooks tab
- Click on + New Webhook button on the right side
- Give it a meaningful name for your organization
- Leave everything else as default
- Click Save on the bottom right
The page will refresh and give you the information you need to hit the webhook. Save the endpoint, headers, and API key for later.
Create a webhook rule
- Go back to the Automate -> Triggers page
- Click on the Automation Rules tab
- Under Rule type click on Other rules
- Click on + Add automation rule on the right side
- Change the Type to Webhook Rule
- Give it a meaningful name to your organization
- In the Select webhook dropdown, select the new webhook you created
- You may add a condition if you like, but it is not required. This can be useful if you want to limit what is able to use this webhook rule.
- In the Select worflow dropdown, select the Corelight - Ingest Alerts as Custom Network Security Events as the workflow
- Click Save on the bottom right.
After the two configurations above have been finished, we can go to Corelight and configure their webhook integration.
Corelight webhook configuration
- Log into Corelight Investigator
- Go to Settings -> Integrations
- Click on the Alert Exports tab
- Click ont he HTTP Exporter option
- Toggle on Enabled
- Provide a meaningful name for the exporter
- Provide the webhook URL that was saved for your exporter
- Specify the authentication type to be None
- Add a custom header of x-automate-api-key and paste the API key from the webhook in there
- Click Save
This integration is now configured and you will start to receive events via webhook from Corelight into Cisco XDR
This workflow requires the following targets to be available before it can be run.
Integration targets
- Cisco XDR