AWS drs medium security documentation change
Summary
Removed detailed JSON policy document outlining permissions for AWS Elastic Disaster Recovery service-linked role
Security assessment
The removed policy contained granular permissions including ec2:RunInstances, iam:PassRole, and kms:ListRetirableGrants which could have security implications if misconfigured. The removal suggests potential tightening of permissions or migration to a different security model, though without replacement content it's unclear if this indicates a vulnerability.
Diff
diff --git a/drs/latest/userguide/using-service-linked-roles.md b/drs/latest/userguide/using-service-linked-roles.md index 114c5618c..1fdd8b61f 100644 --- a//drs/latest/userguide/using-service-linked-roles.md +++ b//drs/latest/userguide/using-service-linked-roles.md @@ -25,434 +24,0 @@ The role permissions policy allows AWS Elastic Disaster Recovery to complete the -JSON - - -**** - - - - { - "Version": "2012-10-17", - "Statement": [ - { - "Sid": "DRSServiceRolePolicy1", - "Effect": "Allow", - "Action": [ - "drs:ListTagsForResource" - ], - "Resource": "*" - }, - { - "Sid": "DRSServiceRolePolicy2", - "Effect": "Allow", - "Action": [ - "drs:TagResource" - ], - "Resource": "arn:aws:drs:*:*:recovery-instance/*" - }, - { - "Sid": "DRSServiceRolePolicy3", - "Effect": "Allow", - "Action": [ - "drs:CreateRecoveryInstanceForDrs", - "drs:TagResource" - ], - "Resource": "arn:aws:drs:*:*:source-server/*" - }, - { - "Sid": "DRSServiceRolePolicy4", - "Effect": "Allow", - "Action": "iam:GetInstanceProfile", - "Resource": "*" - }, - { - "Sid": "DRSServiceRolePolicy5", - "Effect": "Allow", - "Action": "kms:ListRetirableGrants", - "Resource": "*" - }, - { - "Sid": "DRSServiceRolePolicy6", - "Effect": "Allow", - "Action": [ - "ec2:DescribeAccountAttributes", - "ec2:DescribeAvailabilityZones", - "ec2:DescribeImages", - "ec2:DescribeInstances", - "ec2:DescribeInstanceTypes", - "ec2:DescribeInstanceAttribute", - "ec2:DescribeInstanceStatus", - "ec2:DescribeLaunchTemplateVersions", - "ec2:DescribeLaunchTemplates", - "ec2:DescribeSecurityGroups", - "ec2:DescribeSnapshots", - "ec2:DescribeSubnets", - "ec2:DescribeVolumes", - "ec2:DescribeVolumeAttribute", - "ec2:GetEbsDefaultKmsKeyId", - "ec2:GetEbsEncryptionByDefault", - "ec2:DescribeVpcAttribute", - "ec2:DescribeInternetGateways", - "ec2:DescribeVpcs", - "ec2:DescribeNetworkAcls", - "ec2:DescribeRouteTables", - "ec2:DescribeDhcpOptions" - ], - "Resource": "*" - }, - { - "Sid": "DRSServiceRolePolicy7", - "Effect": "Allow", - "Action": [ - "ec2:RegisterImage" - ], - "Resource": "*" - }, - { - "Sid": "DRSServiceRolePolicy8", - "Effect": "Allow", - "Action": [ - "ec2:DeregisterImage" - ], - "Resource": "*", - "Condition": { - "Null": { - "aws:ResourceTag/AWSElasticDisasterRecoveryManaged": "false" - } - } - }, - { - "Sid": "DRSServiceRolePolicy9", - "Effect": "Allow", - "Action": [ - "ec2:DeleteSnapshot" - ], - "Resource": "arn:aws:ec2:*:*:snapshot/*", - "Condition": { - "Null": { - "aws:ResourceTag/AWSElasticDisasterRecoveryManaged": "false" - } - } - }, - { - "Sid": "DRSServiceRolePolicy10", - "Effect": "Allow", - "Action": [ - "ec2:CreateLaunchTemplateVersion", - "ec2:ModifyLaunchTemplate", - "ec2:DeleteLaunchTemplate", - "ec2:DeleteLaunchTemplateVersions" - ], - "Resource": "arn:aws:ec2:*:*:launch-template/*", - "Condition": { - "Null": { - "aws:ResourceTag/AWSElasticDisasterRecoveryManaged": "false" - } - } - }, - { - "Sid": "DRSServiceRolePolicy11", - "Effect": "Allow", - "Action": [ - "ec2:DeleteVolume", - "ec2:ModifyVolume" - ], - "Resource": "arn:aws:ec2:*:*:volume/*", - "Condition": { - "Null": { - "aws:ResourceTag/AWSElasticDisasterRecoveryManaged": "false" - } - } - }, - { - "Sid": "DRSServiceRolePolicy12", - "Effect": "Allow", - "Action": [ - "ec2:StartInstances", - "ec2:StopInstances", - "ec2:TerminateInstances", - "ec2:ModifyInstanceAttribute", - "ec2:GetConsoleOutput", - "ec2:GetConsoleScreenshot" - ], - "Resource": "arn:aws:ec2:*:*:instance/*", - "Condition": { - "Null": { - "aws:ResourceTag/AWSElasticDisasterRecoveryManaged": "false" - } - } - }, - { - "Sid": "DRSServiceRolePolicy13", - "Effect": "Allow", - "Action": [ - "ec2:RevokeSecurityGroupEgress", - "ec2:AuthorizeSecurityGroupIngress", - "ec2:AuthorizeSecurityGroupEgress" - ], - "Resource": "arn:aws:ec2:*:*:security-group/*", - "Condition": { - "Null": { - "aws:ResourceTag/AWSElasticDisasterRecoveryManaged": "false" - } - } - }, - { - "Sid": "DRSServiceRolePolicy14", - "Effect": "Allow", - "Action": [ - "ec2:CreateVolume" - ], - "Resource": "arn:aws:ec2:*:*:volume/*", - "Condition": { - "Null": { - "aws:RequestTag/AWSElasticDisasterRecoveryManaged": "false" - } - } - }, - { - "Sid": "DRSServiceRolePolicy15", - "Effect": "Allow", - "Action": [ - "ec2:CreateSecurityGroup" - ], - "Resource": "arn:aws:ec2:*:*:security-group/*", - "Condition": { - "Null": {