Free plan Signups are open now. The full audytx engine — Terraform and CloudFormation — is live. The Free plan is 100 scans a month and stays free — paid tiers arrive Nov 01, 2026 from $20/month for unlimited repositories. Try it on your own code.

Bedrock service role trust policy lacks aws:SourceArn scoping

AWS_BEDROCK_001 HIGH Security

What it checks

Bedrock service role trust policy lacks aws:SourceArn scoping

Where it applies

Terraform: aws_iam_role

CloudFormation: AWS::IAM::Role

How to fix it

  1. Add Condition.ArnLike["aws:SourceArn"] pointing to the specific agent ARN (or arn:aws:bedrock:<region>:<account>:agent/*) to the bedrock.amazonaws.com trust statement.
  2. Add Condition.StringEquals["aws:SourceAccount"] = var.account_id for defense-in-depth.

Frameworks

These mappings are advisory, not an attestation of compliance.

All rules