将WAF模板中的cc修改为cc2

This commit is contained in:
GoEdgeLab
2021-07-19 11:01:43 +08:00
parent 1812fe7b09
commit c0ecea5652
4 changed files with 38 additions and 12 deletions

View File

@@ -5,7 +5,7 @@ import (
"regexp"
)
// all check points list
// AllCheckpoints all check points list
var AllCheckpoints = []*HTTPFirewallCheckpointDefinition{
{
Name: "通用请求Header长度限制",
@@ -185,9 +185,17 @@ var AllCheckpoints = []*HTTPFirewallCheckpointDefinition{
HasParams: true,
},
{
Name: "CC统计",
Name: "CC统计(新)",
Prefix: "cc2",
Description: "对统计对象进行统计",
HasParams: false,
IsRequest: true,
IsComposed: true,
},
{
Name: "CC统计",
Prefix: "cc",
Description: "统计某段时间段内的请求信息",
Description: "统计某段时间段内的请求信息请使用新的CC统计代替",
HasParams: true,
Params: []*KeyValue{
NewKeyValue("请求数", "requests"),