主分支代码
This commit is contained in:
@@ -13,4 +13,5 @@ message HTTPAccessLogPolicy {
|
||||
bool isPublic = 7; // 是否公用
|
||||
bool firewallOnly = 8; // 是否只记录WAF相关访问日志
|
||||
bool disableDefaultDB = 9; // 停用默认数据库存储
|
||||
bytes writeTargetsJSON = 10; // 写入目标 JSON: {"file":true,"mysql":true,"clickhouse":false}
|
||||
}
|
||||
@@ -55,6 +55,7 @@ message CreateHTTPAccessLogPolicyRequest {
|
||||
bool isPublic = 5;
|
||||
bool firewallOnly = 6;
|
||||
bool disableDefaultDB = 7;
|
||||
bytes writeTargetsJSON = 8;
|
||||
}
|
||||
|
||||
message CreateHTTPAccessLogPolicyResponse {
|
||||
@@ -65,12 +66,14 @@ message CreateHTTPAccessLogPolicyResponse {
|
||||
message UpdateHTTPAccessLogPolicyRequest {
|
||||
int64 httpAccessLogPolicyId = 1;
|
||||
string name = 2;
|
||||
string type = 10; // 存储类型:file / es / tcp / syslog / command
|
||||
bool isOn = 3;
|
||||
bytes optionsJSON = 4;
|
||||
bytes condsJSON = 5;
|
||||
bool isPublic = 6;
|
||||
bool firewallOnly = 7;
|
||||
bool disableDefaultDB = 8;
|
||||
bytes writeTargetsJSON = 9;
|
||||
}
|
||||
|
||||
// 查找单个访问日志策略
|
||||
|
||||
Reference in New Issue
Block a user