Add HumanPercent and BotPercent fields

This commit is contained in:
spiritlhl
2025-11-12 11:34:19 +08:00
committed by GitHub
parent 7c17d3a111
commit d1bd439f53

View File

@@ -24,6 +24,8 @@ type SecurityScore struct {
CommunityVoteHarmless *int CommunityVoteHarmless *int
CommunityVoteMalicious *int CommunityVoteMalicious *int
CloudFlareRisk *int // 还没有加入 CloudFlareRisk *int // 还没有加入
HumanPercent *int
BotPercent *int
ThreatScore *int ThreatScore *int
FraudScore *int FraudScore *int
AbuseScore *int AbuseScore *int
@@ -31,8 +33,6 @@ type SecurityScore struct {
MaliciousRecords *int MaliciousRecords *int
SuspiciousRecords *int SuspiciousRecords *int
NoRecords *int NoRecords *int
HumanScore *int
BotScore *int
} }
type SecurityInfo struct { type SecurityInfo struct {
@@ -81,10 +81,12 @@ var TranslationMap = map[string]string{
"ASNAbuseScore": "ASN滥用得分(越低越好)", "ASNAbuseScore": "ASN滥用得分(越低越好)",
"CompannyAbuseScore": "公司滥用得分(越低越好)", "CompannyAbuseScore": "公司滥用得分(越低越好)",
"ThreatLevel": "威胁级别", "ThreatLevel": "威胁级别",
"HumanScore": "真人占比(越高越好)", "HumanPercent": "流量占比",
"BotScore": "机器占比(越低越好)",
"UsageType": "使用类型", "UsageType": "使用类型",
"CompanyType": "公司类型", "CompanyType": "公司类型",
"BrowserType": "浏览器类型",
"DeviceType": "设备类型",
"OSType": "操作系统类型",
"IsCloudProvider": "是否云提供商", "IsCloudProvider": "是否云提供商",
"IsDatacenter": "是否数据中心", "IsDatacenter": "是否数据中心",
"IsMobile": "是否移动设备", "IsMobile": "是否移动设备",