corazawaf/coraza

failed to compile the directive "secrule": invalid action "proxy"

Offen

#775 geöffnet am 12.04.2023

 (10 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Go (333 Forks)auto 404
documentationgood first issue

Repository-Metriken

Stars
 (3.627 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

Description

WAF config from string reports:

invalid WAF config from string: failed to compile the directive "secrule": invalid action "proxy"

Running 3.0.0-rc1.

Steps to reproduce

https://coraza.io/docs/seclang/actions/#proxy

The rules for block and redirect are parsed and enforced correctly. Proxy is unrecognized.

Expected result

I should get a filled out types.Interruption with Action: proxy and Data: url;

Actual result

The above error.

Contributor Guide