mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2026-01-07 21:08:48 +08:00
WAF拦截动作可以设置最大封禁时间,从而实现封禁时间随机
This commit is contained in:
@@ -9,7 +9,8 @@ type HTTPFirewallBlockAction struct {
|
||||
StatusCode int `yaml:"statusCode" json:"statusCode"`
|
||||
Body string `yaml:"body" json:"body"` // supports HTML
|
||||
URL string `yaml:"url" json:"url"`
|
||||
Timeout int32 `yaml:"timeout" json:"timeout"`
|
||||
Timeout int32 `yaml:"timeout" json:"timeout"` // 最小封禁时长
|
||||
TimeoutMax int32 `yaml:"timeoutMax" json:"timeoutMax"` // 最大封禁时长
|
||||
Scope FirewallScope `yaml:"scope" json:"scope"`
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user