mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-11-09 00:20:25 +08:00
访问日志可以设置只记录WAF相关日志
This commit is contained in:
@@ -18,6 +18,8 @@ type HTTPAccessLogRef struct {
|
|||||||
|
|
||||||
StorageOnly bool `yaml:"storageOnly" json:"storageOnly"` // 是否只输出到存储策略
|
StorageOnly bool `yaml:"storageOnly" json:"storageOnly"` // 是否只输出到存储策略
|
||||||
StoragePolicies []int64 `yaml:"storagePolicies" json:"storagePolicies"` // 存储策略Ids
|
StoragePolicies []int64 `yaml:"storagePolicies" json:"storagePolicies"` // 存储策略Ids
|
||||||
|
|
||||||
|
FirewallOnly bool `yaml:"firewallOnly" json:"firewallOnly"` // 是否只记录防火墙相关日志
|
||||||
}
|
}
|
||||||
|
|
||||||
// 获取新对象
|
// 获取新对象
|
||||||
|
|||||||
Reference in New Issue
Block a user