AliyunServiceRolePolicyForSFMAccessSLS 是专用于服务关联角色的授权策略,会在创建服务关联角色 AliyunServiceRoleForSFMAccessSLS 时自动授权,以允许服务关联角色代您访问其他云服务。本策略由对应的阿里云服务按需更新,请勿将本策略授权给服务关联角色之外的 RAM 身份使用。
策略详情
类型:系统策略
创建时间:2025-01-07 01:24:26
更新时间:2025-01-09 05:04:11
当前版本:v5
策略内容
{
"Version": "1",
"Statement": [
{
"Action": [
"log:GetProject",
"log:GetLogs",
"log:GetLogStoreLogs",
"log:GetProductDataCollection",
"log:OpenProductDataCollection",
"log:CloseProductDataCollection"
],
"Resource": [
"acs:log:*:*:project/aliyun-product-data-*",
"acs:log:*:*:project/aliyun-product-data-*/logstore/bailian-*",
"acs:log:*:*:project/aliyun-product-data-*/logstore/bailian-*/*"
],
"Effect": "Allow"
},
{
"Action": [
"log:GetSlsService",
"log:OpenSlsService",
"log:DescribeService",
"log:EnableService"
],
"Resource": [
"acs:log:*:*:service"
],
"Effect": "Allow"
},
{
"Action": "ram:CreateServiceLinkedRole",
"Resource": "*",
"Effect": "Allow",
"Condition": {
"StringEquals": {
"ram:ServiceName": [
"sls-access.sfm.aliyuncs.com",
"audit.log.aliyuncs.com",
"middlewarelens.log.aliyuncs.com",
"securitylens.log.aliyuncs.com",
"ai-lens.log.aliyuncs.com",
"storagelens.log.aliyuncs.com"
]
}
}
},
{
"Action": "ram:DeleteServiceLinkedRole",
"Resource": "*",
"Effect": "Allow",
"Condition": {
"StringEquals": {
"ram:ServiceName": "sls-access.sfm.aliyuncs.com"
}
}
}
]
}
相关文档
文档内容是否对您有帮助?