All Products
Search
Document Center

Resource Access Management:AliyunServiceRolePolicyForAlbLogDelivery

最終更新日:Apr 23, 2024

AliyunServiceRolePolicyForAlbLogDelivery 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: 15:01:46 on September 01, 2020

  • Update time: 09:03:38 on March 17, 2021

  • Current version: v1

Policy content

{
  "Version": "1",
  "Statement": [
    {
      "Action": [
        "log:PostLogStoreLogs"
      ],
      "Resource": "*",
      "Effect": "Allow"
    },
    {
      "Action": "ram:DeleteServiceLinkedRole",
      "Resource": "*",
      "Effect": "Allow",
      "Condition": {
        "StringEquals": {
          "ram:ServiceName": "logdelivery.alb.aliyuncs.com"
        }
      }
    },
    {
      "Effect": "Allow",
      "Action": [
        "log:GetProductDataCollection",
        "log:OpenProductDataCollection",
        "log:CloseProductDataCollection"
      ],
      "Resource": [
        "acs:log:*:*:project/*",
        "acs:alb:*:*:loadbalancer/*"
      ]
    },
    {
      "Action": "ram:CreateServiceLinkedRole",
      "Resource": "*",
      "Effect": "Allow",
      "Condition": {
        "StringEquals": {
          "ram:ServiceName": [
            "audit.log.aliyuncs.com"
          ]
        }
      }
    }
  ]
}

References