实现数据看板--WAF

This commit is contained in:
刘祥超
2021-07-12 16:57:02 +08:00
parent 877d42a271
commit ff6d8d9ba3
9 changed files with 394 additions and 6 deletions

View File

@@ -11,12 +11,12 @@ import (
"time"
)
// WAF统计
// ServerHTTPFirewallDailyStatService WAF统计
type ServerHTTPFirewallDailyStatService struct {
BaseService
}
// 组合Dashboard
// ComposeServerHTTPFirewallDashboard 组合Dashboard
func (this *ServerHTTPFirewallDailyStatService) ComposeServerHTTPFirewallDashboard(ctx context.Context, req *pb.ComposeServerHTTPFirewallDashboardRequest) (*pb.ComposeServerHTTPFirewallDashboardResponse, error) {
_, userId, err := this.ValidateAdminAndUser(ctx, 0, 0)
if err != nil {