ListAIAgentEvent
Queries the event list.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-aisc:ListAIAgentEvent |
none |
*All Resource
|
None | None |
Request syntax
GET HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| PageSize |
integer |
No |
The number of entries per page. |
10 |
| CurrentPage |
integer |
No |
The current page number. |
1 |
| RiskName |
string |
No |
The risk name. Fuzzy match is supported. |
Defense |
| AppId |
string |
No |
The ID of the agent application. |
99f30e6b-8374-4a45-8830-439f178c5463 |
| Source |
string |
No |
The event source. Valid values:
|
CSPM |
| Status |
string |
No |
The event status. Valid values:
Valid values:
|
fixed |
| RiskLevel |
string |
No |
The risk level of the check item to query. Valid values:
|
high |
| AppName |
string |
No |
Filters the agent list by application name. |
erH |
| AssetName |
string |
No |
The asset name. |
13.115.192.70 |
| Lang |
string |
No |
The language of the notification message. Valid values:
|
zh |
| AssetType |
string |
No |
The type of the agent asset. Valid values:
|
identity |
| StatusList |
array |
No |
The list of statuses. |
|
|
string |
No |
The status. Valid values:
|
ignored |
|
| Vendor |
string |
No |
The cloud asset vendor. Valid values:
|
DIFY |
| InfraInstanceId |
string |
No |
The infrastructure instance ID. |
i-test |
| InfraName |
string |
No |
The name of the infrastructure. |
test |
| InfraRegionId |
string |
No |
The region of the infrastructure. |
cn-shanghai |
| OrderBy |
string |
No |
The field used for sorting. Currently, only sorting by check time is supported. Valid values:
|
CheckTime |
| Order |
string |
No |
The sort order. Valid values: asc for ascending order; desc for descending order. Valid values:
|
asc |
| ResourceDirectoryAccountId |
integer |
No |
The ID of the member account in the resource directory (Alibaba Cloud account). You can call the DescribeMonitorAccounts operation to obtain this parameter. |
1460245082233792 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
9FDE3D6F-26BD-5937-B0E5-8F47962B**** |
| Data |
array<object> |
The list of returned event information. |
|
|
object |
The event result. |
||
| Id |
integer |
The primary key ID. |
17616 |
| RiskDesc |
string |
The risk description. |
The workflow does not have AI security guardrails enabled, which may lead to various risks such as compliance violations, prompt injection and bypass, and sensitive data leakage |
| RiskName |
string |
The risk name. |
Weak password |
| RiskLevel |
string |
The risk level of the scanned alert. Valid values:
|
high |
| AssetType |
string |
The type of the risky asset. Valid values:
|
tool |
| AssetName |
string |
The asset name. |
25.2.2.83 |
| AppId |
string |
The application ID. |
5zuzvcfe |
| AppName |
string |
The application name. |
prod-chagee-bc-activity-elespin |
| CheckTime |
string |
The check time. The value is a UNIX timestamp in seconds. |
1763949968 |
| HandleTime |
string |
The event processing time. The value is a UNIX timestamp in seconds. |
1763949968 |
| Source |
string |
The event source. Valid values:
|
SASE |
| Status |
string |
The status. Valid values:
|
unhandled |
| Vendor |
string |
The cloud asset vendor. Valid values:
|
DIFY |
| InfraInstanceId |
string |
The ID of the infrastructure instance. |
i-test |
| InfraName |
string |
The name of the infrastructure. |
test |
| InfraInternetIp |
string |
The public IP address of the infrastructure. |
1.2.3.4 |
| InfraIntranetIp |
string |
The private IP address of the infrastructure. |
10.0.0.3 |
| InfraRegionId |
string |
The region of the infrastructure. |
cn-shanghai |
| InfraType |
string |
The infrastructure type. |
ECS |
| SkillId |
integer |
The ID of the associated skill. |
0 |
| PageInfo |
object |
The pagination information. |
|
| CurrentPage |
integer |
The current page number. |
1 |
| TotalCount |
integer |
The total number of entries returned. |
1 |
| PageSize |
integer |
The number of entries per page. |
10 |
| NextToken |
string |
The NextToken value returned when the NextToken pagination method is used. |
d6yVpGGP9cH8f9AWtqEXqOawJdolFvFeqJJSIPnYLoGc7/XPd5nbDfZcn1mJCj66Ep3Gbr55tl4NuBtNwsc0A0qvqC2Onfm9h2QmtG8HhaulnPkGmBnhntKqJmpRptTU |
Examples
Success response
JSON format
{
"RequestId": "9FDE3D6F-26BD-5937-B0E5-8F47962B****",
"Data": [
{
"Id": 17616,
"RiskDesc": "The workflow does not have AI security guardrails enabled, which may lead to compliance violations, prompt injection and bypass, sensitive data leaks, and other risks",
"RiskName": "Weak password",
"RiskLevel": "high",
"AssetType": "tool",
"AssetName": " 25.2.2.83",
"AppId": "5zuzvcfe",
"AppName": "prod-chagee-bc-activity-elespin",
"CheckTime": "1763949968",
"HandleTime": "1763949968",
"Source": "SASE",
"Status": "unhandled",
"Vendor": "DIFY",
"InfraInstanceId": "i-test",
"InfraName": "test",
"InfraInternetIp": "1.2.3.4",
"InfraIntranetIp": "10.0.0.3",
"InfraRegionId": "cn-shanghai",
"InfraType": "ECS",
"SkillId": 0
}
],
"PageInfo": {
"CurrentPage": 1,
"TotalCount": 1,
"PageSize": 10,
"NextToken": "d6yVpGGP9cH8f9AWtqEXqOawJdolFvFeqJJSIPnYLoGc7/XPd5nbDfZcn1mJCj66Ep3Gbr55tl4NuBtNwsc0A0qvqC2Onfm9h2QmtG8HhaulnPkGmBnhntKqJmpRptTU"
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | RdCheckNoPermission | Resource directory account verification has no permission. | The resource directory account does not have permission to verify. |
| 500 | RdCheckInnerError | Resource directory account service internal error. | Resource directory account service internal error. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.