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>
16 KiB
Querying Event Distribution
Function Description
This API is used to query event distribution.
URI
- URI format
- 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 |
---|---|---|
xss |
Integer |
Specifies the number of XSS attacks detected within the time range. |
sqli |
Integer |
Specifies the number of SQL injection attacks detected within the time range. |
cmdi |
Integer |
Specifies the number of command injection attacks detected within the time range. |
cc |
Integer |
Specifies the number of CC attacks detected within the time range. |
custom |
Integer |
Specifies the number of Precise Protection events detected within the time range. |
illegal |
Integer |
Specifies the number of invalid requests detected within the time range. |
lfi |
Integer |
Specifies the number of local file inclusion attacks detected within the time range. |
robot |
Integer |
Specifies the number of malicious crawlers detected within the time range. |
antitamper |
Integer |
Specifies the number of webpage tampering attacks detected within the time range. |
rfi |
Integer |
Specifies the number of remote file inclusion attacks detected within the time range. |
vuln |
Integer |
Specifies the number of other attacks detected within the time range. |
whiteblackip |
Integer |
Specifies the number of Blacklist and Whitelist events detected within the time range. |
webshell |
Integer |
Specifies the number of webshell attacks detected within the time range. |
Example
{ "xss": 150, "sqli": 321, "cmdi": 120, "robot": 10, "whiteblackip": 30, "custom": 50, "cc": 60, "illegal": 10 }
Status Code
For details about error status codes, see Status Codes.