[WAF]规则中增加请求Header长度限制和响应Header长度限制

This commit is contained in:
GoEdgeLab
2020-11-18 19:48:27 +08:00
parent b001883c54
commit 317f16746f
3 changed files with 52 additions and 10 deletions

View File

@@ -14,10 +14,11 @@ func NewKeyValue(name string, value string) *KeyValue {
// check point definition
type HTTPFirewallCheckpointDefinition struct {
Name string `json:"name"`
Description string `json:"description"`
Prefix string `json:"prefix"`
IsRequest bool `json:"isRequest"`
Params []*KeyValue `json:"params"`
Options []OptionInterface `json:"options"`
Name string `json:"name"` // 名称
Description string `json:"description"` // 描述
Prefix string `json:"prefix"` // 前缀
IsRequest bool `json:"isRequest"` // 是否为请求
Params []*KeyValue `json:"params"` // 参数
Options []OptionInterface `json:"options"` // 选项
IsComposed bool `json:"isComposed"` // 是否为组合的checkpoint
}