Use Amazon EventBridge Okta integration to process unusual login locations with AWS Lambda.
This sample project demonstrates how to use the Okta integration with Amazon EventBridge and AWS Lambda to process login events from Okta. This pattern is leveraging the Okta Amazon EventBridge integration to send login events from the customer's Okta organization to their AWS account, via an Amazon EventBridge Partner event bus.
Once the Okta log events are in the customer's account, an Amazon EventBridge rule routes unusual login location events to an AWS Lambda function. The Lambda function could transform the event, send it to a downstream application, archive it in a warehouse service, or send a notification email to a customer using Amazon SES.
Amazon CloudWatch Log Groups are provisioned for debugging and auditing.
This pattern deploys two EventBridge Rules, one Lambda function, and two CloudWatch Log Groups.