All Products
Search
Document Center

Security Center:DescribeSuspEventQuaraFiles

Last Updated:Feb 20, 2024

Queries quarantined files by page.

Debugging

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

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:DescribeSuspEventQuaraFilesRead
  • All Resources
    *
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
SourceIpstringNo

The source IP address of the request.

59.82.XX.XX
PageSizestringNo

The number of entries to return on each page.

20
StatusstringNo

The status of the quarantined file that you want to query. Valid values:

  • quaraFailed: The file fails to be quarantined.
  • quaraDone: The file is quarantined.
  • quaraing: The file is being quarantined.
  • rollbackFailed: The system fails to cancel quarantining the file.
  • rollbackDone: The system cancelled quarantining the file.
  • rollbacking: The system is cancelling quarantining the file.
quaraDone
GroupIddeprecatedstringNo

The ID of the asset group.

10541428
QuaraTagstringNo

The unique ID of the quarantined file.

a31337789f64d39b2219733ec99f9af7
CurrentPagestringNo

The number of the page to return.

1
FromstringNo

The ID of the request source. Set the value to sas.

sas
GroupingIdlongNo

The ID of the server group to which the server belongs. The quarantined file is located on the server.

11472451

Response parameters

ParameterTypeDescriptionExample
object
CurrentPageinteger

The page number of the returned page.

1
PageSizeinteger

The number of entries returned per page.

20
RequestIdstring

The ID of the request, which is used to locate and troubleshoot issues.

32A73759-4C0F-4801-BE98-901223ACEE9A
TotalCountinteger

The total number of entries returned.

38
Countinteger

The number of entries returned on the current page.

7
QuaraFilesobject []

An array that consists of the quarantined files.

Statusstring

The status of the quarantined file. Valid values:

  • quaraFailed: The file fails to be quarantined.
  • quaraDone: The file is quarantined.
  • quaraing: The file is being quarantined.
  • rollbackFailed: The system fails to cancel quarantining the file.
  • rollbackDone: The system cancelled quarantining the file.
  • rollbacking: The system is cancelling quarantining the file.
rollbackDone
EventNamestring

The name of the event.

WEBSHELL
InternetIpstring

The public IP address of the server on which the quarantined file is located.

47.XX.XX.131
Ipstring

The public IP address of the server on which the quarantined file is located.

47.XX.XX.131
Tagstring

The unique ID of the event.

228f890e56eae9eec6a42c7ea801b538
InstanceIdstring

The instance ID of the asset.

i-2ze9t1qp36n1436m****
Uuidstring

The UUID of the server.

04a0e735-ad32-4835-b635-0458d77b****
EventTypestring

The type of the event.

WebshellQuaraEventType
InstanceNamestring

The name of the server on which the quarantined file is located.

iZwz98dkiw3vbrtqrt5v****
Pathstring

The path to the quarantined file on the server.

/var/www/html/webshell-sample-master/others/defc3e21bab59e2a2ab49f7eda99f65f83d4d349.jpg
Md5string

The MD5 hash value of the quarantined file.

5ddebe926acc7ed39a664409bfd0ec10
Idinteger

The ID of the quarantined file.

26918
ModifyTimestring

The time when the quarantined file was last modified.

2020-06-11 20:37:08
IntranetIpstring

The private IP address of the server on which the quarantined file is located.

172.16.XX.XX

Examples

Sample success responses

JSONformat

{
  "CurrentPage": 1,
  "PageSize": 20,
  "RequestId": "32A73759-4C0F-4801-BE98-901223ACEE9A",
  "TotalCount": 38,
  "Count": 7,
  "QuaraFiles": [
    {
      "Link": "https://xxx.xxx/xxx",
      "Status": "rollbackDone",
      "EventName": "WEBSHELL",
      "InternetIp": "47.XX.XX.131",
      "Ip": "47.XX.XX.131",
      "Tag": "228f890e56eae9eec6a42c7ea801b538",
      "InstanceId": "i-2ze9t1qp36n1436m****",
      "Uuid": "04a0e735-ad32-4835-b635-0458d77b****",
      "EventType": "WebshellQuaraEventType",
      "InstanceName": "iZwz98dkiw3vbrtqrt5v****",
      "Path": "/var/www/html/webshell-sample-master/others/defc3e21bab59e2a2ab49f7eda99f65f83d4d349.jpg",
      "Md5": "5ddebe926acc7ed39a664409bfd0ec10",
      "Id": 26918,
      "ModifyTime": "2020-06-11 20:37:08",
      "IntranetIp": "172.16.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-03-09The response structure of the API has changedsee changesets
Change itemChange content
Output ParametersThe response structure of the API has changed.