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

On the Sidebar, click on Services.

You can either choose to use existing service or create a new service

Now, click on the corresponding Alert Sources button.

Select AWS CloudTrail via CloudWatch from Alert Source drop down and copy the Webhook URL shown.

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.