mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2026-04-18 17:35:18 +08:00
WAF策略默认开启记录日志
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
// 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 {
|
||||
IsOn bool `yaml:"isOn" json:"isOn"`
|
||||
RequestBody bool `yaml:"requestBody" json:"requestBody"`
|
||||
}
|
||||
|
||||
func (this *HTTPFirewallPolicyLogConfig) Init() error {
|
||||
return nil
|
||||
}
|
||||
Reference in New Issue
Block a user