AWS devops-guru high security documentation change
Summary
Removed all SNS topic policy examples for DevOps Guru integration
Security assessment
Deleted critical SNS policies that enforced source account validation and service principal permissions. These policies were essential for secure cross-account notifications and preventing unauthorized publishing.
Diff
diff --git a/devops-guru/latest/userguide/sns-required-permissions.md b/devops-guru/latest/userguide/sns-required-permissions.md index c412f986d..13493f4d6 100644 --- a//devops-guru/latest/userguide/sns-required-permissions.md +++ b//devops-guru/latest/userguide/sns-required-permissions.md @@ -49,29 +48,0 @@ Attach the following policy to the Amazon SNS topic you want to use. For the `Re - - { - "Version": "2012-10-17", - "Statement": [{ - "Sid": "EnableDevOpsGuruServicePrincipal", - "Action": "sns:Publish", - "Effect": "Allow", - "Resource": "arn:aws:sns:region-id:topic-owner-account-id:my-topic-name", - "Principal": { - "Service": "region-id.devops-guru.amazonaws.com" - }, - "Condition": { - "StringEquals": { - "AWS:SourceAccount": "topic-sender-account-id" - } - } - }, - { - "Sid": "EnableAccountPrincipal", - "Action": "sns:Publish", - "Effect": "Allow", - "Resource": "arn:aws:sns:region-id:topic-owner-account-id:my-topic-name", - "Principal": { - "AWS": ["arn:aws:iam::topic-sender-account-id:role/devops-guru-role"] - } - } - ] - } - @@ -86,29 +56,0 @@ Where possible, we recommend relying on temporary credentials instead of creatin - - { - "Version": "2012-10-17", - "Statement": [{ - "Sid": "EnableDevOpsGuruServicePrincipal", - "Action": "sns:Publish", - "Effect": "Allow", - "Resource": "arn:aws:sns:region-id:topic-owner-account-id:my-topic-name", - "Principal": { - "Service": "region-id.devops-guru.amazonaws.com" - }, - "Condition": { - "StringEquals": { - "AWS:SourceAccount": "topic-sender-account-id" - } - } - }, - { - "Sid": "EnableAccountPrincipal", - "Action": "sns:Publish", - "Effect": "Allow", - "Resource": "arn:aws:sns:region-id:topic-owner-account-id:my-topic-name", - "Principal": { - "AWS": ["arn:aws:iam::topic-sender-account-id:user/devops-guru-user-name"] - } - } - ] - } - @@ -197,16 +138,0 @@ If `AddNotificationChannel` is unable to add your SNS Topic, check that your IAM - - { - "Version": "2012-10-17", - "Statement": [{ - "Sid": "DevOpsGuruTopicPermissions", - "Effect": "Allow", - "Action": [ - "sns:CreateTopic", - "sns:GetTopicAttributes", - "sns:SetTopicAttributes", - "sns:Publish" - ], - "Resource": "arn:aws:sns:region-id:account-id:my-topic-name" - }] - } -