输入示例
POST https://waf.volcengineapi.com/?Action=UpdateBotAnalyseProtectRule&Version=2023-12-25&ProjectName=default
X-Date: 20230711T035055Z
Authorization: HMAC-SHA256 Credential=<AccessKeyId>/20230711/cn-beijing/waf/request, SignedHeaders=content-type;x-content-sha256;x-date, Signature=<Signature>
{
"Id": 18673,
"Name": "bot-frequency-login",
"Host": "wafexample.com",
"Path": "/login",
"Enable": 1,
"StatisticalType": 1,
"Field": "HEADER:X-Forwarded-For,CLIENTIP,COOKIE:token",
"StatisticalDuration": 66,
"SingleThreshold": 6,
"PathThreshold": 6,
"RulePriority": 0,
"ActionType": 2,
"EffectTime": 66,
"ExemptionTime": 30,
"AccurateGroup": {
"Logic": 1,
"AccurateRules": [
{
"HttpObj": "request.cookie.session_id",
"ObjType": 15,
"Property": 0,
"Opretar": 2,
"ValueString": "session-123456"
}
]
}
}输出示例
{
"ResponseMetadata": {
"RequestId": "2026052519200902B2E106B99E273BD181",
"Action": "UpdateBotAnalyseProtectRule",
"Version": "2023-12-25",
"Service": "waf",
"Region": "cn-beijing"
},
"Result": null
}