Service-linked roles for Security Center
Security Center uses service-linked roles (SLRs) to access other Alibaba Cloud services in specific scenarios. Learn about each SLR, its use cases, and how to create, view, or delete it.
A service-linked role (SLR) is a RAM role whose trusted entity is an Alibaba Cloud service. Security Center uses SLRs to access other cloud services and resources.
SLRs are usually created automatically when you perform a related operation. If automatic creation fails, or if Security Center does not support automatic creation for an SLR, you must create the SLR manually.
RAM assigns an immutable system policy to each SLR. View policy details from the.
Scenarios
Security Center provides the following SLRs.
|
Service-linked role |
Service identifier |
Scenarios |
|
AliyunServiceRoleForSas |
sas.aliyuncs.com |
|
|
AliyunServiceRoleForSasCloudSiem |
cloudsiem.sas.aliyuncs.com |
Accesses VPC and Cloud Firewall resources for threat analysis and response to collect and deliver logs, handle events, and analyze threats. This provides capabilities such as centralized alert management and threat source analysis. |
|
AliyunServiceRoleForSasCspm |
cspm.sas.aliyuncs.com |
Accesses ActionTrail resources for Cloud Security Posture Management (CSPM) configuration checks. |
|
AliyunServiceRoleForSasRd |
rd.sas.aliyuncs.com |
In multi-account scenarios, allows a delegated administrator account to access member account consoles in a resource directory. Enables centralized security configuration and real-time risk monitoring across member accounts. |
|
AliyunServiceRoleForAntiRansomwareMssp |
antiransomware.mssp.aliyuncs.com |
After you purchase the managed anti-ransomware service, allows experts to access Security Center and other cloud resources to monitor anti-ransomware backup jobs. |
|
AliyunServiceRoleForSasSecurityLake |
security-lake.sas.aliyuncs.com |
Accesses OSS and Data Lake Formation (DLF) resources for the threat analysis cold data feature to manage log data and run interactive queries. |
|
AliyunServiceRoleForSasSecllm |
secllm.sas.aliyuncs.com |
Allows the Security Center intelligent assistant to query security scores, vulnerability lists, and other data for asset-specific insights. |
|
AliyunServiceRoleForSasAgentless |
agentless.sas.aliyuncs.com |
Scans encrypted ECS disks for the agentless detection feature to detect vulnerabilities, malicious files, and baseline issues. |
Create a service-linked role
AliyunServiceRoleForSas
The system automatically creates this SLR when you first use one of the following features and grant permissions.
|
Module |
Features |
|
Risk governance |
|
|
Container security |
|
|
Host security |
|
|
Other configurations |
|
AliyunServiceRoleForSasCloudSiem
Created automatically when you first use threat analysis and response and grant permissions.Grant the threat analysis and response feature the permissions to access Alibaba Cloud resources.
AliyunServiceRoleForSasCspm
Created automatically when you first use Cloud Security Posture Management and grant permissions.
Since November 21, 2022 (UTC+8), the CSPM access policy migrated from AliyunServiceRoleForSas to AliyunServiceRoleForSasCspm. To migrate, go to the Cloud Security Posture Management page. In the Role Policy Migration Reminder dialog box, click OK, then click Authorize Now to authorize.
AliyunServiceRoleForSasRd
Created automatically under a member account when a management or delegated administrator account uses multi-account security management to add the member to the monitored list.
AliyunServiceRoleForAntiRansomwareMssp
Created automatically when you first use the anti-ransomware service or purchase the managed anti-ransomware service.
AliyunServiceRoleForSasSecurityLake
Created automatically when you first use the threat analysis cold data feature and grant permissions.
AliyunServiceRoleForSasSecllm
Created automatically when you first use the Security Center intelligent assistant and grant permissions.
AliyunServiceRoleForSasAgentless
Created automatically when you first use the agentless detection feature and grant permissions.
View a service-linked role
After creating an SLR, view its details on the Roles page of the RAM console:
-
Basic information
The Basic Information section shows the role name, creation time, ARN, and description.
-
Access policy
On the Permissions tab, click the policy name to view the policy document.
NoteSLR access policies are only visible from the role details page, not from the Policies page.
-
Trust policy
The Trust Policy tab shows which Alibaba Cloud service can assume the role. Check the
Servicefield.
Delete a service-linked role
AliyunServiceRoleForSas follows the principle of least privilege. It contains only the system policy AliyunServiceRolePolicyForSas, which grants the permissions that Security Center requires for its security features. The trust policy of this role allows only the sas.aliyuncs.com service to assume it. No other service or identity can assume this role, so retaining the role does not introduce security risks.
Deleting an SLR disables all features that depend on it.
If you no longer use Security Center for an extended period or before you log off from your Alibaba Cloud account, you may need to manually delete the SLR. To delete an SLR, go to the RAM console. Delete a RAM role.