CloudCheckr / Developer-Community

A public repository of scripts for utilizing the CloudCheckr API
https://success.cloudcheckr.com
MIT License
31 stars 17 forks source link

Add the UpdateManagedAccount Event in Lambda for the Solution Trigger #55

Open sbrown-tecracer opened 6 months ago

sbrown-tecracer commented 6 months ago

Is your feature request related to a problem? Please describe. When an account is re-provisioned / updated in Service Catalog, the Lambda is NOT started since an UpdateManagedAccount Event is called and not a CreateManagedAccount Event

Describe the solution you'd like For the CloudCheckR Lambda to watch both Control Tower Events - CreateManagedAccount / UpdateManagedAccount When manually added to the Event, following Lambda message is produced: image This means the uploaded Lambda function itself requires this change.

Describe alternatives you've considered Add CCR manually

Additional context Pretty urgent since both Control Tower Events have been around for quite some time but this project hasn't been touched for some time.