WAF规则集中增加“允许搜索引擎”选项,可以快速允许搜索引擎访问

This commit is contained in:
刘祥超
2024-05-08 16:43:27 +08:00
parent b2e0a80efd
commit 2128ed9b9c

View File

@@ -22,6 +22,7 @@ type HTTPFirewallRuleSet struct {
RuleRefs []*HTTPFirewallRuleRef `yaml:"ruleRefs" json:"ruleRefs"` RuleRefs []*HTTPFirewallRuleRef `yaml:"ruleRefs" json:"ruleRefs"`
Rules []*HTTPFirewallRule `yaml:"rules" json:"rules"` Rules []*HTTPFirewallRule `yaml:"rules" json:"rules"`
IgnoreLocal bool `yaml:"ignoreLocal" json:"ignoreLocal"` IgnoreLocal bool `yaml:"ignoreLocal" json:"ignoreLocal"`
IgnoreSearchEngine bool `yaml:"ignoreSearchEngine" json:"ignoreSearchEngine"`
Actions []*HTTPFirewallActionConfig `yaml:"actions" json:"actions"` Actions []*HTTPFirewallActionConfig `yaml:"actions" json:"actions"`