WAF策略增加显示页面动作默认设置

This commit is contained in:
刘祥超
2024-01-20 16:18:49 +08:00
parent 12f6a1e3ce
commit adc4b945e7
10 changed files with 310 additions and 249 deletions

View File

@@ -15,6 +15,7 @@ type HTTPFirewallPolicy struct {
Outbound *HTTPFirewallOutboundConfig `yaml:"outbound" json:"outbound"`
BlockOptions *HTTPFirewallBlockAction `yaml:"blockOptions" json:"blockOptions"`
CaptchaOptions *HTTPFirewallCaptchaAction `yaml:"captchaOptions" json:"captchaOptions"`
PageOptions *HTTPFirewallPageAction `yaml:"pageOptions" json:"pageOptions"`
Mode FirewallMode `yaml:"mode" json:"mode"`
UseLocalFirewall bool `yaml:"useLocalFirewall" json:"useLocalFirewall"`
SYNFlood *SYNFloodConfig `yaml:"synFlood" json:"synFlood"`