forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Li, Qiao <qiaoli@huawei.com> Co-committed-by: Li, Qiao <qiaoli@huawei.com>
9.5 KiB
9.5 KiB
Querying the Number of Attack Source IP Addresses
Function Description
This API is used to query the number of attack source IP addresses.
URI
- URI format
GET /v1/{project_id}/waf/event/attack/source/num?from={from}&to={to}&hosts={hostids}
- Parameter description
Table 1 Path parameters Parameter
Mandatory
Type
Description
project_id
Yes
String
Specifies the project ID.
from
Yes
Long
Specifies the start time (UTC) in milliseconds. For example, 1548172800000.
to
Yes
Long
Specifies the end time (UTC) in milliseconds. For example, 1548431999000.
hosts
No
Array
Specifies the domain IDs.
Request
Request parameters
None
Response
Response parameters
Parameter |
Type |
Description |
---|---|---|
sip |
Integer |
Specifies the number of attack source IP addresses. |
Example
Response example
{ "sip": 50 }
Status Code
Table 3 describes the normal status code returned by the API.
For details about error status codes, see Status Codes.
Parent topic: Event Logs