AWS bedrock high security documentation change
Summary
Updated guardrail policy examples to use wildcard principal with organization condition and adjusted permissions
Security assessment
The change replaces a specific root principal with a conditional wildcard ('*' with PrincipalOrgID condition), which demonstrates security hardening by limiting access to organization members. The removal of 'bedrock:GetGuardrail' from some policies follows least privilege principles. These changes directly relate to access control security configurations.
Diff
diff --git a/bedrock/latest/userguide/guardrails-resource-based-policies.md b/bedrock/latest/userguide/guardrails-resource-based-policies.md index 081e753f2..5dcae9b9d 100644 --- a//bedrock/latest/userguide/guardrails-resource-based-policies.md +++ b//bedrock/latest/userguide/guardrails-resource-based-policies.md @@ -97,3 +97 @@ JSON - "Principal": { - "AWS": "arn:aws:iam::111122223333:root" - }, + "Principal": "*", @@ -100,0 +99 @@ JSON + "bedrock:GetGuardrail", @@ -103 +102,6 @@ JSON - "Resource": "arn:aws:bedrock:us-east-1:111122223333:guardrail-profile/profile-id" + "Resource": "arn:aws:bedrock:us-east-1:111122223333:guardrail/guardrail-id", + "Condition": { + "StringEquals": { + "aws:PrincipalOrgID": "org-id" + } + } @@ -184,2 +188 @@ JSON - "bedrock:ApplyGuardrail", - "bedrock:GetGuardrail" + "bedrock:ApplyGuardrail" @@ -187 +190 @@ JSON - "Resource": "arn:aws:bedrock:us-east-1:111122223333:guardrail/guardrail-id", + "Resource": "arn:aws:bedrock:us-east-1:111122223333:guardrail-profile/profile-id",