Check provider logo

IAM role does not have AmazonBedrockFullAccess managed policy attached

bedrock_full_access_policy_attached

Severityhigh
Servicebedrock
by Prowler

IAM roles (excluding service roles) are evaluated for attachment of the AWS-managed AmazonBedrockFullAccess policy.

This policy grants unrestricted access to all Amazon Bedrock actions and resources.

Risk

The AmazonBedrockFullAccess policy grants broad permissions across all Bedrock resources. If a role with this policy is compromised, an attacker could:

  • Invoke any model to exfiltrate data or generate harmful content
  • Modify guardrails, logging, and security configurations
  • Incur significant costs through unrestricted model invocations
Run this check with Prowler CLI

prowler aws --checks bedrock_full_access_policy_attached

Recommendation

Apply least privilege: replace AmazonBedrockFullAccess with a custom policy granting only the specific Bedrock actions required.

Use permissions boundaries and SCPs to limit the scope of Bedrock permissions. Regularly review access with IAM Access Analyzer to identify and remove unused privileges.

Remediation

CLI

aws iam detach-role-policy --role-name <ROLE_NAME> --policy-arn arn:aws:iam::aws:policy/AmazonBedrockFullAccess

Native IaC
Terraform
Other
  1. Open the AWS Console and go to IAM > Roles
  2. Select the role flagged by the check
  3. On the Permissions tab, find "AmazonBedrockFullAccess" under Attached policies
  4. Click Detach next to "AmazonBedrockFullAccess"
  5. Confirm the detach
  6. Attach a scoped policy granting only required Bedrock actions

Source Code

Resource Type

AwsIamRole

References

Related To

  • iam_role_administratoraccess_policy