AliyunSLSDataAgentRolePolicy

更新时间:
复制 MD 格式

AliyunSLSDataAgentRolePolicy 是专用于服务角色的授权策略,通常会在创建对应的服务角色时同步完成授权,以允许服务角色代您访问其他云服务。本策略由对应的阿里云服务按需更新,请勿将本策略授权给服务角色之外的 RAM 身份使用。

策略详情

  • 类型:系统策略

  • 创建时间:2026-08-04 16:25:40

  • 更新时间:2026-11-02 16:03:56

  • 当前版本:v3

策略内容

{
  "Version": "1",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "log:CreateContextModel",
        "log:UpdateContextModel",
        "log:UpsertContextModel",
        "log:GetContextModel",
        "log:ListContextModels",
        "log:QueryContextModel",
        "log:ResolveContextQuery",
        "log:ListSourceModels",
        "log:CreateSourceModel",
        "log:UpsertSourceModel",
        "log:RegenerateSourceModel",
        "log:QuerySourceModel",
        "log:QueryGeneratedSourceModel",
        "log:GetSourceModelStatus"
      ],
      "Resource": [
        "*"
      ]
    },
    {
      "Effect": "Allow",
      "Action": [
        "log:QuerySourceModel",
        "log:QueryGeneratedSourceModel",
        "log:GetSourceModelStatus"
      ],
      "Resource": [
        "*"
      ]
    },
    {
      "Effect": "Allow",
      "Action": [
        "log:ListProject"
      ],
      "Resource": "acs:log:*:*:project/*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "log:GetLogStore",
        "log:ListLogStores",
        "log:GetIndex",
        "log:GetLogStoreHistogram",
        "log:GetLogStoreLogs",
        "log:GetProjectLogs"
      ],
      "Resource": [
        "*"
      ]
    },
    {
      "Effect": "Allow",
      "Action": [
        "log:GetDashboard",
        "log:ListDashboard",
        "log:ListAlerts",
        "log:GetAlert",
        "log:ListScheduledSQLs",
        "log:GetScheduledSQL",
        "log:ListETLs",
        "log:GetETL"
      ],
      "Resource": [
        "*"
      ]
    }
  ]
}

相关文档