Skip to content

Commit cfa59e6

Browse files
authored
Add new fields for human and bot scores
1 parent fe9a637 commit cfa59e6

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

model/model.go

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,15 @@ type SecurityScore struct {
3131
MaliciousRecords *int
3232
SuspiciousRecords *int
3333
NoRecords *int
34+
HumanScore *int
35+
BotScore *int
36+
MainstreamBrowser *int
37+
OtherBrowser *int
38+
DesktopDevice *int
39+
MobileDevice *int
40+
OtherDevice *int
41+
MainstreamOS *int
42+
OtherOS *int
3443
}
3544

3645
type SecurityInfo struct {
@@ -76,6 +85,15 @@ var TranslationMap = map[string]string{
7685
"ASNAbuseScore": "ASN滥用得分(越低越好)",
7786
"CompannyAbuseScore": "公司滥用得分(越低越好)",
7887
"ThreatLevel": "威胁级别",
88+
"HumanScore": "真人占比(越高越好)",
89+
"BotScore": "机器占比(越低越好)",
90+
"MainstreamBrowser": "主流浏览器",
91+
"OtherBrowser": "其他浏览器",
92+
"DesktopDevice": "桌面设备",
93+
"MobileDevice": "移动设备",
94+
"OtherDevice": "其他设备",
95+
"MainstreamOS": "主流操作系统",
96+
"OtherOS": "其他操作系统",
7997
"UsageType": "使用类型",
8098
"CompanyType": "公司类型",
8199
"IsCloudProvider": "是否云提供商",

0 commit comments

Comments
 (0)