商业版WAF看板增加地图

This commit is contained in:
刘祥超
2021-12-05 19:38:23 +08:00
parent effd44c53b
commit b2af030559
4 changed files with 362 additions and 201 deletions

View File

@@ -31,6 +31,7 @@ message ComposeFirewallGlobalBoardResponse {
repeated HourlyStat hourlyStats = 32;
repeated NodeStat topNodeStats = 33;
repeated DomainStat topDomainStats = 34;
repeated CountryStat topCountryStats = 35;
message HTTPFirewallRuleGroupStat {
HTTPFirewallRuleGroup httpFirewallRuleGroup = 1;
@@ -68,6 +69,15 @@ message ComposeFirewallGlobalBoardResponse {
int64 countAttackRequests = 6;
int64 attackBytes = 7;
}
message CountryStat {
string countryName = 1;
int64 bytes = 2;
int64 countRequests = 3;
float percent = 4; // 流量占比
int64 countAttackRequests = 6;
int64 attackBytes = 7;
}
}
// 发送告警(notify)消息