记录WAF日志

This commit is contained in:
GoEdgeLab
2020-11-02 15:49:30 +08:00
parent 6e2f5f976f
commit 8cd370ee69
5 changed files with 86 additions and 33 deletions

View File

@@ -120,6 +120,8 @@ func (this *HTTPRequest) log() {
FirewallRuleGroupId: this.firewallRuleGroupId,
FirewallRuleSetId: this.firewallRuleSetId,
FirewallRuleId: this.firewallRuleId,
Attrs: this.logAttrs,
}
if this.origin != nil {