AliyunServiceRolePolicyForSLSSemantic

更新时间:
复制 MD 格式

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

策略详情

  • 类型:系统策略

  • 创建时间:2026-09-15 22:16:30

  • 更新时间:2026-12-01 10:33:24

  • 当前版本:v4

策略内容

{
  "Version": "1",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "log:QueryContextModel",
        "log:QuerySourceModel"
      ],
      "Resource": [
        "*"
      ]
    },
    {
      "Effect": "Allow",
      "Action": [
        "log:ListProject",
        "log:GetProject",
        "log:GetLogStore",
        "log:ListLogStores",
        "log:GetIndex",
        "log:GetLogStoreHistogram",
        "log:GetLogStoreLogs",
        "log:GetProjectLogs",
        "log:ListStoreViews",
        "log:GetStoreView"
      ],
      "Resource": [
        "*"
      ]
    },
    {
      "Effect": "Allow",
      "Action": [
        "log:GetDashboard",
        "log:ListDashboard",
        "log:ListAlerts",
        "log:GetAlert",
        "log:ListScheduledSQLs",
        "log:GetScheduledSQL",
        "log:ListETLs",
        "log:GetETL"
      ],
      "Resource": [
        "*"
      ]
    },
    {
      "Effect": "Allow",
      "Action": [
        "starops:ListArtifacts",
        "starops:GetArtifact",
        "starops:CreateArtifactUploadToken",
        "starops:GetArtifactDownloadUrl"
      ],
      "Resource": [
        "*"
      ]
    },
    {
      "Action": "ram:DeleteServiceLinkedRole",
      "Resource": "*",
      "Effect": "Allow",
      "Condition": {
        "StringEquals": {
          "ram:ServiceName": "semantic.log.aliyuncs.com"
        }
      }
    }
  ]
}

相关文档