Describes DDoS attack events during a specific time period.

Request parameters

Name Type Required Description
StartTime Long Yes The start time for the query, in milliseconds, in timestamp format.
EndTime Long Yes The end time for the query, in milliseconds, in timestamp format. The query time must be within 30 days.
Ip String Yes The Anti-DDoS Pro IP to be queried.
CurrentPage Integer Yes Specifies the number of pages to display. Minimum value: 1.
PageSize Integer Yes Specifies the number of rows per page. Maximum value: 20.

Response parameters

Name Type Description
RequestId String The unique identifier (ID) for this request.
Data Object The list of DDoS events. For a structure description, see Data.
Table 1. Data
Name Type Description
TotalCount Integer The total number of DDoS events.
EventList List The DDoS event list. For a structure description, see EventList.
Table 2. EventList
Name Type Description
StartTime Long The start time of the attack, in milliseconds, in timestamp format.
EndTime Long The end time of the attack, in milliseconds, in timestamp format.
Attacktype String The type of the DDoS attack. Value:
  • tcp-flood
  • udp-flood
  • icmp-flood
  • finrst-flood
Result Integer The result of the event. Value:
  • 0: Cleaning
  • 1: Cleaned
  • 3: Black hole expired

Example

Request example
https://ddospro.cn-hangzhou.aliyuncs.com/?Action=DescribeDdosAttackEvents
&StartTime=1536891600
&EndTime=1536893404
&Ip=1.1.1.1
&CurrentPage=1
&PageSize=10
&public parameters
Response example
  • JSON format
    {
    	"RequestId": "C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E",
    	"Data":{
    		"TotalCount":4,
    		"EventList":[
    			{
    				"EndTime":1535019587000,
    				"StartTime":1535018684000,
    				"AttackType":"syn-flood",
    				"Result":1
    			}
    		]
    	}
    }