AWS CloudTrail via CloudWatch

Get CloudTrail alerts into Squadcast using CloudWatch and SNS endpoints

Please use this integration guide to configure CloudTrail alerts so they can be received in Squadcast. This integration should be used only for getting CloudTrail alerts via CloudWatch and a SNS endpoint.

For CloudTrail log alerts, use the AWS CloudTrail Logs integration.

For regular AWS CloudWatch alarms (like EC2 alerts), use the AWS CloudWatch Integration.

Using AWS CloudTrail via CloudWatch as an Alert Source

(1) From the navigation bar on the left, select Services. Pick the applicable Team from the Team-picker on the top. Next, click on Alert Sources for the applicable Service

(2) Search for AWS CloudTrail via CloudWatch from the Alert Source drop-down and copy the Webhook URL

Create CloudTrail Alarm Endpoint in AWS SNS

Now log in to your AWS account and proceed to SNS.

Click on “Create topic” to get “Create new topic” dialog box. Fill in the details as per your requirements and then click on “Create topic

Now inside the topic, click on “Create subscription” to get “Create subscription” dialog box. Select the protocol as “HTTPS” and in the endpoint enter the URL you obtained from previous step. Finally, click on “Create subscription” to create the subscription.

The “Subscription ID” for the subscription should immediately change to “Confirmed” from “PendingConfirmation”. Click on the refresh button to verify the same.

Then you can configure your CloudTrail alerts and assign this topic as the notification option and you are good to go.