mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-12-25 19:56:37 +08:00
访问日志存储策略增加“停止默认数据库存储”选项
This commit is contained in:
@@ -4,12 +4,13 @@ option go_package = "./pb";
|
||||
package pb;
|
||||
|
||||
message HTTPAccessLogPolicy {
|
||||
int64 id = 1;
|
||||
string name = 2;
|
||||
bool isOn = 3;
|
||||
string type = 4;
|
||||
bytes optionsJSON = 5;
|
||||
bytes condsJSON = 6;
|
||||
bool isPublic = 7;
|
||||
bool firewallOnly = 8;
|
||||
int64 id = 1; // 策略ID
|
||||
string name = 2; // 策略名称
|
||||
bool isOn = 3; // 是否启用
|
||||
string type = 4; // 策略类型
|
||||
bytes optionsJSON = 5; // 策略选项
|
||||
bytes condsJSON = 6; // 记录条件选项
|
||||
bool isPublic = 7; // 是否公用
|
||||
bool firewallOnly = 8; // 是否只记录WAF相关访问日志
|
||||
bool disableDefaultDB = 9; // 停用默认数据库存储
|
||||
}
|
||||
@@ -54,6 +54,7 @@ message CreateHTTPAccessLogPolicyRequest {
|
||||
bytes condsJSON = 4;
|
||||
bool isPublic = 5;
|
||||
bool firewallOnly = 6;
|
||||
bool disableDefaultDB = 7;
|
||||
}
|
||||
|
||||
message CreateHTTPAccessLogPolicyResponse {
|
||||
@@ -69,6 +70,7 @@ message UpdateHTTPAccessLogPolicyRequest {
|
||||
bytes condsJSON = 5;
|
||||
bool isPublic = 6;
|
||||
bool firewallOnly = 7;
|
||||
bool disableDefaultDB = 8;
|
||||
}
|
||||
|
||||
// 查找单个访问日志策略
|
||||
|
||||
Reference in New Issue
Block a user