All Products
Search
Document Center

Resource Access Management:AliyunServiceRolePolicyForESAMssp

Last Updated:Oct 31, 2025

AliyunServiceRolePolicyForESAMssp 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: 16:05:20 on July 14, 2025

  • Update time: 05:48:50 on October 31, 2025

  • Current version: v2

Policy content

{
  "Version": "1",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "esa:Check*",
        "esa:Describe*",
        "esa:Get*",
        "esa:List*",
        "esa:Transform*",
        "esa:*Waf*",
        "esa:*Ddos*",
        "esa:*DDoS*",
        "esa:UpdateCustomScenePolicy"
      ],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "log:GetConfig",
        "log:GetIndex",
        "log:GetCursor",
        "log:GetCursorTime",
        "log:GetLogStore",
        "log:GetProject",
        "log:GetSavedSearch",
        "log:ListSavedsearch",
        "log:GetSlsService",
        "log:GetAlert",
        "log:ListAlert",
        "log:GetLogs",
        "log:GetHistograms",
        "log:GetLogging",
        "log:GetLogStoreLogs",
        "log:GetProjectLogs",
        "log:ListLogStores",
        "log:ListProject",
        "log:ListConfig",
        "log:ListDomains"
      ],
      "Resource": [
        "acs:log:*:*:project/esa-*/logstore/*",
        "acs:log:*:*:project/security-*/logstore/*"
      ]
    },
    {
      "Action": "ram:DeleteServiceLinkedRole",
      "Resource": "*",
      "Effect": "Allow",
      "Condition": {
        "StringEquals": {
          "ram:ServiceName": "esa.mssp.aliyuncs.com"
        }
      }
    }
  ]
}

References