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 合并指标
 (平均合并 6天 12小时) (30 天内合并 13 个 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.

贡献者指南