using System.Collections.Generic; namespace TEAMModelOS.SDK.Models.Cosmos.BI { /// /// 防火墙网关信息 /// public record RecAppGWInfo { public string hour { get; set; } public string ip { get; set; } public string api { get; set; } public string hostName { get; set; } public string minute { get; set; } } /// /// 防火墙统计后的信息 /// public record RecCnt { public List apiCnt { get; set; } public List ipCnt { get; set; } public List minCnts { get; set; } public List regionCnts { get; set; } } /// /// 防火墙统计通用信息 /// public record RecCntBas { public int count { get; set; } public string hour { get; set; } public List hostName { get; set; } } /// /// 防火墙按照IP统计 /// public record RecIpCnt : RecCntBas { public string ip { get; set; } public List api { get; set; } } /// /// 防火墙按照接口统计 /// public record RecApiCnt : RecCntBas { public string api { get; set; } public List ip { get; set; } } /// /// 防火墙按照地区统计 /// public record RecRegionCnt : RecCntBas { public string region { get; set; } } /// /// 分钟数统计接口数量 /// public record MinuteCnt { public string minute { get; set; } public int cnt { get; set; } } /// /// 读取日志数据结构 /// public record AGInfo { //public string resourceId { get; set; } public string operationName { get; set; } public string time { get; set; } public string category { get; set; } public PropertiesWeb properties { get; set; } public string resourceId { get; set; } } /// /// 读取日志数据结构 /// public record Properties { //public string instanceId { get; set; } public string clientIp { get; set; } public string clientPort { get; set; } public string requestUri { get; set; } public string ruleSetType { get; set; } public string ruleSetVersion { get; set; } public string ruleId { get; set; } public string ruleGroup { get; set; } //public string message { get; set; } public string action { get; set; } public string site { get; set; } //public Datails datails { get; set; } public string hostname { get; set; } public string transactionId { get; set; } } public record PropertiesWeb { /// /// /// public string CsMethod { get; set; } /// /// /// public string CsUriStem { get; set; } /// /// /// public string SPort { get; set; } /// /// /// public string CIp { get; set; } /// /// /// public string UserAgent { get; set; } /// /// /// public string CsHost { get; set; } /// /// /// public int ScStatus { get; set; } /// /// /// public int ScBytes { get; set; } /// /// /// public int CsBytes { get; set; } /// /// /// public int TimeTaken { get; set; } /// /// /// public string Result { get; set; } /// /// /// public string Cookie { get; set; } /// /// /// public string CsUriQuery { get; set; } /// /// /// /// /// /// public string Referer { get; set; } /// /// /// } }