Sumo Logic alert channel
A FortiCNAPP Amazon CloudWatch alert channel can forward FortiCNAPP alerts through CloudWatch. You can define a rule to send alerts to a specified target using Amazon SNS (Simple Notification Service), and subscribe a Sumo Logic custom app endpoint to the SNS topic. FortiCNAPP alerts are sent using SNS subscription to your Sumo Logic custom app endpoint where you can view alert data in Sumo Logic.
Creating a FortiCNAPP alert channel
Configure a FortiCNAPP alert channel with Amazon CloudWatch.
Setting up an SNS topic
To set up an SNS topic:
- In the AWS Console, navigate to SNS, and select Topics.
- Click Create new topic and provide a Topic name and Display name.
- In AWS, navigate to CloudWatch.
- Under Events > Rules, select the rule you created with the Amazon CloudWatch integration.
- In the top right, select Actions > Edit to bring up the rule and target page. On the left, you should see the custom event pattern you configured when setting up CloudWatch. On the right, you should see where you can configure your targets.
- Select Add target.
- In the Target dropdown, select SNS topic.
- In the Topic dropdown, select the SNS topic you configured to receive FortiCNAPP events.
- (Optional) Under Configure input, select Part of the matched event and input the following:
$.detail
Configuring a Sumo Logic HTTP endpoint
To configure a Sumo Logic HTTP endpoint:
- In Sumo Logic, navigate to Manage Data > Collection.
- In the top right, click Add Collector.
- Select Hosted Collector.
- Provide a name, for example, HTTP, and optional description, category, and time zone. Click Save to create your collector.
- Add a data source to your collector by proceeding or clicking Add source.
- Under Cloud APIs, select HTTP Logs & Metrics.
- Provide a name for your source as well as optional configuration. For additional information about configuring a source and options, see Add a Source in the Sumo Logic documentation.
- Click Save.
This generates an HTTP source address. This address is the endpoint you subscribe to the previously configured SNS topic.
Subscribing a Sumo Logic HTTP endpoint to SNS topic
To subscribe a Sumo Logic HTTP endpoint to SNS topic:
- In the AWS Console, navigate to SNS, and select Topics.
- Go into the SNS topic by clicking the ARN of the topic that was created in the previous procedure.
- Under Subscriptions, click Create subscription.
- The Topic ARN should be populated with the ARN of your SNS topic.
- For protocol, select HTTPS.
- For endpoint, input the HTTP source address url generated when creating your Sumo Logic HTTP endpoint.
- This initializes the configuration for Lacework events to be sent through CloudWatch to the SNS topic subscribed to by the Sumo Logic HTTP endpoint. Upon subscription, complete the verification by navigating to an event sent into Sumo Logic and clicking the URL to confirm subscription.
Configuring SNS to send raw message delivery
To configure SNS to send raw message delivery:
- In AWS > SNS, click into the ARN to select your topic.
- Under Subscriptions, click Other subscription actions and select Edit subscription attributes.
- Select the raw message delivery checkbox and click Set subscription attributes.