corazawaf/coraza
View on GitHubfailed to compile the directive "secrule": invalid action "proxy"
Open
#775 opened on Apr 12, 2023
documentationgood first issue
Repository metrics
- Stars
- (3,627 stars)
- PR merge metrics
- (PR metrics pending)
Description
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.