AWSMigrationHubOrchestratorServiceRolePolicy
Last Modified
Mar 12, 2026
March 12, 2026 at 09:26 PM UTC
Version
v4
Total Versions
4
Created
Mar 4, 2024
Actions
33
Risk
HighAn unrestricted escalation path, identity administration, secret reads or the power to switch off security monitoring. Read from this policy document alone: trust policies, boundaries and SCPs in your account still decide what actually succeeds. How this is assessed
- High
Can take over existing resources that run as another role
Grants every action of 1 documented escalation path on any resource with no condition, and 2 more in a scoped form.
- ec2:CreateLaunchTemplateVersion: condition aws:ResourceTag/AWSApplicationMigrationServiceManaged
- ec2:ModifyLaunchTemplate: condition aws:ResourceTag/AWSApplicationMigrationServiceManaged
- ec2:CreateLaunchTemplateVersion: condition aws:ResourceTag/AWSApplicationMigrationServiceManaged
- ec2:ModifyLaunchTemplate: condition aws:ResourceTag/AWSApplicationMigrationServiceManaged
Use with caution: List the roles attached to the functions, instances, pipelines or notebooks it can modify: the holder effectively has them too.
IAM Access Analyzer (1)
- Suggestion / REDUNDANT_RESOURCE
The 2 resource ARN(s) are redundant because they reference the same resource. Review the use of wildcards (*), or remove the resource arn:aws:s3:::migrationhub-orchestrator-*/* to remove the redundancy. AWS docs
Policy Document
View on GitHub{
"PolicyVersion": {
"Document": {
"Version": "2012-10-17",
"Statement": [
{
"Sid": "ApplicationDiscoveryService",
"Effect": "Allow",
"Action": [
"discovery:DescribeConfigurations",
"discovery:ListConfigurations"
],
"Resource": "*"
},
{
"Sid": "LaunchWizard",
"Effect": "Allow",
"Action": [
"launchwizard:ListProvisionedApps",
"launchwizard:DescribeProvisionedApp",
"launchwizard:ListDeployments",
"launchwizard:GetDeployment"
],
"Resource": "*"
},
{
"Sid": "EC2instances",
"Effect": "Allow",
"Action": [
"ec2:DescribeInstances"
],
"Resource": "*"
},
{
"Sid": "ec2MGNLaunchTemplate",
"Effect": "Allow",
"Action": [
"ec2:CreateLaunchTemplateVersion",
"ec2:ModifyLaunchTemplate"
],
"Resource": "*",
"Condition": {
"StringEquals": {
"aws:ResourceTag/AWSApplicationMigrationServiceManaged": "mgn.amazonaws.com"
}
}
},
{
"Sid": "ec2LaunchTemplates",
"Effect": "Allow",
"Action": [
"ec2:DescribeLaunchTemplates"
],
"Resource": "*"
},
{
"Sid": "getHomeRegion",
"Action": [
"mgh:GetHomeRegion"
],
"Effect": "Allow",
"Resource": "*"
},
{
"Sid": "SSMcommand",
"Effect": "Allow",
"Action": [
"ssm:SendCommand",
"ssm:GetCommandInvocation",
"ssm:CancelCommand"
],
"Resource": [
"arn:aws:ssm:*::document/AWS-RunRemoteScript",
"arn:aws:ec2:*:*:instance/*",
"arn:aws:s3:::aws-migrationhub-orchestrator-*",
"arn:aws:s3:::migrationhub-orchestrator-*"
]
},
{
"Sid": "SSM",
"Effect": "Allow",
"Action": [
"ssm:DescribeInstanceInformation",
"ssm:GetCommandInvocation"
],
"Resource": [
"*"
]
},
{
"Sid": "s3GetObject",
"Effect": "Allow",
"Action": [
"s3:GetObject"
],
"Resource": [
"arn:aws:s3:::migrationhub-orchestrator-*",
"arn:aws:s3:::migrationhub-orchestrator-*/*"
]
},
{
"Sid": "EventBridge",
"Effect": "Allow",
"Action": [
"events:PutTargets",
"events:DescribeRule",
"events:DeleteRule",
"events:PutRule",
"events:RemoveTargets"
],
"Resource": "arn:aws:events:*:*:rule/MigrationHubOrchestratorManagedRule*"
},
{
"Sid": "MGN",
"Effect": "Allow",
"Action": [
"mgn:GetReplicationConfiguration",
"mgn:GetLaunchConfiguration",
"mgn:StartCutover",
"mgn:FinalizeCutover",
"mgn:StartTest",
"mgn:UpdateReplicationConfiguration",
"mgn:DescribeSourceServers",
"mgn:MarkAsArchived",
"mgn:ChangeServerLifeCycleState"
],
"Resource": "*"
},
{
"Sid": "ec2DescribeImportImage",
"Effect": "Allow",
"Action": [
"ec2:DescribeImportImageTasks"
],
"Resource": "*"
},
{
"Sid": "s3ListBucket",
"Effect": "Allow",
"Action": "s3:ListBucket",
"Resource": "arn:aws:s3:::*",
"Condition": {
"StringLike": {
"s3:prefix": "migrationhub-orchestrator-vmie-*"
}
}
}
]
},
"VersionId": "v4",
"IsDefaultVersion": true,
"CreateDate": "2024-03-04T18:25:12+00:00"
}
}Version History (7 recorded)
Raw historyAWSMigrationHubOrchestratorServiceRolePolicy - Policy Version v4
No recorded action delta - this version predates the change index. View the raw diff.
Mar 12, 2026
4b2f5caUpdate detected
No recorded action delta - this version predates the change index. View the raw diff.
Sep 18, 2024
aafbae9Update detected
No recorded action delta - this version predates the change index. View the raw diff.
May 13, 2024
1b36617Update detected
No recorded action delta - this version predates the change index. View the raw diff.
Mar 4, 2024
902696fUpdate detected
No recorded action delta - this version predates the change index. View the raw diff.
Feb 24, 2023
8088dd4Update detected
No recorded action delta - this version predates the change index. View the raw diff.
Dec 21, 2022
5f831d7Update detected
No recorded action delta - this version predates the change index. View the raw diff.
Apr 20, 2022
76304de