A CloudFormation solution that monitors Amazon Bedrock API activity for security events, specifically tracking service-specific credential creation and bearer token usage through CloudTrail logs.
This solution creates two EventBridge rules to monitor CloudTrail logs for specific Bedrock API security events. When events are detected, notifications are sent via SNS to subscribed email addresses.
bedrock.amazonaws.com) and Bedrock Mantle (bedrock-mantle.amazonaws.com)The solution consists of:
Deploy using AWS CLI:
aws cloudformation create-stack \
--stack-name bedrock--api-security-monitoring \
--template-body file://bedrock-eventbridge-monitoring.yaml \
--capabilities CAPABILITY_NAMED_IAM
Or deploy via AWS Console by uploading the template file.
For a comprehensive security playbook, reference our Bedrock playbook: Responding to Amazon Security Events