Connect assets
Agent Security Center collects AI Agent assets through three access methods: cloud platform access, Agent auto-discovery, and defense plugin reporting. This helps you keep track of your AI Agent assets and their security risks. This topic describes each access method and the procedures.
Scope
-
Account scope: This feature is in public preview and is available to all customers. You can use it free of charge during the public preview.
-
Access methods: Cloud platform access, Agent auto-discovery, and defense plugin reporting are supported.
-
Collected asset types: AI Agent, Model Service, Dataset, Application Configurations, and Skill.
Choose an access method
Agent Security Center provides the following three access methods based on the asset source. For the support status of each product, see Supported Agent products.
A product that is detected or displayed as connected does not necessarily have real-time protection enabled. For the actual protection status, see the description on the page of the corresponding product.
|
Access method |
Description |
Example products |
|
Cloud platform access |
After you complete service authorization or enter the platform connection information, Agent Security Center periodically synchronizes assets such as Agents and model services from the cloud platform or AI development platform. |
Alibaba Cloud Model Studio, Dify, VolcEngine Agent Kit, and Agent Run. |
|
Agent auto-discovery |
Install the Security Center client on the server where the Agent is deployed. The client automatically discovers the Agents on the server and synchronizes the related assets. |
Gemini, Cline, and GitHub Copilot. |
|
Defense plugin reporting |
Install the Agent Security Center defense plugin (RASP) in the Agent runtime environment. The plugin reports Agent assets and provides real-time protection. For the supported products and installation methods, see Enable protection. |
OpenClaw, Hermes Agent, QoderWork, and QwenWork. |
Cloud platform access
To use cloud platform access, complete service authorization or enter the platform connection information in Agent Security Center. The following table describes how to connect common platforms. The connection methods and collected asset types vary by platform. The platforms that you can connect are subject to the console.
|
Platform |
Connection description |
|
Alibaba Cloud Model Studio |
Create a RAM role user in Model Studio and grant the AliyunServiceRoleForSasCspm service-linked role. After you configure the permissions, synchronize assets. |
|
Dify |
Configure an IP address whitelist and enter connection information such as the API endpoint, email address, and password. Both Internet and VPC connections are supported. |
|
VolcEngine Agent Kit |
Connect VolcEngine assets by using an AccessKey pair. You must configure the required permission policies, such as |
|
Agent Run |
After you grant the Security Center service-linked roles, the system automatically synchronizes Agent assets from the platform every day. |
Connect Alibaba Cloud Model Studio
Step 1: Create and authorize a Model Studio user
-
Go to the Alibaba Cloud Model Studio console.
-
Below the navigation bar, select the target workspace and click Permission Management.
ImportantTo connect multiple workspaces, configure each workspace separately.
-
On the Permission Management page, click Add User.
-
Configure the user based on the following description and click OK.
-
Type: RAM role.
-
RAM Role: Select the service-linked role
AliyunServiceRoleForSasCspm.NoteAfter the authorization, Agent Security Center uses this role to synchronize the Model Studio resources in the target workspace within the current account.
-
Display Name: Enter a user name that is easy to identify, such as agent_user.
-
Step 2: Synchronize assets
-
Access the Agent Security Center - Agent Overview page. In the upper-left corner of the page, select the region where the assets to be protected are located: Chinese Mainland or Outside Chinese Mainland.
-
In the Integrated Product section, click Asset synchronization in the upper-right corner.
-
The system synchronizes data such as AI Agent, Model Service, Toolset, Dataset, and Application Configurations from the platform and performs risk detection.
NoteAsset synchronization may take some time. Please wait.
Step 3 (optional): Manage workspaces
To modify or remove a workspace, perform the following steps:
After you remove a workspace, the system immediately deletes the assets and alerts related to the account. Proceed with caution.
-
You cannot modify or remove a workspace directly in the Security Center console. Go to the Global Management menu (China (Beijing) | Singapore | US (Virginia) | Germany (Frankfurt)) on the Model Studio console to perform the operations. For more information, see Workspace permission management.
-
After you perform operations on the Model Studio console, we recommend that you return to the Security Center console and immediately perform Asset synchronization manually.
Connect Dify
Step 1: Configure connection information
-
Configure a whitelist: If an access control policy is configured on the server where Dify resides, add the following IP addresses to the outbound whitelist based on the deployment environment (Internet or internal network).
Region
Public IP address
Private IP address
China (Hangzhou)
47.96.166.214
100.104.12.64/26
China (Shanghai)
139.224.15.48, 101.132.180.26, 47.100.18.171, 47.100.0.176, 139.224.8.64, 101.132.70.106, 101.132.156.228, 106.15.36.12, 139.196.168.125, 47.101.178.223, 47.101.220.176
100.104.43.0/26
China (Qingdao)
47.104.111.68
100.104.87.192/26
China (Beijing)
47.95.202.245
100.104.114.192/26
China (Zhangjiakou)
39.99.229.195
100.104.187.64/26
China (Hohhot)
39.104.147.68
100.104.36.0/26
China (Shenzhen)
120.78.64.225
100.104.250.64/26
China (Guangzhou)
8.134.118.184
100.104.111.0/26
China (Hong Kong)
8.218.59.176
100.104.130.128/26
Japan (Tokyo)
47.74.24.20
100.104.69.0/26
Singapore
8.219.240.137
100.104.67.64/26
US (Silicon Valley)
47.254.39.224
100.104.145.64/26
US (Virginia)
47.252.4.238
100.104.36.0/26
Germany (Frankfurt)
47.254.158.71
172.16.0.0/20
UK (London)
8.208.14.12
172.16.0.0/20
Indonesia (Jakarta)
149.129.238.99
100.104.193.128/26
-
Go to the connection configuration page
-
Access the Agent Security Center - Agent Overview page. In the upper-left corner of the page, select the region where the assets to be protected are located: Chinese Mainland or Outside Chinese Mainland.
-
In the Integrated Product section, click Dify.
-
In the Dify connection panel, click the connection button.
-
First-time connection: Click Integrate Now as prompted on the page.
-
Subsequent connections: Click Add Asset in the Import Account section.
-
-
-
Enter connection information: In the connection dialog box, configure the parameters based on the following description.
-
Common parameters
-
Username: Enter an account name that is easy to identify. The name can be up to 128 characters in length.
-
Access Method:
-
Public Access: Select this option if Dify is deployed on the Internet and the Dify service is accessible over the Internet.
-
VPC: Select this option if Dify is deployed in a private network and is not accessible over the Internet.
ImportantVPC access is supported only when Dify is deployed on Alibaba Cloud ECS instances.
-
-
Region: The region where the server on which Dify is deployed resides.
-
API Address: The logon URL of the Dify platform. You can enter a public IP address (http://192.xx.xx.xx:port), a DNS domain name (such as https://dify.test.cn), or a load balancer address (such as http://alb-04*****5a.cn-beijing.alb.aliyuncsslb.com).
-
Email: The email address that is used to log on to the Dify platform.
-
Password: The password that is used to log on to the Dify platform.
NoteThe password is encrypted for storage and is used only for authentication.
-
-
VPC-specific parameters:
NoteYou can view the VPC information in the Configuration Information section of the ECS instance details page.
-
VPC ID: The ID of the VPC to which the ECS instance on which Dify is deployed belongs.
-
Internal IP Address: The private IP address of the ECS instance on which Dify is deployed.
-
Port: The port that is used to access the Dify service.
-
-
-
After you complete the configuration, click Next to go to the Test Connection page.
-
Click Test Connection. After the test succeeds, click Asset synchronization.
Step 2 (optional): Manage accounts
You can modify or remove a connected account directly in the Security Center console.
-
In the Integrated Product section of the Agent Overview page, click Dify.
-
In the Dify connection panel, you can perform the following operations:
-
Delete: Click the delete icon on the right side of the target account
.ImportantAfter you delete an account, the system immediately deletes the assets and alerts related to the account. Proceed with caution.
-
Modify: Click the modify icon below the target account
, and then complete the configuration and connection test by referring to Enter connection information.
-
Connect VolcEngine Agent Kit
Step 1: Configure connection information
-
In the Integrated Product section, click Agent Kit.
-
In the Agent Kit connection panel, click the connection button to go to Multi-cloud Configuration Management.
-
First-time connection: Click Configure as prompted on the page.
-
Subsequent connections: Click Configure Asset in the Import Account section.
-
-
On the tab, add an authorization for Volcano Engine. For more information, see Onboard Volcengine assets.
-
Permission Description: Select CSPM.
-
VolcEngine permission policies:
IAMReadOnlyAccess,AgentKitReadOnlyAccess,IDReadOnlyAccess,ECSReadOnlyAccess, andArkReadOnlyAccess.
-
Step 2 (optional): Manage accounts
You cannot modify or remove a connected account directly in the Agent Security console. Go to the tab to manage the accounts.
Connect Agent Run
If you have not activated Agent Run, click Activate Now in the Agent Run connection panel of the Integrated Product section on the Agent Overview page to go to the activation page. For more information, see AgentRun.
-
Role authorization (first time): This topic uses manually creating the service-linked roles (
AliyunServiceRoleForSasandAliyunServiceRoleForSasCspm) in the RAM console as an example. If you have already granted the service-linked roles, skip this step.NoteOther feature pages of Security Center (such as Host) provide the one-click authorization feature to help you quickly create the corresponding service-linked roles. For more information, see Create a service-linked role.
-
Log on to the Roles page of the RAM console as a RAM administrator and click Create Role.
-
In the upper-right corner of the Create Role page, click Create Service Linked Role.
-
On the Create Service Linked Role page, select the following trusted cloud services from the drop-down list.
-
AliyunServiceRoleForSas -
AliyunServiceRoleForSasCspm
-
-
Click Create Service Linked Role. The system automatically populates the trust policy and permission policy. No manual modification is required.
-
-
Return to the Agent Overview page and click Asset synchronization in the upper-right corner of the Integrated Product section, or wait for the system to synchronize automatically.
The system then automatically performs Asset synchronization once a day. You do not need to repeat the connection operations.
Agent auto-discovery
After you install the Security Center client on the server where the Agent is deployed, the client automatically discovers the Agents that run on the server and synchronizes the related assets. You do not need to configure connection information on the platform side.
-
Supported assets: ZeroClaw, CoPaw, Gemini, OpenCode, Qwen Code, kilocode, Wukong, Cline, GitHub Copilot, MaxClaw, QClaw, IronClaw, PicoClaw, NanoClaw, FastGPT, Windsurf, Flowise, Langflow, RAGFlow, OpenHands, DeepSeek Harness, AgentCore, AIDBS, and HiAgent. The actually supported assets are subject to the console.
-
Install the Security Center client: For more information, see Install the agent.
NoteIf you select Security Hardening when you purchase an ECS instance, the system automatically installs the Security Center client when the ECS instance is created. You do not need to install it manually.
Defense plugin
After you install the Agent Security Center defense plugin in the Agent runtime environment, the plugin reports the asset information of the Agent and provides real-time protection. This completes both asset access and Enable protection. The installation commands and runtime environment requirements may vary by product. Follow the instructions in the console.
-
Access the Agent Security Center - Agent Overview page. In the upper-left corner of the page, select the region where the assets to be protected are located: Chinese Mainland or Outside Chinese Mainland.
-
In the Integrated Product section, click Added to go to the Access Management page.
-
In the All Supported Products section, search for the target product and click Add in the upper-right corner of the product panel.
-
Role authorization (first time): On the Service Authorization page, click Authorize.
NoteThe system automatically creates the service-linked role
AliyunServiceRoleForSasAIfor Agent Security Center and attaches theAliyunServiceRolePolicyForSasAIpermission policy to the role. The role allows Agent Security Center to access resources in other cloud services. -
On the page for enabling real-time protection, select Manual Installation and copy the installation command.
-
The installation command is time-limited. Pay attention to the Expiration Time displayed in the Execute Installation Command section. After the command expires, you must obtain a new one.
-
The installation command contains a key that is used for access. Keep the command secure and do not disclose or share the complete command.
-
-
Run the command in the runtime environment of the product and complete the defense plugin installation as prompted.
ImportantFor some products, components such as the Agent gateway must be restarted during installation. Evaluate the impact on your business in advance and follow the instructions on the page.
-
After the installation is complete, refresh the page. You can view the connected products in the Integrated Products section of the Access Management page.
For information about the products that support the defense plugin, single-Agent protection, how to check the installation status, how to disable or uninstall the plugin, and installation troubleshooting, see Enable protection.
Asset synchronization
-
Automatic synchronization: The system automatically synchronizes assets once a day.
-
Manual synchronization:
-
Go to the Integrated Product section of the Agent Overview page.
-
Click Asset synchronization in the upper-right corner.
-