Tutorial: Implement a Custom SIEM for CloudConnexa Log Streaming
Use a serverless function to fetch log files from your AWS S3 bucket and send them to your SIEM using its API.
Custom integration can be implemented using a serverless function to fetch log files from your AWS S3 bucket, unpack them, and then send them to your SIEM using its API. The DataDog AWS Lambda function can be taken as a base to customize for your specific integration.
Prerequisites
A SIEM that has an API that can be used to receive events
Your AWS S3 bucket is configured as per Tutorial: Configure AWS S3 bucket for CloudConnexa Log Streaming
Your AWS S3 bucket is configured in the Log Streaming section of the CloudConnexa Administration Portal without errors.
A serverless compute service for running code such as AWS Lambda.
Code development skills. The DataDog AWS Lambda function is written in Java.
Develop your integration
The repository and contribution guide is here. Follow the contribution steps to start creating your forwarder.
Replace the DataDog API specifics with your SIEM’s API methods.
Update CloudFormation configuration with the required parameters and rename it to
cloudconnexas3-to-<SiemName>-forwarder
, whereSiemName
is replaced with the proper SIEM name.Test and verify your implementation.
Create a pull request to merge your changes to the mainstream.