Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please bundle VMware modsecurity into the gateway #669

Closed
lakamsani opened this issue Nov 1, 2022 · 4 comments
Closed

Please bundle VMware modsecurity into the gateway #669

lakamsani opened this issue Nov 1, 2022 · 4 comments
Labels
kind/enhancement New feature or request

Comments

@lakamsani
Copy link

lakamsani commented Nov 1, 2022

Description:
This will give us basic WAF features like we can with Apache or Ngnix.

Here's the VmWare project link.

https://github.com/vmware-archive/ModSecurity-envoy

As VMware is involved in this project, perhaps already in a future roadmap? Requesting because the current roadmap doesn't mention it.

@lakamsani lakamsani added the kind/enhancement New feature or request label Nov 1, 2022
@arkodg
Copy link
Contributor

arkodg commented Nov 1, 2022

thanks for raising this issue and also linking the specific project that can be used to implement WAF.
I see @danehans recently raised a GH issue highlighting support for WAF here
It does point to a different library for WAF, so the next steps I see for the community are

  • If we do support WAF, when / in which release should the feature be rolled out
  • Which library do we leverage to implement WAF

Will bring this up in the community meeting, to start discussing when can WAF be introduced into EG, stay tuned !

@lakamsani
Copy link
Author

@arkodg thanks. I didn't know about https://github.com/corazawaf/coraza-proxy-wasm before today. I don't have any particular preference personally as long the Envoy Gateway comes up with some kind of WAF bundled. Happy to test for sure in a production setting and may contribute if I can set aside time. The VMWare project also talks about being more of an east-west or as a sidecar between services inside k8s as per their top-level README. And it hasn't had recent activity.

@danehans
Copy link
Contributor

danehans commented Nov 2, 2022

@lakamsani thanks for creating the issue. The intent of #671 is to develop a WAF solution that can support different implementations, with https://github.com/corazawaf/coraza-proxy-wasm being the first supported implementation. I'm open to discussing a different initial implementation but I have concerns about supporting https://github.com/vmware-archive/ModSecurity-envoy since it recompiles Envoy. Does the ModSecurity-envoy project intend on supporting a more pluggable approach, e.g. Wasm, ExternalProcessor, etc?

@lakamsani
Copy link
Author

lakamsani commented Nov 2, 2022

@danehans I don't know much about that VmWare project. Just found that via Google. As it was developed by VmWare and they created the envoy based Contour project,
https://tanzu.vmware.com/developer/guides/service-routing-contour-to-ingress-and-beyond/

I thught it might be useful here. I wasn't aware of the Coraza project until yesterday. Don't have a preference either way on how WAF support is added. As long as the OWASP CRS is supported.

I will close this so we can use #671 for further WAF discussions. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants