For the complete documentation index, see llms.txt. This page is also available as Markdown.

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

  1. Go to Alerting → Alert sources and click Create new alert source.

  2. Search for Amazon SNS, click its tile, and click Next.

  3. Give your alert source a name, optionally assign teams, and click Next.

  4. 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.

    The escalation step of the ilert alert source wizard, headed Who should be notified about alerts, with an escalation policy selected and a preview of its escalation rules below.
    Pick an existing escalation policy, or generate a basic one without leaving the wizard.
  5. 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.

  6. The next page shows more settings, such as notification priority and alert templates. Click Finish setup for now; you can change them later.

  7. 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

  1. On the sidebar, click on Topics -> Create topic.

  1. Choose Standard and enter a topic Name.

  2. Save the topic.

  1. Now click on Create subscription.

  1. 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

  1. Choose a desired trail by clicking on the name.

  1. In the General details tab, click on Edit.

  1. Under Additional settings, enable SNS notification delivery.

  2. 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?