Querying the List of Attack Events
Function
This API is used to query the list of attack events.
Calling Method
For details, see Calling APIs.
URI
GET /v2/aad/domains/waf-info/attack/event
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
domains |
No |
String |
If this parameter is not provided, all domain names are queried. |
|
start_time |
No |
String |
Start time. |
|
end_time |
No |
String |
End time. |
|
recent |
No |
String |
Enumeration values: yesterday, today, 3 days, 1 week, 1 month You need to configure either this parameter or the timestamp. |
|
overseas_type |
No |
Integer |
Instance type. 0: the Chinese mainland. 1: outside the Chinese mainland. |
|
sip |
No |
String |
Attack source IP address. |
|
limit |
No |
Integer |
limit |
|
offset |
No |
Integer |
offset |
Request Parameters
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
X-Auth-Token |
Yes |
String |
token |
|
Content-Type |
Yes |
String |
Content-Type |
Response Parameters
Status code: 200
|
Parameter |
Type |
Description |
|---|---|---|
|
total |
Integer |
total |
|
list |
Array of ListWafAttackEventlist objects |
list |
|
Parameter |
Type |
Description |
|---|---|---|
|
id |
String |
id |
|
domain |
String |
Target domain name. |
|
time |
Integer |
Attack time. |
|
sip |
String |
Attack source IP address. |
|
action |
String |
Protective action. |
|
url |
String |
Attacking URL. |
|
type |
String |
Attack type. The options are as follows: cc (frequency control), cmdi (command injection attack), anti_crawler (anti-crawler), custom_custom (precise protection), illegal (invalid request), sqli (SQL injection attack), lfi (local file inclusion), robot (crawler attack), custom_geoip (region blocking), rfi (remote file inclusion), vuln (vulnerability exploits), xss (XSS attack), custom_whiteip (whitelist), custom_whiteblackip (blacklist and whitelist), web shell (web shell attack), and leakage (privacy leakage). |
|
backend |
Backend object |
Current backend. |
Example Requests
None
Example Responses
Status code: 200
OK
{
"list" : [ {
"action" : "block",
"backend" : {
"host" : "1.1.1.1",
"port" : 443,
"protocol" : "HTTPS"
},
"domain" : "www.yangqi-cc.com",
"id" : "20-4012b40c5dcd424c5488b53aa01ddfe1",
"sip" : "10.172.190.37",
"time" : 1726279906000,
"type" : "cc",
"url" : "/opt"
} ],
"total" : 1
}
Status Codes
|
Status Code |
Description |
|---|---|
|
200 |
OK |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot