Files
EdgeCommon/pkg/rpc/protos/models/model_http_firewall_policy.proto

22 lines
731 B
Protocol Buffer
Raw Normal View History

2020-09-20 20:12:53 +08:00
syntax = "proto3";
option go_package = "./pb";
package pb;
// WAF策略
2020-09-20 20:12:53 +08:00
message HTTPFirewallPolicy {
int64 id = 1; // 策略ID
string name = 2; // 名称
string mode = 7; // 模式
bool isOn = 3; // 是否启用
string description = 4; // 描述
bytes inboundJSON = 5; // 入站配置
bytes outboundJSON = 6; // 出站配置
int64 serverId = 8; // 所属网站ID如果为0表示公共策略
bool useLocalFirewall = 9; // 是否使用本机防火墙
bytes synFloodJSON = 10; // synflood配置
bytes blockOptionsJSON = 11; // 阻止动作配置
bytes pageOptionsJSON = 13; // 显示网页动作配置
bytes captchaOptionsJSON = 12; // 人机识别配置
2024-04-07 14:21:29 +08:00
bytes jsCookieOptionsJSON = 14; // JSCookie动作配置
2020-09-20 20:12:53 +08:00
}