A Security Engineer has created an Amazon CloudWatch event that invokes an AWS Lambda function daily. The Lambda function runs an Amazon Athena query that checks AWS CloudTrail logs in Amazon S3 to detect whether any IAM user accounts or credentials have been created in the past 30 days. The results of the
Athena query are created in the same S3 bucket. The Engineer runs a test execution of the Lambda function via the AWS Console, and the function runs successfully.
After several minutes, the Engineer finds that his Athena query has failed with the error message: `Insufficient Permissions`. The IAM permissions of the Security
Engineer and the Lambda function are shown below:
Security Engineer -
Lambda function execution role -
What is causing the error?
sensor
Highly Voted 3 years, 9 months agoChauPhan
3 years, 7 months agofreddyman
3 years, 8 months agowahlbergusa
3 years, 7 months agopal40sg
1 year, 9 months agoSitender
Highly Voted 3 years, 8 months agoAamee
Most Recent 1 year, 6 months agoanhtu133
1 year, 6 months agoBenah
1 year, 9 months agoShenannigan
1 year, 9 months agopk0619
1 year, 11 months agoGreen53
1 year, 12 months agoKarthikeyanTK
2 years agoKarthikeyanTK
2 years agoRobert0
2 years agoITGURU51
2 years, 1 month agoKitman
2 years, 1 month agomatrpro
2 years, 1 month agokujin
2 years, 2 months agoblanco750
2 years, 3 months agoroguecloud
2 years, 4 months ago