From 57c249b791920f7b1062027ac78b6d9076974fad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E7=A5=A5=E8=B6=85?= Date: Sat, 9 Dec 2023 15:54:57 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=86WAF=E7=AD=96=E7=95=A5=E6=A8=A1?= =?UTF-8?q?=E6=9D=BFSQL=E6=B3=A8=E5=85=A5=E9=BB=98=E8=AE=A4=E5=8A=A8?= =?UTF-8?q?=E4=BD=9C=E4=BF=AE=E6=94=B9=E4=B8=BA=E2=80=9C=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/serverconfigs/firewallconfigs/http_firewall_template.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/serverconfigs/firewallconfigs/http_firewall_template.go b/pkg/serverconfigs/firewallconfigs/http_firewall_template.go index 2ed03e6..3f69daf 100644 --- a/pkg/serverconfigs/firewallconfigs/http_firewall_template.go +++ b/pkg/serverconfigs/firewallconfigs/http_firewall_template.go @@ -278,7 +278,8 @@ func HTTPFirewallTemplate() *HTTPFirewallPolicy { set.Connector = HTTPFirewallRuleConnectorOr set.Actions = []*HTTPFirewallActionConfig{ { - Code: HTTPFirewallActionBlock, + Code: HTTPFirewallActionPage, + Options: maps.Map{"status": 403, "body": ""}, }, }