All Products
Search
Document Center

Security Center:ListVirusScanMachineEvent

Last Updated:Mar 24, 2026

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

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

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: Chinese

  • en: English

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

  • suspicious

  • remind

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:

  • text

  • html

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, which indicates a download URL.

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.