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

Generating Prometheus stats also in DetectionOnly mode #1008

Open
iMaxGit opened this issue Feb 20, 2024 · 1 comment
Open

Generating Prometheus stats also in DetectionOnly mode #1008

iMaxGit opened this issue Feb 20, 2024 · 1 comment

Comments

@iMaxGit
Copy link

iMaxGit commented Feb 20, 2024

Hi,

I am looking into replacing the old envoy modsecurity filter with the coraza proxy wasm plugin. In order to be able to better evaluate the configured rules, would it be possible to add stats generation in detection only mode as well? As far as I have seen, stats are only triggered in the actual interruption case, but not in a detection case.

@jcchavezs
Copy link
Member

I think this is very important, however this would require to plug a stats collector in coraza itself and not in coraza-proxy-wasm. I will transfer this issue to coraza repo itself.

@jcchavezs jcchavezs transferred this issue from corazawaf/coraza-proxy-wasm Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants