AWS codecatalyst high security documentation change
Summary
Removed JSON trust policy configuration allowing wildcard service principals
Security assessment
Removal of overly permissive trust policy that allowed '-runner.amazonaws.com' and '.amazonaws.com' services to assume roles reduces potential attack surface. Wildcard principals can enable unintended service access.
Diff
diff --git a/codecatalyst/latest/userguide/build-deploy.md b/codecatalyst/latest/userguide/build-deploy.md index ca40fa935..240c301ea 100644 --- a//codecatalyst/latest/userguide/build-deploy.md +++ b//codecatalyst/latest/userguide/build-deploy.md @@ -139,24 +138,0 @@ You have now created a permissions policy. -JSON - - -**** - - - { - "Version": "2012-10-17", - "Statement": [ - { - "Sid": "", - "Effect": "Allow", - "Principal": { - "Service": [ - "-runner.amazonaws.com", - ".amazonaws.com" - ] - }, - "Action": "sts:AssumeRole" - } - ] - } - -