corazawaf/coraza

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

オープン

#775 opened on 2023/04/12

 (10 件のコメント) (0 件のリアクション) (0 人の担当者)Go (333 件のフォーク)auto 404
documentationgood first issue

Repository metrics

Stars
 (3,627 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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.

コントリビューターガイド