corazawaf/coraza

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

開放

#775 建立於 2023年4月12日

 (10 則留言) (0 個反應) (0 位負責人)Go (333 個分叉)auto 404
documentationgood first issue

倉庫指標

星標
 (3,627 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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.

貢獻者指南