AliyunServiceRolePolicyForSFMTelemetry is the authorization policy dedicated to a service-linked role. The policy is automatically attached to a service role when the service role is created. Then, the service-linked role is authorized to access other cloud services. This policy is updated by the relevant Alibaba Cloud service. Do not attach this policy to a RAM identity other than a service-linked role.
Policy details
Type: service system policy
Creation time: 14:45:43 on August 22, 2024
Update time: 01:59:53 on April 16, 2025
Current version: v7
Policy content
{
"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"
]
}
}
}
]
}