2020-10-06 21:02:21 +08:00
|
|
|
package firewallconfigs
|
|
|
|
|
|
2021-07-14 22:46:31 +08:00
|
|
|
// HTTPFirewallBlockAction url client configure
|
2020-10-06 21:02:21 +08:00
|
|
|
type HTTPFirewallBlockAction struct {
|
2022-05-20 22:10:58 +08:00
|
|
|
IsPrior bool `yaml:"isPrior" json:"isPrior"`
|
|
|
|
|
|
2021-10-19 10:28:18 +08:00
|
|
|
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"`
|
|
|
|
|
Scope FirewallScope `yaml:"scope" json:"scope"`
|
2020-10-06 21:02:21 +08:00
|
|
|
}
|