AWSElasticDisasterRecoveryEc2InstancePolicy

Last Modified

Mar 12, 2026

March 12, 2026 at 09:26 PM UTC

Version

v5

Total Versions

6

Created

Nov 27, 2023

Actions

19

Risk

Medium

The same capabilities in a scoped form, resource policy writes, reads across all data, or full access to a whole service. Read from this policy document alone: trust policies, boundaries and SCPs in your account still decide what actually succeeds. How this is assessed

  • Medium

    Can take over other users or roles

    Grants the actions of 1 documented escalation path, but only on named resources or under a condition. Review that scope before trusting it.

    • sts-001sts:AssumeRolescoped
      • sts:AssumeRole: condition aws:RequestTag/SourceInstanceARN, sts:TransitiveTagKeys, on arn:aws:iam::*:role/service-role/DRSCrossAccountAgentAuthorizedRole_*

    Use with caution: Check which roles, users or policies fall inside the scope shown above. Within it the escalation works as documented, so keep privileged principals out of it.

Policy Document

View on GitHub
{
  "PolicyVersion": {
    "Document": {
      "Version": "2012-10-17",
      "Statement": [
        {
          "Sid": "DRSEc2InstancePolicy1",
          "Effect": "Allow",
          "Action": [
            "drs:GetAgentInstallationAssetsForDrs",
            "drs:SendClientLogsForDrs",
            "drs:SendClientMetricsForDrs",
            "drs:CreateSourceServerForDrs",
            "drs:CreateSourceNetwork"
          ],
          "Resource": "*"
        },
        {
          "Sid": "DRSEc2InstancePolicy2",
          "Effect": "Allow",
          "Action": [
            "drs:TagResource"
          ],
          "Resource": "arn:aws:drs:*:*:source-server/*",
          "Condition": {
            "StringEquals": {
              "drs:CreateAction": "CreateSourceServerForDrs"
            }
          }
        },
        {
          "Sid": "DRSEc2InstancePolicy3",
          "Effect": "Allow",
          "Action": [
            "drs:TagResource"
          ],
          "Resource": "arn:aws:drs:*:*:source-network/*",
          "Condition": {
            "StringEquals": {
              "drs:CreateAction": "CreateSourceNetwork"
            }
          }
        },
        {
          "Sid": "DRSEc2InstancePolicy4",
          "Effect": "Allow",
          "Action": [
            "drs:SendAgentMetricsForDrs",
            "drs:SendAgentLogsForDrs",
            "drs:UpdateAgentSourcePropertiesForDrs",
            "drs:UpdateAgentReplicationInfoForDrs",
            "drs:UpdateAgentConversionInfoForDrs",
            "drs:GetAgentCommandForDrs",
            "drs:GetAgentConfirmedResumeInfoForDrs",
            "drs:GetAgentRuntimeConfigurationForDrs",
            "drs:UpdateAgentBacklogForDrs",
            "drs:GetAgentReplicationInfoForDrs"
          ],
          "Resource": "arn:aws:drs:*:*:source-server/*"
        },
        {
          "Sid": "DRSEc2InstancePolicy5",
          "Effect": "Allow",
          "Action": [
            "sts:AssumeRole",
            "sts:TagSession"
          ],
          "Resource": [
            "arn:aws:iam::*:role/service-role/DRSCrossAccountAgentAuthorizedRole_*"
          ],
          "Condition": {
            "StringLike": {
              "aws:RequestTag/SourceInstanceARN": "${ec2:SourceInstanceARN}"
            },
            "ForAnyValue:StringEquals": {
              "sts:TransitiveTagKeys": "SourceInstanceARN"
            }
          }
        }
      ]
    },
    "VersionId": "v5",
    "IsDefaultVersion": true,
    "CreateDate": "2023-11-27T13:39:44+00:00"
  }
}

Version History (9 recorded)

Raw history

AWSElasticDisasterRecoveryEc2InstancePolicy - Policy Version v5

No recorded action delta - this version predates the change index. View the raw diff.

Mar 12, 2026

81bdec4

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Sep 18, 2024

aafbae9

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

May 13, 2024

1b36617

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Nov 27, 2023

dd0483b

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Nov 27, 2023

6315135

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Oct 25, 2023

87cacd4

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Jun 13, 2023

1754e08

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

May 14, 2023

a171fb1

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

May 26, 2022

b3897e0