Skip to main content

DescribeDdosEvents

Description

queries the DDoS event list according to the specified criteria.

Request Method

POST

Request Path

/apsara/route/Ddosprivate/DescribeDdosEvents

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
PageSizeBODYintegerNoNo sample value for this parameter.specifies the maximum number of records displayed on the page.
CurrentPageBODYintegerNoNo sample value for this parameter.specifies the current page number returned.
regionIdBODYstringYesNo sample value for this parameter.region id
VmIPBODYstringNoNo sample value for this parameter.IP attacked.
SelectStatusBODYstringNoNo sample value for this parameter.The status of DDoS events, including: cleaning end of cleaning
DistributionBODYstringNoNo sample value for this parameter.area ID. For example, DXJF represents the Daxing computer room area.
EndDayBODYlongNoNo sample value for this parameter.the end time of the query range.
SearchReasonBODYstringNoNo sample value for this parameter.The cause of the DDoS event, including bps, pps, qps. supports simultaneous queries for events caused by multiple trigger causes. For example, "bps,pps" indicates queries for DDoS events triggered by exceeding the flow rate or packet speed threshold.
StartDayBODYlongNoNo sample value for this parameter.the start time of the query range.
versionBODYstringNo2016-01-01version of api
StartRowBODYintegerNoNo sample value for this parameter.specifies the sequence number of the first record returned by the current page.

Return data

NameTypeSample valueDescription
Categoryintegerno demo valuesecurity event category number.
PageSizeintegerno demo valuepage displays the maximum number of records.
DdosEventsarrayno demo valueDDoS event list information. For specific sub-item descriptions, see the following parameter descriptions.
Bpslongno demo valuewarning flow rate (unit: Mbps).
EndTimelongno demo valueattack end time.
GmtModifiedlongno demo valueevent update time.
Reasonstringno demo valuecause of event reporting.
Ppslongno demo valueearly warning packet speed (unit: pps).
Qpslongno demo valuealert HTTP request rate (unit: QPS).
LocationAddstringno demo valuewhere the event was added. Description Invalid return parameters in the proprietary cloud environment.
Aliuidlongno demo valueAliuid, the user to which the asset belongs.
NewConnintegerno demo valuenew connection threshold. Description The return parameter has been deprecated.
Statusintegerno demo valueThe status of the IP where the DDoS event occurred: 0: indicates unexpired 1: indicates expired
LocationDelstringno demo valuethe place where the event was canceled. Description Invalid return parameters in the proprietary cloud environment.
RequestIdstringno demo valuerequest ID.
AttackTypestringno demo valueattack type. description the current version only returns defense values.
Connintegerno demo valuethreshold for concurrent connections. Description The return parameter has been deprecated.
Codestringno demo valueThe cleaning status of the event, including: cleaning end of cleaning
Successfulintegerno demo valueWhether the attack was successful: 0: indicates unsuccessful 1: indicates success
DistributionDisplaystringno demo valuethe name of the region to which it belongs.
OccurrenceTimelongno demo valuethe time when the event occurred.
TotalCountintegerno demo valuereturns the total number of pages.
GmtCreatelongno demo valueevent creation time.
CurrentPageintegerno demo valuecurrently returns page number.
Callerstringno demo valuethe name of the business party that called the interface. description currently returns beaver_dj, that is, the caller is traffic security monitoring (Beaver).
VmIpstringno demo valueIP attacked.
Distributionstringno demo valuearea code.
CategoryNamestringno demo valuesecurity event category name.
Idlongno demo valueevent ID.
IsFinishedbooleanno demo valueWhether the attack is over: true: indicates ended false: indicates not finished
NeedIgnoreintegerno demo valueDoes this event need to be ignored: 0: indicates no 1: indicates that the event is reported repeatedly and needs to be ignored

Example

Successful Response example

{
"Category":"no demo value",
"PageSize":"no demo value",
"DdosEvents":"no demo value",
"Bps":"no demo value",
"EndTime":"no demo value",
"GmtModified":"no demo value",
"Reason":"no demo value",
"Pps":"no demo value",
"Qps":"no demo value",
"LocationAdd":"no demo value",
"Aliuid":"no demo value",
"NewConn":"no demo value",
"Status":"no demo value",
"LocationDel":"no demo value",
"RequestId":"no demo value",
"AttackType":"no demo value",
"Conn":"no demo value",
"Code":"no demo value",
"Successful":"no demo value",
"DistributionDisplay":"no demo value",
"OccurrenceTime":"no demo value",
"TotalCount":"no demo value",
"GmtCreate":"no demo value",
"CurrentPage":"no demo value",
"Caller":"no demo value",
"VmIp":"no demo value",
"Distribution":"no demo value",
"CategoryName":"no demo value",
"Id":"no demo value",
"IsFinished":"no demo value",
"NeedIgnore":"no demo value"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}