Files
EdgeCommon/pkg/rpc/protos/models/model_ip_item.proto

45 lines
1.1 KiB
Protocol Buffer
Raw Normal View History

2020-11-07 19:40:32 +08:00
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";
2022-01-10 19:54:18 +08:00
import "models/model_node.proto";
2020-11-07 19:40:32 +08:00
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; // 级别
2021-11-17 16:15:01 +08:00
string listType = 11; // 所在名单类型,来自名单
bool isGlobal = 20; // 是否全局,来自名单
2021-11-15 11:31:20 +08:00
int64 createdAt = 12;
int64 nodeId = 13;
int64 serverId = 14;
int64 sourceNodeId = 15;
int64 sourceServerId = 16;
int64 sourceHTTPFirewallPolicyId = 17;
int64 sourceHTTPFirewallRuleGroupId = 18;
int64 sourceHTTPFirewallRuleSetId = 19;
2022-01-08 16:48:01 +08:00
bool isRead = 21;
Server sourceServer = 30;
2021-11-17 19:51:04 +08:00
Server server = 34;
HTTPFirewallPolicy sourceHTTPFirewallPolicy = 31;
HTTPFirewallRuleGroup sourceHTTPFirewallRuleGroup = 32;
HTTPFirewallRuleSet sourceHTTPFirewallRuleSet = 33;
2022-01-10 19:54:18 +08:00
Node sourceNode = 35;
2020-11-07 19:40:32 +08:00
}