Преглед на файлове

Adds Exceptions for Teleport WAF

To be tagged v5.1.11
Fred Damstra [afs macbook] преди 3 години
родител
ревизия
17097f3e36
променени са 1 файла, в които са добавени 6 реда и са изтрити 1 реда
  1. 6 1
      base/teleport-single-instance/waf.tf

+ 6 - 1
base/teleport-single-instance/waf.tf

@@ -31,8 +31,13 @@ module "waf" {
   excluded_rules_AWSManagedRulesUnixRuleSet = [
   ]
 
+  excluded_rules_AWSManagedRulesLinuxRuleSet = [
+    "LFI_URIPATH", # /web/config.js needed
+  ]
+
   excluded_rules_AWSManagedRulesCommonRuleSet = [
-    "SizeRestrictions_BODY",
+    "SizeRestrictions_BODY", # for SAML
+    "EC2MetaDataSSRF_BODY",  # for SAML
   ]
 
   # These are passed through and should be the same for module