solo-io / gloo

The Feature-rich, Kubernetes-native, Next-Generation API Gateway Built on Envoy
https://docs.solo.io/
Apache License 2.0
4.07k stars 435 forks source link

WAF `customSettingsFile` should accept an array of files #4972

Open kevin-shelaga opened 3 years ago

kevin-shelaga commented 3 years ago

Is your feature request related to a problem? Please describe.

Right now WAF can only accept a single file for customSettingsFile but a customer has expressed interest in mounting and applying several rule files without the need to combine them all into one giant rules.conf file.

Describe the solution you'd like

#Current
      waf:
        coreRuleSet:
          customSettingsFile: "/rules/rules.conf"
#Proposed
      waf:
        coreRuleSet:
          customSettingsFiles: 
          - file: "/rules/rules1.conf"
          - file: "/rules/rules2.conf"

Describe alternatives you've considered

Combine all rules into a single mega rule.conf

Additional context

Add any other context or screenshots about the feature request here. glooe v1.8.0

github-actions[bot] commented 3 months ago

This issue has been marked as stale because of no activity in the last 180 days. It will be closed in the next 180 days unless it is tagged "no stalebot" or other activity occurs.