AWS Security ChangesHomeSearch

AWS waf: Note on CloudFront auto-adding WAF SDK script tag

Service: waf · 2026-10-30 · Documentation low

File: waf/latest/developerguide/waf-bot-with-tokens.md · Type: bot-protection

Summary

Adds a note that CloudFront can automatically add the AWS WAF SDK script tag for applications delivered through CloudFront, with a link to the automatic SDK integration topic.

Security assessment

Points readers to a security-relevant capability (automatic SDK injection enabling token/challenge-based bot mitigation) but adds no new control details itself.

Evidence

+If you deliver your application through Amazon CloudFront, you can have CloudFront add the SDK script tag for you automatically. For more information, see [Automatic SDK integration for CloudFront distributions](./waf-challenge-javascript-sdk-injection.html).

Diff

diff --git a/waf/latest/developerguide/waf-bot-with-tokens.md b/waf/latest/developerguide/waf-bot-with-tokens.md
index f16a8c9..22f3d61 100644
--- a//waf/latest/developerguide/waf-bot-with-tokens.md
+++ b//waf/latest/developerguide/waf-bot-with-tokens.md
@@ -20,0 +21,2 @@ At minimum, add the JavaScript challenge script tag to your most critical pages
+If you deliver your application through Amazon CloudFront, you can have CloudFront add the SDK script tag for you automatically. For more information, see [Automatic SDK integration for CloudFront distributions](./waf-challenge-javascript-sdk-injection.html).
+