This API will be disused soon.
Planned disuse time: 2025-01-28 10:17:37
Domain name for API request: cwp.intl.tencentcloudapi.com.
DescribeAttackEvents 代替
This API is used to display the list of network attack logs in pagination.
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: DescribeAttackLogs. |
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 returns. The maximum value is 100. |
Offset | No | Integer | Offset. Default value: 0. |
Filters.N | No | Array of Filter | Filter criteria |
Uuid | No | String | CWPP client ID |
Quuid | No | String | CVM machine ID |
Parameter Name | Type | Description |
---|---|---|
AttackLogs | Array of DefendAttackLog | Log list 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 network attack log list.
https://cwp.intl.tencentcloudapi.com/?Action=DescribeAttackLogs
&<Common request parameters>
{
"Response": {
"AttackLogs": [
{
"Id": 1,
"Uuid": "abc",
"SrcIp": "abc",
"SrcPort": 1,
"HttpMethod": "abc",
"HttpCgi": "abc",
"HttpParam": "abc",
"VulType": "abc",
"CreatedAt": "abc",
"MachineIp": "abc",
"MachineName": "abc",
"DstIp": "abc",
"DstPort": 1,
"HttpContent": "abc",
"MachineExtraInfo": {
"WanIP": "abc",
"PrivateIP": "abc",
"NetworkType": 0,
"NetworkName": "abc",
"InstanceID": "abc",
"HostName": "abc"
}
}
],
"TotalCount": 1,
"RequestId": "abc"
}
}
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.InvalidFormat | Incorrect parameter format. |
InvalidParameter.MissingParameter | Missing parameter. |
InvalidParameter.ParsingError | Incorrect parameter parsing. |
InvalidParameterValue | Invalid parameter value. |
MissingParameter | Missing parameter error. |
ResourceNotFound | The resource does not exist. |
本页内容是否解决了您的问题?