corazawaf/coraza

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

Aperta

#775 aperta il 12 apr 2023

 (10 commenti) (0 reazioni) (0 assegnatari)Go (333 fork)auto 404
documentationgood first issue

Metriche repository

Star
 (3627 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor