mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2026-04-25 07:25:18 +08:00
39 lines
1008 B
Protocol Buffer
39 lines
1008 B
Protocol Buffer
syntax = "proto3";
|
||
option go_package = "./pb";
|
||
|
||
package pb;
|
||
|
||
import "models/model_http_firewall_policy.proto";
|
||
import "models/model_http_firewall_rule_group.proto";
|
||
import "models/model_http_firewall_rule_set.proto";
|
||
import "models/model_server.proto";
|
||
|
||
message IPItem {
|
||
int64 id = 1;
|
||
string ipFrom = 2;
|
||
string ipTo = 3;
|
||
int64 version = 4;
|
||
int64 expiredAt = 5;
|
||
string reason = 6;
|
||
int64 listId = 7;
|
||
bool isDeleted = 8;
|
||
string type = 9;
|
||
string eventLevel = 10; // 级别
|
||
string listType = 11; // 所在名单类型,加此字段是为了快速定位IP的性质
|
||
int64 createdAt = 12;
|
||
|
||
int64 nodeId = 13;
|
||
int64 serverId = 14;
|
||
|
||
int64 sourceNodeId = 15;
|
||
int64 sourceServerId = 16;
|
||
int64 sourceHTTPFirewallPolicyId = 17;
|
||
int64 sourceHTTPFirewallRuleGroupId = 18;
|
||
int64 sourceHTTPFirewallRuleSetId = 19;
|
||
|
||
|
||
Server sourceServer = 30;
|
||
HTTPFirewallPolicy sourceHTTPFirewallPolicy = 31;
|
||
HTTPFirewallRuleGroup sourceHTTPFirewallRuleGroup = 32;
|
||
HTTPFirewallRuleSet sourceHTTPFirewallRuleSet = 33;
|
||
} |