WAF策略增加显示页面动作默认设置

This commit is contained in:
刘祥超
2024-01-20 16:18:49 +08:00
parent 12f6a1e3ce
commit adc4b945e7
10 changed files with 310 additions and 249 deletions

View File

@@ -15,6 +15,7 @@ message HTTPFirewallPolicy {
int64 serverId = 8; // 所属网站ID如果为0表示公共策略
bool useLocalFirewall = 9; // 是否使用本机防火墙
bytes synFloodJSON = 10; // synflood配置
bytes blockOptionsJSON = 11; // 拦截配置
bytes blockOptionsJSON = 11; // 阻止动作配置
bytes pageOptionsJSON = 13; // 显示网页动作配置
bytes captchaOptionsJSON = 12; // 人机识别配置
}

View File

@@ -98,8 +98,9 @@ message UpdateHTTPFirewallPolicyRequest {
string name = 3;
string description = 4;
repeated string firewallGroupCodes = 5;
bytes blockOptionsJSON = 6;
bytes captchaOptionsJSON = 11;
bytes blockOptionsJSON = 6; // 阻止动作配置
bytes pageOptionsJSON = 15; // 显示网页动作配置
bytes captchaOptionsJSON = 11; // 验证码动作配置
string mode = 7;
bool useLocalFirewall = 8; // 是否使用本地防火墙
bytes synFloodJSON = 9; // SYN Flood相关配置