Domain name for API request: cwp.intl.tencentcloudapi.com.
This API is used to obtain the Trojan list.
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
Parameter Name | Required | Type | Description |
---|---|---|---|
Action | Yes | String | Common Params. The value used for this API: DescribeMalWareList. |
Version | Yes | String | Common Params. The value used for this API: 2018-02-28. |
Region | No | String | Common Params. This parameter is not required. |
Limit | No | Integer | Number of items to be returned. It is 10 by default, and the maximum value is 100. |
Offset | No | Integer | Offset, which defaults to 0 |
Filters.N | No | Array of Filter | Filter criteria |
By | No | String | Detection sorting CreateTime |
Order | No | String | Sorting method: ASC, DESC |
Parameter Name | Type | Description |
---|---|---|
MalWareList | Array of MalWareList | List of Trojans Note: This field may return null, indicating that no valid values can be obtained. |
TotalCount | Integer | Total number |
RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
This example shows you how to obtain the list of Trojans.
POST / HTTP/1.1
Host: cwp.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeMalWareList
<Common request parameters>
{}
{
"Response": {
"MalWareList": [
{
"Alias": "v_aaa",
"CheckPlatform": "1,2",
"CreateTime": "2023-12-22 16:25:44",
"FileCreateTime": "2020-11-21 15:16:00",
"FileExists": 1,
"FileModifierTime": "2020-11-21 15:16:00",
"FilePath": "/root/aaa/061d0056bc2a3af43051b88a7ca30555",
"HostIp": "172.16.16.10",
"Id": 160250,
"LatestScanTime": "2023-12-25 16:34:50",
"Level": 4,
"MD5": "061d0056bc2a3af43051b88a7ca30555",
"MachineExtraInfo": {
"HostName": "hn***",
"InstanceID": "ins-aaaa",
"NetworkName": "vpc-d7f***",
"NetworkType": 0,
"PrivateIP": "172.16.16.10",
"WanIP": "172.16.16.10"
},
"ProcessExists": 0,
"Quuid": "aaaaa-8c8d-4077-9acc-80ce542a6937",
"Status": 4,
"Tags": [],
"Uuid": "aaaaa-8c8d-4077-9acc-80ce542a6937",
"VirusName": "Win32.Trojan.Kryptik.Jmnw"
}
],
"RequestId": "8a201811-8d1c-4545-b6b9-63be9b6ccafc",
"TotalCount": 21780
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
Error Code | Description |
---|---|
InternalError | Internal error |
InvalidParameter | Incorrect parameter. |
InvalidParameter.IllegalRequest | Invalid request. |
InvalidParameter.MissingParameter | Missing parameter. |
InvalidParameter.ParsingError | Incorrect parameter parsing. |
InvalidParameterValue | Invalid parameter value. |
MissingParameter | Missing parameter error. |
ResourceNotFound | The resource does not exist. |
UnsupportedOperation | The operation is not supported. |
Was this page helpful?