[{"data":1,"prerenderedAt":71},["ShallowReactive",2],{"pattern-auth0-eventbridge-lambda":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":10,"deploy":12,"description":15,"extension":16,"framework":17,"gitHub":18,"highlight":6,"introBox":24,"language":31,"level":32,"meta":33,"patternArch":34,"resources":52,"s3URL":6,"services":6,"stem":66,"testing":67,"videoId":6,"__hash__":70},"patterns\u002Fpatterns\u002Fauth0-eventbridge-lambda.json","Auth0 Amazon EventBridge SaaS Integration with AWS Lambda",null,{"text":8},[9],"\u003Ccode>cdk destroy --all\u003C\u002Fcode>.",[11],"content\u002Fcontributors\u002Fmaya-flores.json",{"text":13},[14],"cdk deploy","Use the Amazon EventBridge Auth0 SaaS integration to process failed login attempts with AWS Lambda.","json","AWS CDK",{"template":19},{"repoURL":20,"templateURL":21,"projectFolder":22,"templateFile":23},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fauth0-eventbridge-lambda","serverless-patterns\u002Fauth0-eventbridge-lambda","auth0-eventbridge-lambda","app.py",{"headline":25,"text":26},"How it works",[27,28,29,30],"This shows how to use the Auth0 Amazon EventBridge SaaS integration and AWS Lambda to process events from Auth0. This pattern is leveraging the Auth0 Amazon EventBridge SaaS integration to send login events from the customer's Auth0 account to their AWS account, via an Amazon EventBridge Partner event bus.","Once the Auth0 events are in the customer's account, an Amazon EventBridge rule routes suspicious login events to a downstream Lambda function. In production cases, the Lambda function could transform the event, send it to a downstream application, archive it, or send a notification email to a customer using 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.","Python","200",{},{"icon1":35,"icon2":40,"icon3":43,"line1":47,"line2":50},{"x":36,"y":37,"service":38,"label":39},20,50,"eventbridge","EventBridge Partner event source",{"x":37,"y":37,"service":41,"label":42},"lambda","AWS Lambda",{"x":44,"y":37,"service":45,"label":46},80,"cloudwatch","Amazon CloudWatch Logs",{"from":48,"to":49},"icon1","icon2",{"from":49,"to":51},"icon3",{"bullets":53},[54,57,60,63],{"text":55,"link":56},"Amazon EventBridge SaaS Integrations","https:\u002F\u002Faws.amazon.com\u002Feventbridge\u002Fintegrations\u002F",{"text":58,"link":59},"AmazonEventBridge SaaS Integrations Documentation","https:\u002F\u002Fdocs.aws.amazon.com\u002Feventbridge\u002Flatest\u002Fuserguide\u002Feb-saas.html",{"text":61,"link":62},"Auth0's Amazon EventBridge SaaS Integration","https:\u002F\u002Fmarketplace.auth0.com\u002Fintegrations\u002Famazon-log-streaming",{"text":64,"link":65},"Get More out of your Auth0 Logs with Amazon EventBridge","https:\u002F\u002Fauth0.com\u002Fblog\u002Fget-more-out-of-your-auth0-logs-with-amazon-eventbridge\u002F","patterns\u002Fauth0-eventbridge-lambda",{"text":68},[69],"See the GitHub repo for detailed testing instructions.","hBFvrcmXPlrYftbmaM2mzq5iwVlNDWSIO7oRVvOEtV4",1778846883401]