AWS Cloudtrail Integration
Use ilert to receive alerts based on AWS CloudTrail activity like IAM changes or unauthorized API calls, ensuring fast response from on-call teams.
AWS CloudTrail is a service that records and monitors all actions taken within an AWS account, providing detailed logs of API calls and activity across resources. When connected to ilert, CloudTrail enhances incident response by triggering real-time alerts for critical changes or suspicious activity, such as unauthorized access attempts or modifications to security settings.
How this integration works
AWS CloudTrail logs and monitors account activity across your AWS infrastructure. Activity logs are published to specific Amazon Simple Notification Service (SNS) topics; the events are sent to ilert.
Architecture

In ilert: Create an Amazon SNS alert source
Go to Alerting → Alert sources and click Create new alert source.
Search for Amazon SNS, click its tile, and click Next.
Give your alert source a name, optionally assign teams, and click Next.
Choose who gets notified: select Use existing escalation policy and pick a policy, or Generate new escalation policy to start with a basic one that notifies you first. Click Next.

Pick an existing escalation policy, or generate a basic one without leaving the wizard. Select Default grouping and click Continue setup. It groups events by the alert key the integration sets; the other grouping options are easier to judge once events are arriving.
The next page shows more settings, such as notification priority and alert templates. Click Finish setup for now; you can change them later.
On the final page, ilert shows the integration key and URL for this alert source. You will need them later in this guide.

In AWS Simple Notification Service(SNS): Create a new topic
On the sidebar, click on Topics -> Create topic.

Choose Standard and enter a topic Name.
Save the topic.

Now click on Create subscription.

Select 'HTTPS' as Protocol and enter the alert source URL previously generated in ilert into the Endpoint field.

In AWS Cloudtrail: Enable a SNS Notification
Choose a desired trail by clicking on the name.

In the General details tab, click on Edit.

Under Additional settings, enable SNS notification delivery.
Choose Existing and search for the newly created topic from before.

FAQ
Will alerts in ilert be resolved automatically?
No, but you can use the eventType custom attribute to resolve an incident in specified incidentKey.
Last updated
Was this helpful?