查询单个防护策略
功能介绍
查询防护策略的详细信息。
URI
请求消息
请求参数
无
响应消息
|
名称 |
参数类型 |
说明 |
|---|---|---|
|
id |
String |
防护实例的ID。 |
|
name |
String |
防护策略名称。 |
|
action |
策略规则命中后操作对象。
|
|
|
options |
攻击防护类型开关对象。 |
|
|
level |
Integer |
防护等级。
|
|
full_detection |
Boolean |
精准防护中的检测模式。
|
|
hosts |
Array |
防护域名的ID。 |
|
timestamp |
Long |
创建策略的时间。 |
|
名称 |
参数类型 |
说明 |
|---|---|---|
|
webattack |
Boolean |
Web攻击是否开启。
|
|
common |
Boolean |
Web攻击的常规攻击检测是否开启。
|
|
crawler |
Boolean |
Web攻击的爬虫检测是否开启。
|
|
crawler_engine |
Boolean |
Web攻击的搜索引擎是否开启。
|
|
crawler_scanner |
Boolean |
Web攻击的扫描器是否开启。
|
|
crawler_script |
Boolean |
Web攻击的脚本工具是否开启。
|
|
crawler_other |
Boolean |
Web攻击的其他爬虫是否开启。
|
|
webshell |
Boolean |
Web攻击的Webshell是否开启。
|
|
cc |
Boolean |
Web攻击的CC防护是否开启。
|
|
custom |
Boolean |
Web攻击的精准访问防护是否开启。
|
|
whiteblackip |
Boolean |
Web攻击的IP黑白名单是否开启。
|
|
privacy |
Boolean |
Web攻击的隐私屏蔽是否开启。
|
|
Ignore |
Boolean |
Web攻击的误报屏蔽是否开启。
|
|
antitamper |
Boolean |
Web攻击的网页防篡改是否开启。
|
示例
如下以查询防护策略“policy_2”为例。
{
"id": "xxxxxxxxxxxxxxxxxxxxxxxxx",
"name": "policy_2",
"action": {
"category": "block"
},
"options": {
"webattack": true,
"common": true,
"crawler": true,
"crawler_engine": true,
"crawler_scanner": true,
"crawler_script": true,
"crawler_other": true,
"webshell": true,
"cc": true,
"custom": true,
"whiteblackip": true,
"ignore": true,
"privacy": true,
"antitamper": true
},
"level": 1,
"full_detection": false,
"hosts": ["11111111111111111", "2222222222222222222"],
"timestamp": 1499817612
}