Queries the alert events that are generated for viruses detected on a server.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:ListVirusScanMachineEvent |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| CurrentPage |
integer |
Yes |
The page number. |
1 |
| PageSize |
integer |
Yes |
The number of entries per page. |
20 |
| Uuid |
string |
No |
The UUID of the server. |
a6931624-c43e-4323-9128-a6be6ffdxxxx |
| OperateTaskId |
string |
No |
The task ID that is generated by the handling operation. Note
You can call the OperateVirusEvents operation to handle alerts. You can obtain the task ID from the response parameters. |
233886xx |
| Lang |
string |
No |
The language of the content within the request and response. Default value: zh. Valid values:
|
zh |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
2DAEF40F-8E1A-550D-8793-99C61C401DD0 |
| PageInfo |
object |
The pagination information. |
|
| CurrentPage |
integer |
The page number. |
1 |
| PageSize |
integer |
The number of entries per page. |
20 |
| TotalCount |
integer |
The total number of entries returned. |
149 |
| Data |
array<object> |
The details of the alert event. |
|
|
array<object> |
The returned data. |
||
| EventId |
integer |
The ID of the alert event. |
911273 |
| Level |
string |
The risk level of the alert event. Valid values:
|
serious |
| EventName |
string |
The name of the alert event. The value indicates a subtype. |
Malicious script code execution |
| LastTimeStamp |
integer |
The timestamp when the alert event was last generated. Unit: milliseconds. |
1682046733628 |
| Details |
array<object> |
The details of the exception. |
|
|
object |
The detail of the exception. |
||
| Type |
string |
The format in which the details of the exception are displayed. Valid values:
|
html |
| NameDisplay |
string |
The display name of the alert event. |
Trojan Path |
| InfoType |
string |
The display type of the value for ValueDisplay. Valid value:
|
download_url |
| ValueDisplay |
string |
The attribute information about the exception. The information includes the logon time or location of an alert triggered by an unusual logon, and the trojan file path or trojan type of an alert. |
getopt |
| InstanceName |
string |
The name of the instance. |
i-wz92q7m5hsbgfhdss*** |
| InternetIp |
string |
The public IP address. |
172.16.XX.XX |
| IntranetIp |
string |
The private IP address. |
10.42.XX.XX |
Examples
Success response
JSON format
{
"RequestId": "2DAEF40F-8E1A-550D-8793-99C61C401DD0",
"PageInfo": {
"CurrentPage": 1,
"PageSize": 20,
"TotalCount": 149
},
"Data": [
{
"EventId": 911273,
"Level": "serious",
"EventName": "Malicious script code execution",
"LastTimeStamp": 1682046733628,
"Details": [
{
"Type": "html",
"NameDisplay": "Trojan Path",
"InfoType": "download_url",
"ValueDisplay": "getopt"
}
],
"InstanceName": "i-wz92q7m5hsbgfhdss***",
"InternetIp": "172.16.XX.XX",
"IntranetIp": "10.42.XX.XX"
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.