AliyunServiceRolePolicyForSLSCostManager is the authorization policy dedicated to a service-linked role. The policy is automatically attached to a service role when the service role is created. Then, the service-linked role is authorized to access other cloud services. This policy is updated by the relevant Alibaba Cloud service. Do not attach this policy to a RAM identity other than a service-linked role.
Policy details
Type: service system policy
Creation time: 13:55:48 on October 09, 2025
Update time: 13:55:48 on October 09, 2025
Current version: v1
Policy content
{
"Version": "1",
"Statement": [
{
"Action": [
"resourcemanager:GetAccount",
"resourcemanager:ListAccountsForParent",
"resourcemanager:ListAccounts",
"resourcemanager:GetFolder",
"resourcemanager:ListFoldersForParent",
"resourcemanager:ListAncestors",
"resourcemanager:GetResourceDirectory"
],
"Resource": "*",
"Effect": "Allow"
},
{
"Action": [
"bss:DescribeBillList",
"bss:DescribeGaapBill",
"bss:DescribePrice",
"bssapi:QuerySettleBill",
"bssapi:QuerySplitItemBill",
"bssapi:QueryUserOmsData"
],
"Resource": "*",
"Effect": "Allow"
},
{
"Action": [
"log:PostLogStoreLogs",
"log:ClearLogStoreStorage"
],
"Resource": [
"acs:log:*:*:project/bill-analysis-*/logstore/aliyun_bill",
"acs:log:*:*:project/bill-analysis-*/logstore/aliyun_oms",
"acs:log:*:*:project/bill-analysis-*/logstore/aliyun_meta"
],
"Effect": "Allow"
},
{
"Action": [
"log:CreateJob",
"log:DeleteJob",
"log:GetJob",
"log:ListJobs"
],
"Resource": [
"acs:log:*:*:project/bill-analysis-*"
],
"Effect": "Allow"
},
{
"Action": "ram:DeleteServiceLinkedRole",
"Resource": "*",
"Effect": "Allow",
"Condition": {
"StringEquals": {
"ram:ServiceName": "costmanager.log.aliyuncs.com"
}
}
}
]
}