From 0ffa3e2ea11fc16ab8281c53603c1cad50d4d7f4 Mon Sep 17 00:00:00 2001 From: Felipe Zimmerle Date: Thu, 27 Feb 2014 12:37:49 -0800 Subject: [PATCH] Adds FULL_REQUEST variable --- Reference-Manual.mediawiki | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Reference-Manual.mediawiki b/Reference-Manual.mediawiki index 0f39a9b..50c8fab 100644 --- a/Reference-Manual.mediawiki +++ b/Reference-Manual.mediawiki @@ -1906,6 +1906,21 @@ Contains a list of form fields that were used for file upload. Available only on SecRule FILES_NAMES "^upfile$" "id:19" +== FULL_REQUEST == +Contains the complete request: Request line, Request headers and Request body (if any). +The last available only if SecRequestBodyAccess was set to On. Note that all properties of SecRequestBodyAccess will be respected here, such as: SecRequestBodyLimit. + +SecRule FULL_REQUEST "User-Agent: ModSecurity Regression Tests" "id:21" + +Note: This variable is no part of our stable release yet. It is under test. The code can be find at: https://github.com/SpiderLabs/ModSecurity/tree/var_full_request + +== FULL_REQUEST_LENGTH == +Represents the amount of bytes that FULL_REQUEST may use. + +SecRule FULL_REQUEST_LENGTH "@eq 205" "id:21" + +Note: This variable is no part of our stable release yet. It is under test. The code can be find at: https://github.com/SpiderLabs/ModSecurity/tree/var_full_request + == FILES_SIZES == Contains a list of individual file sizes. Useful for implementing a size limitation on individual uploaded files. Available only on inspected multipart/form-data requests.