AliyunServiceRolePolicyForElasticsearchCollector 是专用于服务关联角色的授权策略,会在创建服务关联角色 AliyunServiceRoleForElasticsearchCollector 时自动授权,以允许服务关联角色代您访问其他云服务。本策略由对应的阿里云服务按需更新,请勿将本策略授权给服务关联角色之外的 RAM 身份使用。
策略详情
类型:系统策略
创建时间:2026-03-11 17:32:27
更新时间:2026-03-11 17:32:27
当前版本:v1
策略内容
{
"Version": "1",
"Statement": [
{
"Action": [
"oos:CancelExecution",
"oos:DeleteExecutions",
"oos:GenerateExecutionPolicy",
"oos:GetExecutionTemplate",
"oos:ListExecutionLogs",
"oos:ListExecutions",
"oos:ListTaskExecutions",
"oos:NotifyExecution",
"oos:StartExecution",
"oos:ListTagResources",
"oos:TagResources",
"oos:UntagResources",
"oos:CreateTemplate",
"oos:DeleteTemplate",
"oos:GetTemplate",
"oos:ListExecutionRiskyTasks",
"oos:ListTemplates",
"oos:UpdateTemplate"
],
"Resource": "*",
"Effect": "Allow"
},
{
"Action": [
"ecs:DescribeInstances",
"ecs:DescribeCloudAssistantStatus"
],
"Resource": "*",
"Effect": "Allow"
},
{
"Action": [
"cs:GetUserConfig",
"cs:GetClusters",
"cs:GetClusterById",
"cs:DescribeClusterInnerServiceKubeconfig",
"cs:RevokeClusterInnerServiceKubeconfig"
],
"Resource": "*",
"Effect": "Allow"
},
{
"Action": "ram:DeleteServiceLinkedRole",
"Resource": "*",
"Effect": "Allow",
"Condition": {
"StringEquals": {
"ram:ServiceName": "collector.elasticsearch.aliyuncs.com"
}
}
},
{
"Effect": "Allow",
"Action": "ram:PassRole",
"Resource": "acs:ram:*:*:role/aliyunoosaccessingecs4esrole",
"Condition": {
"StringEquals": {
"acs:Service": "oos.aliyuncs.com"
}
}
}
]
}相关文档
该文章对您有帮助吗?