访问日志可以设置只记录WAF相关日志

This commit is contained in:
GoEdgeLab
2021-01-26 10:30:15 +08:00
parent 1e6297a169
commit cedf12a10e

View File

@@ -18,6 +18,8 @@ type HTTPAccessLogRef struct {
StorageOnly bool `yaml:"storageOnly" json:"storageOnly"` // 是否只输出到存储策略
StoragePolicies []int64 `yaml:"storagePolicies" json:"storagePolicies"` // 存储策略Ids
FirewallOnly bool `yaml:"firewallOnly" json:"firewallOnly"` // 是否只记录防火墙相关日志
}
// 获取新对象