mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2026-01-07 12:35:50 +08:00
19 lines
515 B
Go
19 lines
515 B
Go
// Copyright 2022 Liuxiangchao iwind.liu@gmail.com. All rights reserved. Official site: https://goedge.cn .
|
|
|
|
package firewallconfigs
|
|
|
|
var DefaultHTTPFirewallPolicyLogConfig = &HTTPFirewallPolicyLogConfig{
|
|
IsOn: true,
|
|
RequestBody: true,
|
|
}
|
|
|
|
type HTTPFirewallPolicyLogConfig struct {
|
|
IsPrior bool `yaml:"isPrior" json:"isPrior"`
|
|
IsOn bool `yaml:"isOn" json:"isOn"`
|
|
RequestBody bool `yaml:"requestBody" json:"requestBody"`
|
|
}
|
|
|
|
func (this *HTTPFirewallPolicyLogConfig) Init() error {
|
|
return nil
|
|
}
|