mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2026-05-02 13:05:18 +08:00
[WAF]规则中增加请求Header长度限制和响应Header长度限制
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user