AliyunServiceRolePolicyForApsaraCopilot

更新时间:
复制 MD 格式

AliyunServiceRolePolicyForApsaraCopilot 是专用于服务关联角色的授权策略,会在创建服务关联角色 AliyunServiceRoleForApsaraCopilot 时自动授权,以允许服务关联角色代您访问其他云服务。本策略由对应的阿里云服务按需更新,请勿将本策略授权给服务关联角色之外的 RAM 身份使用。

策略详情

  • 类型:系统策略

  • 创建时间:2026-09-02 11:33:45

  • 更新时间:2026-11-25 19:24:18

  • 当前版本:v4

策略内容

{
  "Version": "1",
  "Statement": [
    {
      "Action": [
        "cms:DescribeConsoleViews",
        "cms:DescribeAlert*",
        "cms:DescribeMetric*",
        "cms:QueryEntityTopo",
        "cms:DescribeProjectMeta",
        "cms:DescribeBatchDetect*",
        "cms:DescribeSystemEvent*",
        "cms:DescribeMonitorGroup*",
        "cms:DescribeCloudInstanceAlertDashboard",
        "cms:DescribeInstAITopoByInstance",
        "cms:CMSAlertAnalysisA2AMessage",
        "cms:CMSK8sInspectionA2AMessage",
        "bms:StartDiagnose",
        "bms:GetDiagnoseStatusById",
        "bms:GetDiagnoseDetail",
        "aipaas:ListDiagnostics",
        "aipaas:GetPodDiagnosticsDetail",
        "aipaas:GetTaskDiagnosticsDetail",
        "vpc:DescribeEipAddresses",
        "vpc:DescribeEipMonitorData",
        "vpc:DescribeEipGatewayInfo",
        "vpc:DescribeVirtualBorderRouters",
        "vpc:DescribePhysicalConnections",
        "vpc:DescribeRouterInterfaces",
        "vpc:DescribeRouterInterfaceAttribute",
        "vpc:DescribeRouteTableList",
        "vpc:DescribeRouteEntryList",
        "vpc:DescribeBgpGroups",
        "vpc:DescribeBgpPeers",
        "vpc:DescribeBgpNetworks",
        "vpc:DescribeNqas",
        "vpc:DescribeAccessPoints",
        "vpc:DescribeVpcs",
        "vpc:DescribeVpcAttribute",
        "clouddns:DescribePrivateZones",
        "clouddns:DescribePrivateZoneRecords",
        "clouddns:DescribePrivateForwardZones",
        "clouddns:DescribePrivateDefaultForwardZones",
        "clouddns:DescribePrivateLines",
        "asrdrAgent:A2AMessage",
        "asrdr:CreateProtectGroup",
        "asrdr:CreateRecoveryPlan",
        "asrdr:CreateRecoveryTask",
        "asrdr:CreateSyncGroup",
        "asrdr:UpdateDrGroup",
        "asrdr:UpdateProtectGroup",
        "asrdr:UpdateRecoveryPlan",
        "asrdr:UpdateSyncGroup",
        "asrdr:GetDrGroup",
        "asrdr:GetProtectGroup",
        "asrdr:GetRecoveryPlan",
        "asrdr:GetRecoveryTask",
        "asrdr:GetSyncGroup",
        "asrdr:ListCloudCenter",
        "asrdr:ListCloudInstances",
        "asrdr:ListDrGroups",
        "asrdr:ListProtectGroups",
        "asrdr:ListProtectGroupScoringStatistics",
        "asrdr:ListRecoveryPlans",
        "asrdr:ListRecoveryTasks",
        "asrdr:ListScoringRecordItems",
        "asrdr:ListSyncGroups",
        "asrdr:ProtectGroupCtl",
        "asrdr:RecoveryTaskCtl",
        "asrdr:SyncGroupCtl",
        "asrdr:GetErrorLogList",
        "asrdr:GetSyncEntityLogList"
      ],
      "Resource": "*",
      "Effect": "Allow"
    },
    {
      "Action": [
        "ecs:DescribeInstances",
        "ecs:DescribeCloudAssistantStatus",
        "ecs:RunCommand",
        "ecs:DescribeInvocationResults"
      ],
      "Resource": [
        "acs:ecs:*:*:instance/*",
        "acs:ecs:*:*:command/*"
      ],
      "Effect": "Allow"
    },
    {
      "Action": "ram:DeleteServiceLinkedRole",
      "Resource": "*",
      "Effect": "Allow",
      "Condition": {
        "StringEquals": {
          "ram:ServiceName": "apsara-copilot.aliyuncs.com"
        }
      }
    }
  ]
}

相关文档