Amazon GuardDuty
Send alerts from GaurdDuty to Squadcast
Last updated
Send alerts from GaurdDuty to Squadcast
Last updated
Amazon GuardDuty is a continuous security monitoring service that analyzes and processes data sources, such as AWS CloudTrail data events for Amazon S3 logs, CloudTrail management event logs, DNS logs, Amazon EBS volume data, Amazon EKS audit logs, and Amazon VPC flow logs.
Navigate to Services -> Service Overview -> select or search for your Service. Expand the accordion -> In the Alert Sources section, click Add.
2. Select Amazon GuardDuty. Copy the displayed Webhook URL to configure it within Amazon GuardDuty. Finish by clicking Add Alert Source -> Done.
Important:
When an alert source turns Active, it’ll show up under Configured Alert Sources, you can either generate a test alert from the integration or wait for a real-time alert to be generated by the Alert Source.
An Alert Source is active if there is a recorded incident via that Alert Source for the Service.
Log in to your AWS account and proceed to SNS
Click on Create topic
Within the dialog box, fill in the details as per your requirements and then click on Create topic
Inside the topic, click on Create Subscription
Select the protocol as HTTPS and in the endpoint enter the URL you obtained from the previous step.
Finally, click on Create Subscription to create the subscription
Important:
The Subscription ID for the subscription should immediately change to Confirmed from PendingConfirmation. Click on the refresh button to verify the same.
If you have not enabled GuardDuty, please follow Amazon’s documentation.
Or, if you have already enabled GuardDuty, skip to step 2
Once you have enabled GuardDuty, you can begin building EventBridge Rules to send alerts to Squadcast. Search and select EventBridge from the Services search bar
Select Rules from the left menu, then click Create Rule. One or more rules can be created to send specific events to Squadcast when a GuardDuty finding is opened
On the next page, perform the following:
Name: Enter a name that can be easily identified
Description (optional): Enter a description of the rule, pattern, and target(s)
Event Bus: Select Default
Enable the rule on the selected event bus: Toggle to the on position
Rule with an event pattern: This will automatically be preselected
Click Next to continue
On the next page, perform the following:
Event source: Select AWS events or EventBridge partner events
Sample event (optional): If you would like to view sample events, you may do so in this section
Event Source: Select AWS services
AWS Service: Select GuardDuty
Event type: Select GuardDuty Finding
Click Next to continue
On the next page, perform the following:
Target types: Select AWS service
Select a target: Search and select SNS topic
Topic: Search and select the topic created in previous steps
Configure other additional settings to your preference
Click Next to continue
On the next page, optionally add tags to your preference. Click Next to continue
On the final page, review your settings and click Create Rule. If you would like to create more rules, repeat steps 3-7
That's it, you are good to go!
Your Amazon GuardDuty integration is complete. Now, whenever an event is triggered that matches your Event Rules, an incident will be created in Squadcast for it.