方法列表
根据配置创建或修改规则集
admin
user
RPC
createOrUpdateHTTPFirewallRuleSetFromConfig (CreateOrUpdateHTTPFirewallRuleSetFromConfigRequest) returns (CreateOrUpdateHTTPFirewallRuleSetFromConfigResponse)
HTTP
POST /HTTPFirewallRuleSetService/createOrUpdateHTTPFirewallRuleSetFromConfig
输入对象:CreateOrUpdateHTTPFirewallRuleSetFromConfigRequest:
输出对象:CreateOrUpdateHTTPFirewallRuleSetFromConfigResponse:
设置开启状态
admin
user
RPC
updateHTTPFirewallRuleSetIsOn (UpdateHTTPFirewallRuleSetIsOnRequest) returns (RPCSuccess)
HTTP
POST /HTTPFirewallRuleSetService/updateHTTPFirewallRuleSetIsOn
输入对象:UpdateHTTPFirewallRuleSetIsOnRequest:
{ int64 firewallRuleSetId; // 是否启用 bool isOn; }
输出对象:RPCSuccess:
{ }
查找规则集配置
admin
user
RPC
findEnabledHTTPFirewallRuleSetConfig (FindEnabledHTTPFirewallRuleSetConfigRequest) returns (FindEnabledHTTPFirewallRuleSetConfigResponse)
HTTP
POST /HTTPFirewallRuleSetService/findEnabledHTTPFirewallRuleSetConfig
输入对象:FindEnabledHTTPFirewallRuleSetConfigRequest:
输出对象:FindEnabledHTTPFirewallRuleSetConfigResponse:
查找规则集信息
admin
user
RPC
findEnabledHTTPFirewallRuleSet (FindEnabledHTTPFirewallRuleSetRequest) returns (FindEnabledHTTPFirewallRuleSetResponse)
HTTP
POST /HTTPFirewallRuleSetService/findEnabledHTTPFirewallRuleSet
输入对象:FindEnabledHTTPFirewallRuleSetRequest:
输出对象:FindEnabledHTTPFirewallRuleSetResponse: