mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2026-01-16 08:27:10 +03:00
Adds FULL_REQUEST variable
@@ -1906,6 +1906,21 @@ Contains a list of form fields that were used for file upload. Available only on
|
||||
|
||||
<code>SecRule FILES_NAMES "^upfile$" "id:19"</code>
|
||||
|
||||
== 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.
|
||||
|
||||
<code>SecRule FULL_REQUEST "User-Agent: ModSecurity Regression Tests" "id:21"</code>
|
||||
|
||||
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.
|
||||
|
||||
<code>SecRule FULL_REQUEST_LENGTH "@eq 205" "id:21"</code>
|
||||
|
||||
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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user