WAF策略中增加验证码相关定制设置

This commit is contained in:
GoEdgeLab
2022-05-20 22:10:58 +08:00
parent 802fdb67cb
commit 1afcf90c99
6 changed files with 43 additions and 15 deletions

View File

@@ -2,6 +2,8 @@ package firewallconfigs
// HTTPFirewallBlockAction url client configure
type HTTPFirewallBlockAction struct {
IsPrior bool `yaml:"isPrior" json:"isPrior"`
StatusCode int `yaml:"statusCode" json:"statusCode"`
Body string `yaml:"body" json:"body"` // supports HTML
URL string `yaml:"url" json:"url"`