mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-12-29 06:16:40 +08:00
支持Server自定义WAF策略、改进节点版本号等等
This commit is contained in:
@@ -13,6 +13,9 @@ service HTTPFirewallPolicyService {
|
||||
// 创建防火墙策略
|
||||
rpc createHTTPFirewallPolicy (CreateHTTPFirewallPolicyRequest) returns (CreateHTTPFirewallPolicyResponse);
|
||||
|
||||
// 创建空防火墙策略
|
||||
rpc createEmptyHTTPFirewallPolicy (CreateEmptyHTTPFirewallPolicyRequest) returns (CreateEmptyHTTPFirewallPolicyResponse);
|
||||
|
||||
// 修改防火墙策略
|
||||
rpc updateHTTPFirewallPolicy (UpdateHTTPFirewallPolicyRequest) returns (RPCSuccess);
|
||||
|
||||
@@ -62,6 +65,17 @@ message CreateHTTPFirewallPolicyResponse {
|
||||
int64 httpFirewallPolicyId = 1;
|
||||
}
|
||||
|
||||
// 创建空防火墙策略
|
||||
message CreateEmptyHTTPFirewallPolicyRequest {
|
||||
bool isOn = 1;
|
||||
string name = 2;
|
||||
string description = 3;
|
||||
}
|
||||
|
||||
message CreateEmptyHTTPFirewallPolicyResponse {
|
||||
int64 httpFirewallPolicyId = 1;
|
||||
}
|
||||
|
||||
// 修改防火墙策略
|
||||
message UpdateHTTPFirewallPolicyRequest {
|
||||
int64 httpFirewallPolicyId = 1;
|
||||
|
||||
Reference in New Issue
Block a user