AliyunServiceRolePolicyForMSEDiagnosis 是专用于服务关联角色的授权策略,会在创建服务关联角色 AliyunServiceRoleForMSEDiagnosis 时自动授权,以允许服务关联角色代您访问其他云服务。本策略由对应的阿里云服务按需更新,请勿将本策略授权给服务关联角色之外的 RAM 身份使用。
策略详情
类型:系统策略
创建时间:2024-06-17 18:59:20
更新时间:2025-01-03 06:11:59
当前版本:v5
策略内容
{
"Version": "1",
"Statement": [
{
"Action": [
"arms:GetAuthToken",
"arms:GetPrometheusApiToken",
"arms:ListDashboards",
"arms:QueryMetricByPage",
"arms:ListTraceApps"
],
"Resource": "*",
"Effect": "Allow"
},
{
"Action": [
"arms:Describe*",
"arms:List*",
"arms:Get*",
"arms:Search*",
"arms:Check*",
"arms:Query*",
"xtrace:Read*",
"xtrace:Get*",
"xtrace:Describe*"
],
"Resource": "*",
"Effect": "Allow"
},
{
"Action": [
"cms:Get*",
"cms:List*",
"cms:Query*",
"cms:BatchQuery*",
"cms:Describe*",
"cms:Cursor",
"cms:BatchGet",
"cms:BatchExport",
"cms:Check*"
],
"Resource": "*",
"Effect": "Allow"
},
{
"Action": [
"cs:DescribeClusterNodePools",
"cs:DescribeClusterDetail",
"cs:DescribeClusterInnerServiceKubeconfig",
"cs:RevokeClusterInnerServiceKubeconfig",
"cs:DescribeClusterUserKubeconfig",
"cs:DescribeAddons",
"cs:DescribeClusterAddonsVersion",
"cs:InstallClusterAddons",
"cs:UpgradeClusterAddons",
"cs:ListClusterAddonInstances",
"cs:DescribeUserClusterNamespaces"
],
"Resource": "*",
"Effect": "Allow"
},
{
"Action": [
"ecs:DescribeInvocations",
"ecs:RunCommand",
"ecs:DescribeInstanceMonitorData",
"ecs:DescribeMetricList",
"ecs:DescribeNetworkInterfaces",
"ecs:DescribeInstances",
"ecs:DescribeSecurityGroupAttribute",
"ecs:DescribeCloudAssistantStatus",
"ecs:DescribeInstanceAttribute"
],
"Resource": "*",
"Effect": "Allow"
},
{
"Action": [
"mse:ListClusters",
"mse:ListServiceSource",
"mse:GetGateway",
"mse:ListGatewayService"
],
"Resource": "*",
"Effect": "Allow"
},
{
"Action": [
"privatelink:CreateVpcEndpoint",
"privatelink:DeleteVpcEndpoint",
"privatelink:GetVpcEndpointAttribute",
"privatelink:RemoveZoneFromVpcEndpoint",
"privatelink:ListVpcEndpointZones"
],
"Resource": "*",
"Effect": "Allow"
},
{
"Action": [
"vpc:CreateVSwitch",
"vpc:DeleteVSwitch",
"vpc:DescribeVSwitchAttributes",
"vpc:ListVSwitchCidrReservations",
"vpc:DescribeVpcAttribute",
"vpc:AssociateVpcCidrBlock",
"vpc:UnassociateVpcCidrBlock"
],
"Resource": "*",
"Effect": "Allow"
},
{
"Effect": "Allow",
"Action": [
"nis:ListDiagnosisInstance",
"nis:CreateDiagnosisReport",
"nis:ListDiagnosisReport",
"nis:GetDiagnosisReport",
"nis:DeleteDiagnosisReport"
],
"Resource": "*"
},
{
"Action": [
"alb:ListLoadBalancers",
"alb:GetLoadBalancerAttribute",
"slb:DescribeLoadBalancerHTTPListenerAttribute",
"slb:DescribeLoadBalancerHTTPSListenerAttribute",
"slb:DescribeLoadBalancerListeners",
"slb:DescribeLoadBalancers",
"slb:DescribeLoadBalancerTCPListenerAttribute",
"slb:DescribeLoadBalancerUDPListenerAttribute",
"nlb:ListLoadBalancers",
"nlb:GetListenerAttribute",
"nlb:ListServerGroups",
"nlb:ListServerGroupServers",
"nlb:ListListeners"
],
"Resource": "*",
"Effect": "Allow"
},
{
"Action": "ram:DeleteServiceLinkedRole",
"Resource": "*",
"Effect": "Allow",
"Condition": {
"StringEquals": {
"ram:ServiceName": "diagnosis.mse.aliyuncs.com"
}
}
},
{
"Action": "ram:CreateServiceLinkedRole",
"Resource": "*",
"Effect": "Allow",
"Condition": {
"StringEquals": {
"ram:ServiceName": "privatelink.aliyuncs.com"
}
}
}
]
}