AWS dms high security documentation change
Summary
Removed JSON examples of IAM trust policies implementing confused deputy prevention conditions (SourceAccount and SourceArn restrictions)
Security assessment
The removed content demonstrated security best practices for cross-service role assumptions using explicit source account/ARN conditions. These policies help prevent confused deputy attacks by restricting which entities can assume roles. Removing these examples reduces guidance on implementing critical security controls.
Diff
diff --git a/dms/latest/userguide/cross-service-confused-deputy-prevention.md b/dms/latest/userguide/cross-service-confused-deputy-prevention.md index 21e7ba2d7..3addf4ba4 100644 --- a//dms/latest/userguide/cross-service-confused-deputy-prevention.md +++ b//dms/latest/userguide/cross-service-confused-deputy-prevention.md @@ -34,30 +33,0 @@ The following example shows policies for using the `dms-vpc-role` role with the -JSON - - -**** - - - - { - "Version": "2012-10-17", - "Statement": [ - { - "Sid": "", - "Effect": "Allow", - "Principal": { - "Service": "dms.amazonaws.com" - }, - "Action": "sts:AssumeRole", - "Condition": { - "StringEquals": { - "AWS:SourceAccount": "your_account_id" - }, - "ArnEquals": { - "AWS:SourceArn": "arn:aws:dms:us-east-1:your_account_id:rep:my-replication-instance" - } - } - } - ] - } - - @@ -70,33 +39,0 @@ The following example shows a trust policy with confused deputy conditions that -JSON - - -**** - - - - { - "Version": "2012-10-17", - "Statement": [ - { - "Sid": "", - "Effect": "Allow", - "Principal": { - "Service": "dms.amazonaws.com" - }, - "Action": "sts:AssumeRole", - "Condition": { - "StringEquals": { - "AWS:SourceAccount": "your_account_id" - }, - "ArnLike": { - "AWS:SourceArn": [ - "arn:aws:dms:us-east-1:your_account_id:assessment-run:*", - "arn:aws:dms:us-east-1:your_account_id:task:*" - ] - } - } - } - ] - } - - @@ -109,30 +45,0 @@ The following example shows a trust policy with confused deputy conditions that -JSON - - -**** - - - - { - "Version": "2012-10-17", - "Statement": [ - { - "Sid": "", - "Effect": "Allow", - "Principal": { - "Service": "dms.amazonaws.com" - }, - "Action": "sts:AssumeRole", - "Condition": { - "StringEquals": { - "AWS:SourceAccount": "your_account_id" - }, - "ArnLike": { - "AWS:SourceArn": "arn:aws:dms:us-east-1:your_account_id:endpoint:*" - } - } - } - ] - } - -