白名单规则 详情
更新时间:2026-03-10
GET
/v1/waf/whiteRules/detail
白名单规则 详情
请求参数
Headers 参数
除公共头域外,无其它特殊头域
Query 参数
ruleKey
string
必选
示例代码
curl -X GET "/v1/waf/whiteRules/detail?ruleKey=%3CruleKey%3E"
{}
返回响应
Headers 参数
除公共头域外,无其它特殊头域
返回参数
success
boolean
必选
status
integer
必选
result
object {10}
必选
显示子属性
隐藏子属性
ruleName
string
规则名称
必选
ruleID
integer
规则ID
必选
ruleKey
string
规则唯一标识
必选
ruleType
string
规则类型。可选值: saas, native
必选
protectionDomains
array
防护站点
必选
显示子属性
隐藏子属性
items
string
ignoreModules
array
不检测模块。可选值: base, black_ip, web_tamper_protection, data_loss_prevention, bot, custom, rate_limit, region_block
必选
显示子属性
隐藏子属性
items
string
ignoreIds
array
跳过检测规则ID
必选
显示子属性
隐藏子属性
items
integer
switch
integer
开关状态。可选值: 0, 1
必选
updateTime
string
更新时间
必选
targets
array
必选
显示子属性
隐藏子属性
items
object {4}
显示子属性
隐藏子属性
field
string
自定义字段名称
可选
key
string
匹配字段
必选
match
string
匹配操作符
必选
value
array
匹配内容。字符串数组,匹配字段 为 empty、none、exists 时 传 空 字符串数组 [""]
必选
显示子属性
隐藏子属性
items
string
响应示例
{
"success": true,
"status": 200,
"result": {
"ruleName": "string",
"ruleID": 0,
"ruleType": "saas",
"protectionDomains": [
"string"
],
"switch": 1,
"updateTime": "string",
"targets": [
{
"field": "string",
"key": "string",
"match": "string",
"value": [
"string"
]
}
],
"ruleKey": "string",
"ignoreModules": [
"base"
],
"ignoreIds": [
0
]
}
}
