AliyunServiceRolePolicyForSFMTelemetry

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

策略详情

  • 类型:系统策略

  • 创建时间:2024-08-22 14:45:43

  • 更新时间:2025-04-16 01:59:53

  • 当前版本:v7

策略内容

{
  "Version": "1",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "log:Get*",
        "log:List*",
        "log:Query*"
      ],
      "Resource": [
        "acs:log:*:*:project/proj-xtrace-*",
        "acs:log:*:*:project/proj-xtrace-*/logstore/logstore-tracing",
        "acs:log:*:*:project/proj-xtrace-*/logstore/logstore-tracing/*"
      ]
    },
    {
      "Action": [
        "log:GetSlsService",
        "log:OpenSlsService",
        "log:DescribeService",
        "log:EnableService"
      ],
      "Resource": [
        "acs:log:*:*:service"
      ],
      "Effect": "Allow"
    },
    {
      "Effect": "Allow",
      "Action": [
        "arms:Describe*",
        "arms:List*",
        "arms:Get*",
        "arms:Search*",
        "arms:Check*",
        "arms:Query*",
        "arms:InitTraceResource"
      ],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "xtrace:Read*",
        "xtrace:Get*",
        "xtrace:Describe*",
        "xtrace:Check*",
        "xtrace:OpenXtraceService"
      ],
      "Resource": "*"
    },
    {
      "Action": "ram:DeleteServiceLinkedRole",
      "Resource": "*",
      "Effect": "Allow",
      "Condition": {
        "StringEquals": {
          "ram:ServiceName": "telemetry.sfm.aliyuncs.com"
        }
      }
    },
    {
      "Action": "ram:CreateServiceLinkedRole",
      "Resource": "*",
      "Effect": "Allow",
      "Condition": {
        "StringEquals": {
          "ram:ServiceName": [
            "arms.aliyuncs.com",
            "xtrace.aliyuncs.com",
            "cloudmonitor.aliyuncs.com"
          ]
        }
      }
    }
  ]
}

相关文档