All Products
Search
Document Center

Resource Access Management:AliyunServiceRolePolicyForSLSStorageLens

Last Updated:Oct 09, 2025

AliyunServiceRolePolicyForSLSStorageLens 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: 13:56:08 on October 09, 2025

  • Update time: 13:56:08 on October 09, 2025

  • Current version: v1

Policy content

{
  "Version": "1",
  "Statement": [
    {
      "Action": [
        "nas:DescribeFileSystems"
      ],
      "Resource": "*",
      "Effect": "Allow"
    },
    {
      "Action": [
        "log:CreateProject",
        "log:GetProject",
        "log:ListProject",
        "log:ListLogStores",
        "log:GetLogStore",
        "log:CreateIndex",
        "log:UpdateIndex",
        "log:GetIndex",
        "log:CreateDashboard",
        "log:UpdateDashboard",
        "log:ListDashboard",
        "log:CreateLogStore",
        "log:CreateSavedSearch",
        "log:UpdateSavedSearch",
        "log:CreateLogtailPipelineConfig",
        "log:GetLogtailPipelineConfig",
        "log:ListLogtailPipelineConfig",
        "log:DeleteLogtailPipelineConfig",
        "log:UpdateLogtailPipelineConfig",
        "log:CreateMachineGroup",
        "log:RemoveConfigFromGroup",
        "log:ApplyConfigToGroup",
        "log:GetMachineGroup",
        "log:ListTagResources",
        "log:TagResources"
      ],
      "Resource": [
        "acs:log:*:*:project/*"
      ],
      "Effect": "Allow"
    },
    {
      "Action": "ram:DeleteServiceLinkedRole",
      "Resource": "*",
      "Effect": "Allow",
      "Condition": {
        "StringEquals": {
          "ram:ServiceName": "storagelens.log.aliyuncs.com"
        }
      }
    }
  ]
}

References