nic-6443 commented on code in PR #13763:
URL: https://github.com/apache/apisix/pull/13763#discussion_r3718363348


##########
apisix/plugins/chaitin-waf.lua:
##########
@@ -152,6 +162,23 @@ local metadata_schema = {
                 real_client_ip = {
                     type = "boolean",
                     default = true
+                },
+                -- report the response to the WAF detection service
+                log_resp = {
+                    type = "boolean",
+                    default = false
+                },
+                -- amount of the response body to report, in KB,
+                -- 0 disables body buffering
+                resp_body_size = {
+                    type = "integer",
+                    minimum = 0,
+                    default = 4
+                },

Review Comment:
   Understood. Let's keep it consistent with the existing `req_body_size`.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to