All Products
Search
Document Center

Security Center:ListVirusScanMachineEvent

Last Updated:Feb 20, 2024

Queries the alert events that are generated for viruses detected on a server.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
CurrentPageintegerYes

The page number.

1
PageSizeintegerYes

The number of entries per page.

20
UuidstringNo

The UUID of the server.

a6931624-c43e-4323-9128-a6be6ffdxxxx
OperateTaskIdstringNo

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
LangstringNo

The language of the content within the request and response. Default value: zh. Valid values:

  • zh: Chinese
  • en: English
en

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The request ID.

2DAEF40F-8E1A-550D-8793-99C61C401DD0
PageInfoobject

The pagination information.

CurrentPageinteger

The page number.

1
PageSizeinteger

The number of entries per page.

20
TotalCountinteger

The total number of entries returned.

149
Dataobject []

The details of the alert event.

EventIdlong

The ID of the alert event.

911273
Levelstring

The risk level of the alert event. Valid values:

  • serious
  • suspicious
  • remind
serious
EventNamestring

The name of the alert event. The value indicates a subtype.

Unusual Logon
LastTimeStamplong

The timestamp when the alert event was last generated. Unit: milliseconds.

1682046733628
Detailsobject []

The details of the exception.

Typestring

The format in which the details of the exception are displayed.

Valid values:

  • text
  • html
html
NameDisplaystring

The display name of the alert event.

Trojan Path
InfoTypestring

The display type of the value for ValueDisplay. Valid value:

  • download_url, which indicates a download URL.
download_url
ValueDisplaystring

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
InstanceNamestring

The name of the instance.

i-wz92q7m5hsbgfhdss***
InternetIpstring

The public IP address.

172.16.XX.XX
IntranetIpstring

The private IP address.

10.42.XX.XX

Examples

Sample success responses

JSONformat

{
  "RequestId": "2DAEF40F-8E1A-550D-8793-99C61C401DD0",
  "PageInfo": {
    "CurrentPage": 1,
    "PageSize": 20,
    "TotalCount": 149
  },
  "Data": [
    {
      "EventId": 911273,
      "Level": "serious",
      "EventName": "Unusual Logon",
      "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 codeError codeError messageDescription
403NoPermissioncaller has no permissionYou are not authorized to do this operation.
500ServerErrorServerError-

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2023-12-25The Error code has changed. The request parameters of the API has changedsee changesets
Change itemChange content
Error CodesThe Error code has changed.
    delete Error Codes: 403
    delete Error Codes: 500
Input ParametersThe request parameters of the API has changed.
    Added Input Parameters: Lang