WAF看板增加节点拦截排行和域名拦截排行

This commit is contained in:
GoEdgeLab
2021-10-09 16:01:42 +08:00
parent f54c3b0477
commit cdfc43755c
2 changed files with 321 additions and 46 deletions

View File

@@ -29,6 +29,8 @@ message ComposeFirewallGlobalBoardResponse {
repeated HTTPFirewallRuleGroupStat httpFirewallRuleGroups = 30;
repeated DailyStat dailyStats = 31;
repeated HourlyStat hourlyStats = 32;
repeated NodeStat topNodeStats = 33;
repeated DomainStat topDomainStats = 34;
message HTTPFirewallRuleGroupStat {
HTTPFirewallRuleGroup httpFirewallRuleGroup = 1;
@@ -48,6 +50,24 @@ message ComposeFirewallGlobalBoardResponse {
int64 countCaptcha = 3;
int64 countBlocks = 4;
}
message NodeStat {
int64 nodeId = 1;
string nodeName = 2;
int64 countRequests = 3;
int64 bytes = 4;
int64 countAttackRequests = 6;
int64 attackBytes = 7;
}
message DomainStat {
int64 serverId = 1;
string domain = 2;
int64 countRequests = 3;
int64 bytes = 4;
int64 countAttackRequests = 6;
int64 attackBytes = 7;
}
}
// 发送告警(notify)消息