Interface WebApplicationFirewallPolicy.DefinitionStages.WithInspectRequestBody
- All Known Subinterfaces:
WebApplicationFirewallPolicy.Definition,WebApplicationFirewallPolicy.DefinitionStages.WithCreate,WebApplicationFirewallPolicy.DefinitionStages.WithManagedRulesOrCreate,WebApplicationFirewallPolicy.DefinitionStages.WithRequestBodyOrCreate
- Enclosing interface:
WebApplicationFirewallPolicy.DefinitionStages
public static interface WebApplicationFirewallPolicy.DefinitionStages.WithInspectRequestBody
The stage of a Web Application Firewall Policy definition allowing to enable request body inspection.
-
Method Summary
Modifier and TypeMethodDescriptionEnables request body inspection.
-
Method Details
-
enableRequestBodyInspection
WebApplicationFirewallPolicy.DefinitionStages.WithRequestBodyOrCreate enableRequestBodyInspection()Enables request body inspection. When your WAF receives a request that's over the size limit, the behavior depends on the mode of your WAF and the version of the managed ruleset you use.- When your WAF policy is in prevention mode, WAF logs and blocks requests that are over the size limit.
- When your WAF policy is in detection mode, WAF inspects the body up to the limit specified and ignores the rest. If the Content-Length header is present and is greater than the file upload limit, WAF ignores the entire body and logs the request.
- Returns:
- the next stage of the definition
-