owasp-modsecurity / ModSecurity-Python-bindings

Python bindings for libModSecurity (aka ModSecurity v3)
24 stars 15 forks source link

META: Needs update for the latest version of libModSecurity #13

Open zimmerle opened 6 years ago

zimmerle commented 6 years ago

The bindings are a bit out dated and it will not compile against the latest version of libModSecurity. The lib has evolve to use some data structures that are not supported by swig. If support is not being added to swig we may consider to have this binding implemented using a different approach.

GustavoKatel commented 6 years ago

Hi, nice work on version 3.x.

Me and a colleague have been working in python binding's for libmodsecurity 3.x (https://github.com/actions-security/pymodsecurity). We believe that open-sourcing is the best way to the community.

We have built using pybind11 and covered most of modsecurity (v3.0.2) functionality. We plan to maintain it updated and distribute in PyPi and conda-forge as well.

We appreciate any help or thoughts on this.

zimmerle commented 6 years ago

Hi @GustavoKatel,

That is excellent news :) Thank you for your work on it. I am going to make a reference to your project on the main page of this project.

zimmerle commented 6 years ago

Note added :)

https://github.com/SpiderLabs/ModSecurity-Python-bindings

GustavoKatel commented 6 years ago

Awesome! :)