Skip to content

Commit

Permalink
docs: Added link
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesiarmes committed Nov 27, 2024
1 parent 31bbc24 commit 2a402a0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,9 @@ module "cloudfront_waf" {

The [AWSManagedRulesCommonRuleSet][rules-common] rule group, by default, will
block requests over 8KB in size, via the `SizeRestrictions_BODY` rule.
Additionally, random characters in the file metadata can trigger the
`CrossSiteScripting_BODY` and `SQLi_BODY` rules. We can override this to exclude
certain paths that are used for file uploads.
Additionally, [random characters in the file metadata][file-false-positives] can
trigger the `CrossSiteScripting_BODY` and `SQLi_BODY` rules. We can override
this to exclude certain paths that are used for file uploads.

The new rule created by this override will be given the priority of `550`, to
ensure it comes after the common and SQLi rule sets.
Expand Down Expand Up @@ -232,6 +232,7 @@ module "cloudfront_waf" {
[constraints]: https://docs.aws.amazon.com/waf/latest/APIReference/API_ByteMatchStatement.html
[custom_headers]: #custom_headers
[distribution]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-working-with.html
[file-false-positives]: https://repost.aws/knowledge-center/waf-upload-blocked-files
[ip-rules]: https://docs.aws.amazon.com/waf/latest/developerguide/waf-rule-statement-type-ipset-match.html
[ip_set_rules]: #ip_set_rules
[latest-release]: https://github.com/codeforamerica/tofu-modules-aws-cloudfront-waf/releases/latest
Expand Down

0 comments on commit 2a402a0

Please sign in to comment.