记录WAF日志

This commit is contained in:
刘祥超
2020-11-02 15:49:30 +08:00
parent 0862f6ccce
commit d1dbe44485
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 {