WAF cc2模板中增加启用指纹选项

This commit is contained in:
GoEdgeLab
2023-03-10 15:16:29 +08:00
parent ad851ab85b
commit 6551c130a6

View File

@@ -555,9 +555,10 @@ func HTTPFirewallTemplate() *HTTPFirewallPolicy {
Operator: HTTPFirewallRuleOperatorGt,
Value: "120",
CheckpointOptions: map[string]interface{}{
"keys": []string{"${remoteAddr}", "${requestPath}"},
"period": "60",
"threshold": 120,
"keys": []string{"${remoteAddr}", "${requestPath}"},
"period": "60",
"threshold": 120,
"enableFingerprint": true,
},
IsCaseInsensitive: false,
})
@@ -613,9 +614,10 @@ func HTTPFirewallTemplate() *HTTPFirewallPolicy {
Operator: HTTPFirewallRuleOperatorGt,
Value: "1200",
CheckpointOptions: map[string]interface{}{
"keys": []string{"${remoteAddr}"},
"period": "60",
"threshold": 1200,
"keys": []string{"${remoteAddr}"},
"period": "60",
"threshold": 1200,
"enableFingerprint": true,
},
IsCaseInsensitive: false,
})