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

This commit is contained in:
刘祥超
2023-03-10 15:16:29 +08:00
parent dd3b6b0fe8
commit 34f33a0979

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,
})