Integrations
Amazon EventBridge
This document shows you how you can integrate Callgoose SQIBS with Amazon EventBridge.
Incidents will be creating in Callgoose SQIBS when there is a incident created in Amazon EventBridge as per the Alert rule configured by you in the Amazon EventBridge. This documentation is created to test the Integration between different vendors. Different application monitors and different environments may require different values to get a meaningful incident and incident description.
In Callgoose SQIBS
Create filter as per the Amazon EventBridge workflows.
- Create suitable API filter values depending on the payload sent by Amazon EventBridge to create a meaningful incident.
In Amazon EventBridge
1. Log in to the Amazon EventBridge Dashboard
Click on API destinations
Click on Create API destinationsCreate API destinationAPI destination detailName: Callgoose_SQIBS_API API destination endpoint
https://xxxxxxxx.callgoose.com/sqibs-api/v1/process?from=Amazon+EventBridge
HTTP method: POSTClick the Check box Create a new connectionConnection name: Callgoose_SQIBS_Connection Destination type: Other Authorization type: API key API key name CallgooseSQIBS Value true
Click on Invocation Http ParametersParameter: Choose Header from dropdown
Key: Authorization
Value: Bearer 'paste token here'
Click on Create
It will show you that Successfully created API destination Callgoose_SQIBS_API
2. Click on Connections Tab and you can see Connections created too.
You can now choose the newly created API destination Callgoose_SQIBS_API as target under Rules.
3. How to test this API destination
Here we choose one cron job rule to test this API destination Callgoose_SQIBS_APIThis scheduler will check any events in the AWS every 10 minutes and send to the API destination Callgoose_SQIBS_API The same way you can create your own rules suitable to your requirements and choose API destination Callgoose_SQIBS_API Click on Rules then Click on Create rule
Define rule detail Rule detail Name: API_connection_test_rule Rule type: Schedule
Click on Next
4. Click on A Schedule that runs at a regular rate, such as every 10 minutes rate: request from AWS. Click on Next
5. Select target(s) You may also Choose SNS so that you don’t need to create multiple API destinations for separate AWS services
Click on AWS service,
Select a target
Choose SNS topic from drop down
Topic: Choose Callgoose_SQIBS_Alerts
Refer to this page for how to create a SNS Topic
Here we choose EventBridge API destinationTarget types: Choose EventBridge API destination API destination Click on Use an existing API destination Choose Callgoose_SQIBS_API from dropdown Click on Create a new role for this specific resource Click on Next Configure tags – optional Click on Next
Review and create Click on Create rule
6. Go to Callgoose SQIBS dashboard – API Log EXTRA You can see the payload like the below from Amazon EventBridge