AWS codecatalyst high security documentation change
Summary
Removed CloudFormation permissions policy and wildcard trust policy
Security assessment
Removal of broad CloudFormation permissions and wildcard service principals reduces overprivileged deployment risks and potential infrastructure modification vulnerabilities.
Diff
diff --git a/codecatalyst/latest/userguide/deploy-action-ref-cfn.md b/codecatalyst/latest/userguide/deploy-action-ref-cfn.md index e8b0b68e6..48b167be7 100644 --- a//codecatalyst/latest/userguide/deploy-action-ref-cfn.md +++ b//codecatalyst/latest/userguide/deploy-action-ref-cfn.md @@ -239,28 +238,0 @@ Limit the permissions to those shown in the following policy. Using a role with -JSON - - -**** - - - { - "Version": "2012-10-17", - "Statement": [{ - "Action": [ - "cloudformation:CreateStack", - "cloudformation:DeleteStack", - "cloudformation:Describe*", - "cloudformation:UpdateStack", - "cloudformation:CreateChangeSet", - "cloudformation:DeleteChangeSet", - "cloudformation:ExecuteChangeSet", - "cloudformation:SetStackPolicy", - "cloudformation:ValidateTemplate", - "cloudformation:List*", - "iam:PassRole" - ], - "Resource": "resource_ARN", - "Effect": "Allow" - }] - } - - @@ -275,24 +246,0 @@ The first time the role is used, use the following wildcard in the resource poli -JSON - - -**** - - - { - "Version": "2012-10-17", - "Statement": [ - { - "Sid": "", - "Effect": "Allow", - "Principal": { - "Service": [ - "-runner.amazonaws.com", - ".amazonaws.com" - ] - }, - "Action": "sts:AssumeRole" - } - ] - } - -