From 2b2dcb2713108afa969ffde26c520b1d96afa9e9 Mon Sep 17 00:00:00 2001 From: komtaki Date: Tue, 22 Feb 2022 19:51:33 +0900 Subject: [PATCH] chore: disabled SQLi_BODY rule on waf for uploading image --- .cloudformation/waf.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.cloudformation/waf.yml b/.cloudformation/waf.yml index 89c977be5d..2d5a7fda4d 100644 --- a/.cloudformation/waf.yml +++ b/.cloudformation/waf.yml @@ -87,6 +87,8 @@ Resources: MetricName: AWSManagedRulesSQLiRuleSetMetric Statement: ManagedRuleGroupStatement: + ExcludedRules: + - Name: SQLi_BODY VendorName: AWS Name: AWSManagedRulesSQLiRuleSet Scope: CLOUDFRONT