Queries virus alerts detected by a virus scan on a specific 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 of the current page in a paged query. |
1 |
| PageSize |
integer |
Yes |
The maximum number of entries per page in a paged query. |
20 |
| Uuid |
string |
No |
The UUID of the server. |
a6931624-c43e-4323-9128-a6be6ffdxxxx |
| OperateTaskId |
string |
No |
The ID of the task generated by a handling operation. Note
You can call the OperateVirusEvents operation to handle alerts and generate this parameter. |
233886xx |
| Lang |
string |
No |
The language type for the request and response. Default value: zh. Valid values:
|
zh |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. Alibaba Cloud generates a unique identifier for each request. You can use the ID to troubleshoot issues. |
2DAEF40F-8E1A-550D-8793-99C61C401DD0 |
| PageInfo |
object |
The pagination information. |
|
| CurrentPage |
integer |
The page number of the current page in a paged query. |
1 |
| PageSize |
integer |
The maximum number of entries per page in a paged query. |
20 |
| TotalCount |
integer |
The total number of alert events returned. |
149 |
| Data |
array<object> |
The details of the alert events. |
|
|
array<object> |
The data returned when the call is successful. |
||
| 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 (subtype) of the alert event. |
Malicious Software-Trojan |
| LastTimeStamp |
integer |
The timestamp of the last occurrence, in milliseconds. |
1682046733628 |
| Details |
array<object> |
The details of the exception event. |
|
|
object |
The data body. |
||
| Type |
string |
The display format of the exception event details. Valid values:
|
html |
| NameDisplay |
string |
The display name of the alert event. |
Trojan Path |
| InfoType |
string |
The display type of valueDisplay. Valid values:
|
download_url |
| ValueDisplay |
string |
The additional attribute information of the exception event. For example, the logon time or logon location of an unusual logon alert, or the trojan file path or trojan type of an alert. |
getopt |
| InstanceName |
string |
The instance name. |
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 Software-Trojan",
"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 |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.