Manage the AliyunServiceRoleForSLSMiddlewareLens service-linked role
Updated at:
Simple Log Service applications such as Log Audit Service and CloudLens use the AliyunServiceRoleForSLSMiddlewareLens service-linked role to access resources of middleware-related cloud services.
Scenarios
When you use a Simple Log Service application such as Log Audit Service or CloudLens to collect logs from middleware-related cloud services, Simple Log Service assumes the AliyunServiceRoleForSLSMiddlewareLens service-linked role. This role grants permissions to read resource data from middleware-related cloud services and configure log collection settings. For more information, see Service-linked roles.
Permission policy
-
Role name: AliyunServiceRoleForSLSMiddlewareLens
-
Policy attached to the role: AliyunServiceRolePolicyForSLSMiddlewareLens
-
Policy document:
{ "Version": "1", "Statement": [ { "Action": [ "sae:DescribeApplicationConfig" ], "Resource": "*", "Effect": "Allow" }, { "Action": [ "log:CreateProject", "log:GetProject", "log:ListProject", "log:ListLogStores", "log:GetLogStore", "log:CreateIndex", "log:UpdateIndex", "log:GetIndex", "log:CreateDashboard", "log:UpdateDashboard", "log:ListDashboard", "log:CreateLogStore", "log:CreateSavedSearch", "log:UpdateSavedSearch" ], "Resource": [ "acs:log:*:*:project/*" ], "Effect": "Allow" }, { "Action": "ram:DeleteServiceLinkedRole", "Resource": "*", "Effect": "Allow", "Condition": { "StringEquals": { "ram:ServiceName": "middlewarelens.log.aliyuncs.com" } } } ] }
Is this page helpful?