AliyunServiceRolePolicyForActionTrail

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

策略详情

  • 类型:系统策略

  • 创建时间:2020-07-15 03:03:09

  • 更新时间:2023-08-24 08:14:25

  • 当前版本:v11

策略内容

{
  "Version": "1",
  "Statement": [
    {
      "Action": [
        "oss:ListObjects",
        "oss:PutObject",
        "oss:GetBucketInfo",
        "oss:GetBucketLifecycle",
        "oss:GetBucketLocation",
        "kms:ListKeys",
        "kms:Listalias",
        "kms:ListAliasesByKeyId",
        "kms:DescribeKey",
        "kms:GenerateDataKey",
        "kms:Decrypt"
      ],
      "Resource": "*",
      "Effect": "Allow"
    },
    {
      "Action": [
        "log:GetProject",
        "log:ListJobs",
        "log:DescribeService"
      ],
      "Resource": "*",
      "Effect": "Allow"
    },
    {
      "Action": [
        "log:PostLogStoreLogs",
        "log:CreateLogstore",
        "log:GetLogstore",
        "log:CreateIndex",
        "log:UpdateIndex",
        "log:GetIndex",
        "log:GetLogStoreLogs",
        "log:UpdateLogStore"
      ],
      "Resource": [
        "acs:log:*:*:project/*/logstore/actiontrail_*",
        "acs:log:*:*:project/*/logstore/innertrail_*",
        "acs:log:*:*:project/*/logstore/insights_*"
      ],
      "Effect": "Allow"
    },
    {
      "Action": [
        "log:CreateDashboard",
        "log:UpdateDashboard"
      ],
      "Resource": "acs:log:*:*:project/*/dashboard/*",
      "Effect": "Allow"
    },
    {
      "Action": [
        "log:CreateSavedSearch",
        "log:UpdateSavedSearch"
      ],
      "Resource": [
        "acs:log:*:*:project/*/savedsearch/actiontrail_*",
        "acs:log:*:*:project/*/savedsearch/innertrail_*",
        "acs:log:*:*:project/*/savedsearch/insights_*"
      ],
      "Effect": "Allow"
    },
    {
      "Action": [
        "log:CreateProject",
        "log:CreateETL",
        "log:CreateJob",
        "log:DeleteETL",
        "log:DeleteJob",
        "log:UpdateJob"
      ],
      "Resource": "acs:log:*:*:project/actiontrail-*",
      "Effect": "Allow"
    },
    {
      "Action": "mns:PublishMessage",
      "Resource": "*",
      "Effect": "Allow"
    },
    {
      "Action": [
        "resourcemanager:GetResourceDirectory",
        "resourcemanager:ListAccounts",
        "resourcemanager:GetResourceDirectoryAccount"
      ],
      "Resource": "*",
      "Effect": "Allow"
    },
    {
      "Action": [
        "cms:DescribeMetricList",
        "cms:QueryMetricList"
      ],
      "Resource": "*",
      "Effect": "Allow"
    },
    {
      "Action": "ram:DeleteServiceLinkedRole",
      "Resource": "*",
      "Effect": "Allow",
      "Condition": {
        "StringEquals": {
          "ram:ServiceName": "actiontrail.aliyuncs.com"
        }
      }
    },
    {
      "Effect": "Allow",
      "Action": "odps:updateUsersToAdmin",
      "Resource": "acs:odps:*:*:projects/actiontrail_*"
    }
  ]
}

相关文档