Selaa lähdekoodia

Updates Cust SH WAF to allow latest false positives

To be tagged v5.2.11
Fred Damstra [afs macbook] 3 vuotta sitten
vanhempi
sitoutus
43d42b2dd3
1 muutettua tiedostoa jossa 4 lisäystä ja 0 poistoa
  1. 4 0
      base/splunk_servers/customer_searchhead/waf.tf

+ 4 - 0
base/splunk_servers/customer_searchhead/waf.tf

@@ -16,6 +16,7 @@ module "waf" {
     "SizeRestrictions_BODY",
     "SizeRestrictions_QUERYSTRING",
     "RestrictedExtensions_URIPATH",
+    "RestrictedExtensions_QUERYARGUMENTS",
     "EC2MetaDataSSRF_BODY",
     "GenericLFI_BODY",
   ]
@@ -27,6 +28,9 @@ module "waf" {
     "UNIXShellCommandsVariables_BODY",
     "UNIXShellCommandsVariables_QUERYARGUMENTS",
   ]
+  excluded_rules_AWSManagedRulesLinuxRuleSet = [
+    "LFI_QUERYSTRING",
+  ]
 
   # These are passed through and should be the same for module
   tags           = merge(local.standard_tags, var.tags)