QuestionQ49

VerifiedContinuous Improvement for Existing Solutions

An external audit of a company’s serverless application finds IAM policies with excessive permissions. The policies are attached to the company’s AWS Lambda execution roles. Hundreds of the company’s Lambda functions have broad permissions, such as full access to Amazon S3 buckets and Amazon DynamoDB tables. The company wants every function to have only the minimum permissions required to complete its task.

A solutions architect must identify the permissions required by each Lambda function.

What should the solutions architect do to meet this requirement with the LEAST amount of effort?

Explanation

IAM Access Analyzer can analyze AWS CloudTrail activity for an IAM role over a selected time period and generate a policy based on the services and actions the role actually used. Reviewing the generated policies before replacing broad policies provides a low-effort path toward least-privilege Lambda execution roles.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!