Okta integration with Amazon EventBridge

EventBridge Partner event source → AWS Lambda → Amazon CloudWatch Logs

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.

< Back to all patterns

GitHub icon Download this pattern (.zip)

GitHub icon View this pattern on GitHub


Clone repo

git clone https://github.com/aws-samples/serverless-patterns/cd serverless-patterns/eventbridge-partner-sources/1-okta/cdk-python

Deploy

cdk deploy


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

cdk destroy

Created by:

Ragib Ahsan

Ragib Ahsan

AWS Partner Solutions Architect based in NYC. Huge advocate for serverless architectures!

Follow on LinkedIn