全部产品
Search
文档中心

访问控制:AliyunServiceRolePolicyForSFMTelemetry

更新时间:Oct 23, 2024

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

策略详情

  • 类型:系统策略

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

  • 更新时间:2024-08-22 14:45:43

  • 当前版本:v1

策略内容

{
    "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/*"
            ]
        },
        {
            "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"
                    ]
                }
            }
        }
    ]
}

相关文档