AWS Security ChangesHomeSearch

AWS AWSCloudFormation: ALB added to WAF request body size config with 8 KB default

Service: AWSCloudFormation · 2026-11-22 · Documentation medium

File: AWSCloudFormation/latest/TemplateReference/aws-properties-wafv2-webacl-requestbodyassociatedresourcetypeconfig.md

Summary

Adds Application Load Balancer to the list of resource types whose body size forwarded to WAF can be customized, documents an 8 KB default for ALB vs 16 KB for others, adds APPLICATION_LOAD_BALANCER to the JSON example, and notes KB_8 is only valid for ALB.

Security assessment

Extends documented WAF body-inspection sizing to ALB, including the minimum KB_8 setting; the inspected byte count directly bounds which malicious payloads WAF can see. No CVE or incident is cited, so it is configuration/security guidance.

Evidence

+You can specify `KB_8` only for Application Load Balancer, with the `APPLICATION_LOAD_BALANCER` resource type. 

Diff

diff --git a/AWSCloudFormation/latest/TemplateReference/aws-properties-wafv2-webacl-requestbodyassociatedresourcetypeconfig.md b/AWSCloudFormation/latest/TemplateReference/aws-properties-wafv2-webacl-requestbodyassociatedresourcetypeconfig.md
index 74c6fea..17e2e90 100644
--- a//AWSCloudFormation/latest/TemplateReference/aws-properties-wafv2-webacl-requestbodyassociatedresourcetypeconfig.md
+++ b//AWSCloudFormation/latest/TemplateReference/aws-properties-wafv2-webacl-requestbodyassociatedresourcetypeconfig.md
@@ -11 +11 @@ This is the new _CloudFormation Template Reference Guide_. Please update your bo
-Customizes the maximum size of the request body that your protected CloudFront, API Gateway, Amazon Cognito, App Runner, and Verified Access resources forward to AWS WAF for inspection. The default size is 16 KB (16,384 bytes). You can change the setting for any of the available resource types. 
+Customizes the maximum size of the request body that your protected Application Load Balancer, CloudFront, API Gateway, Amazon Cognito, App Runner, and Verified Access resources forward to AWS WAF for inspection. The default size is 8 KB (8,192 bytes) for Application Load Balancer and 16 KB (16,384 bytes) for the other resource types. You can change the setting for any of the available resource types. 
@@ -17 +17 @@ You are charged additional fees when your protected resources forward body sizes
-Example JSON: ` { "API_GATEWAY": "KB_48", "APP_RUNNER_SERVICE": "KB_32" }`
+Example JSON: ` { "API_GATEWAY": "KB_48", "APP_RUNNER_SERVICE": "KB_32", "APPLICATION_LOAD_BALANCER": "KB_16" }`
@@ -19 +19 @@ Example JSON: ` { "API_GATEWAY": "KB_48", "APP_RUNNER_SERVICE": "KB_32" }`
-For Application Load Balancer and AWS AppSync, the limit is fixed at 8 KB (8,192 bytes).
+For AWS AppSync, the limit is fixed at 8 KB (8,192 bytes).
@@ -46 +46 @@ To declare this entity in your CloudFormation template, use the following syntax
-Specifies the maximum size of the web request body component that an associated CloudFront, API Gateway, Amazon Cognito, App Runner, or Verified Access resource should send to AWS WAF for inspection. This applies to statements in the web ACL that inspect the body or JSON body. 
+Specifies the maximum size of the web request body component that an associated Application Load Balancer, CloudFront, API Gateway, Amazon Cognito, App Runner, or Verified Access resource should send to AWS WAF for inspection. This applies to statements in the web ACL that inspect the body or JSON body. 
@@ -48 +48,3 @@ Specifies the maximum size of the web request body component that an associated
-Default: `16 KB (16,384 bytes)`
+You can specify `KB_8` only for Application Load Balancer, with the `APPLICATION_LOAD_BALANCER` resource type. 
+
+Default: `8 KB (8,192 bytes)` for Application Load Balancer and `16 KB (16,384 bytes)` for the other resource types