Amazon EventBridge Integration

Create events in Amazon EventBridge using ilert alerts.

Amazon EventBridge is a serverless event bus that makes it easier to build event-driven applications at scale using events generated from your applications, integrated Software-as-a-Service (SaaS) applications, and AWS services.

In ilert: Create an Amazon EventBridge alert action

  1. **Go to the alert sources tab and open the alert source whose alerts you want to publish to Amazon EventBridge. Click on the Alert actions tab and then on the Add new alert action** button

  1. On the next page choose Amazon EventBridge as the type, name it, choose Trigger mode, enter your AWS account ID, choose AWS region and click on the Save button.

In AWS Console: Create an Amazon EventBridge event source

  1. Go to the AWS Console and then to Amazon EventBridge, then click on the Partner event sources link and on the Event Source that you created in the previous step**.**

  1. On the next page, click on the Associate with event bus button

  1. On the next page in the permissions section, choose Organization and My organization - **then click on the Associate** button

  1. To finished the configuration, you need to create a rule for the new event bus e.g. a rule for Amazon SQS. To do that, go to the EventBridge Rules, choose the Event bus and click on the Create rule button

  1. On the next page in the New and description section, name the rule, e.g. my-rule and scroll down

  1. In the Define pattern section, choose Pre-defined pattern by service, in the Service provider section choose All Events and scroll down

  1. In the Select targets section, choose SQS queue as target type and choose your queue, then scroll down and click on the Create button

  1. Finished! Now an Amazon EventBridge notification will be created for each alert that is created to the linked alert source in ilert.

Event types sent to Amazon EventBridge event bus

  • alert-created

  • alert-acknowledged

  • alert-resolved

  • alert-assigned

  • alert-auto-escalated

  • alert-auto-resolved

  • alert-rejected

  • alert-raised

  • alert-comment-added

Sample event payload sent to Amazon EventBridge event bus

{
  "version": "0",
  "id": "cb5fbc21-5156-2073-1f94-116d1dadae0e",
  "detail-type": "alert-created",
  "source": "aws.partner/ilert.com/test/cc23670e-ad3e-4c38-8d45-d22c36ced352",
  "account": "61xxxxxxxx53",
  "time": "2021-08-06T08:16:16Z",
  "region": "eu-central-1",
  "resources": [
    "ilert"
  ],
  "detail": {
    "id": "3710705",
    "summary": "test incident",
    "details": "My server is down",
    "reportTime": "2021-08-06T08:16:01.154Z",
    "status": "PENDING",
    "eventType": "incident-created",
    "priority": "HIGH",
    "alertSource": {
      "id": 2193327,
      "name": "Test"
    },
    "assignedTo": null
  }
}

FAQ

Can I link multiple Amazon EventBridge sources to an ilert account?

Yes.

Can I choose which updates to an alert will be published in Amazon EventBridge?

Yes.

How can I remove the Partner Event Source?

The partner event source will be automatically removed with the alert action.

Last updated