All Products
Search
Document Center

Security Center:ListVirusScanMachineEvent

Last Updated:Nov 25, 2024

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

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
yundun-sas:ListVirusScanMachineEventget
*All Resources
*
    none
none

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
Dataarray<object>

The details of the alert event.

listobject

The returned data.

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
Detailsarray<object>

The details of the exception.

DetailItemsobject

The detail 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 changedView Change Details