hamlet-io / engine

Framework for managing cloud infrastructure via templates. It is part of the broader Hamlet devops framework.
GNU General Public License v3.0
5 stars 5 forks source link

WAF Deprecate the OWASP solution configuration option #2066

Open roleyfoley opened 2 years ago

roleyfoley commented 2 years ago

Expected Behaviour

The WAFProfile defined in a SecurityProfile for a component is the only way to assign WAFProfiles to a component

Current Behaviour

Currently when you use the OWASP configuration option under the WAF configuration it overrides the WAFProfile defined in the security profile and uses a fixed profile that the provider has deemed to implement WAF. Instead providers can offer their own WAFProfiles that might implement OWASP controls and the user can than choose to use them or make their own.

Possible Solution

Remove the OWASP configuration option from the WAF configuration and rely on using the Security Profile WAF Profile

Context

This aligns with how we handle other security controls within our solutions and creates a single configuration option which will control the WAF profile assigned to a given component.