QuestionQ43

VerifiedSecurity and Compliance

A company grants its employees limited AWS permissions. DevOps engineers can assume an administrator role. For auditing purposes, the security team needs a near-real-time notification whenever the administrator role is assumed.

How should this be implemented?

Explanation

AWS STS records a role assumption as an AssumeRole API event in AWS CloudTrail. An Amazon EventBridge rule can match AWS API Call via CloudTrail events, including the STS AssumeRole event and the administrator role ARN, then invoke a Lambda function to publish an Amazon SNS notification. This provides event-driven, near-real-time notification. Logging IAM and AWS STS API calls with AWS CloudTrail

Learn more

Community Discussion

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