mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-11-26 22:00:26 +08:00
WAF支持忽略全局WAF规则
This commit is contained in:
@@ -4,6 +4,7 @@ type HTTPFirewallRef struct {
|
|||||||
IsPrior bool `yaml:"isPrior" json:"isPrior"`
|
IsPrior bool `yaml:"isPrior" json:"isPrior"`
|
||||||
IsOn bool `yaml:"isOn" json:"isOn"`
|
IsOn bool `yaml:"isOn" json:"isOn"`
|
||||||
FirewallPolicyId int64 `yaml:"firewallPolicyId" json:"firewallPolicyId"`
|
FirewallPolicyId int64 `yaml:"firewallPolicyId" json:"firewallPolicyId"`
|
||||||
|
IgnoreGlobalRules bool `yaml:"ignoreGlobalRules" json:"ignoreGlobalRules"` // 忽略系统定义的全局规则
|
||||||
}
|
}
|
||||||
|
|
||||||
func (this *HTTPFirewallRef) Init() error {
|
func (this *HTTPFirewallRef) Init() error {
|
||||||
|
|||||||
Reference in New Issue
Block a user