fix: 去掉假数据

This commit is contained in:
chenjinsong
2022-02-28 11:53:37 +08:00
parent e63631827a
commit e812a2db2a
7 changed files with 173 additions and 168 deletions

View File

@@ -179,106 +179,106 @@ export default {
getMillisecond,
query () {
this.basicInfo = {
"eventId": 1212,
"offenderIp": "112.2.2.3",
"offenderLocationCountry": "China",
"offenderLocationProvince": "Hebei",
"offenderLocationRegion": "Xingtai",
"offenderAsn": "hehe",
"victimIp": "2.2.2.2",
"victimLocationCountry": "China",
"victimLocationProvince": "Hebei",
"victimLocationRegion": "Xingtai",
"victimAsn": "hehe",
"domain": "5aibj.com",
"domainCategoryName": "bbs",
"domainCategoryGroup": "hehe",
"domainReputationLevel": "high",
"appName": "express vpn",
"appCategory": "vpn",
"appSubcategory": "foreign vpn",
"appRisk": "critical",
"cryptominingPool": "btcP",
"cryptominingCoinType": "btc",
"cryptominingSoftware": "a",
"malwareName": "gtw",
"malwareAlias": "gt",
"malwareDescription": "this is description,this is description,this is description,this is description,this is description,this is description,this is description,this is description,this is description,this is description,",
"malwarePlatforms": "windows",
"malwareTechniques": "Audio captures",
"malwareGroups": "Silver terrier",
"startTime": 1645417930
eventId: 1212,
offenderIp: '112.2.2.3',
offenderLocationCountry: 'China',
offenderLocationProvince: 'Hebei',
offenderLocationRegion: 'Xingtai',
offenderAsn: 'hehe',
victimIp: '2.2.2.2',
victimLocationCountry: 'China',
victimLocationProvince: 'Hebei',
victimLocationRegion: 'Xingtai',
victimAsn: 'hehe',
domain: '5aibj.com',
domainCategoryName: 'bbs',
domainCategoryGroup: 'hehe',
domainReputationLevel: 'high',
appName: 'express vpn',
appCategory: 'vpn',
appSubcategory: 'foreign vpn',
appRisk: 'critical',
cryptominingPool: 'btcP',
cryptominingCoinType: 'btc',
cryptominingSoftware: 'a',
malwareName: 'gtw',
malwareAlias: 'gt',
malwareDescription: 'this is description,this is description,this is description,this is description,this is description,this is description,this is description,this is description,this is description,this is description,',
malwarePlatforms: 'windows',
malwareTechniques: 'Audio captures',
malwareGroups: 'Silver terrier',
startTime: 1645417930
}
this.events = [
{
"eventSeverity": "high",
"securityType": "command and control",
"offenderIp": "2.2.2.2",
"victimIp": "2.2.2.3",
"startTime": 1645307930
eventSeverity: 'high',
securityType: 'command and control',
offenderIp: '2.2.2.2',
victimIp: '2.2.2.3',
startTime: 1645307930
},
{
"eventSeverity": "critical",
"securityType": "command and control",
"offenderIp": "2.2.2.2",
"victimIp": "112.2.2.3",
"startTime": 1645317930
eventSeverity: 'critical',
securityType: 'command and control',
offenderIp: '2.2.2.2',
victimIp: '112.2.2.3',
startTime: 1645317930
},
{
"eventSeverity": "high",
"securityType": "command and control",
"offenderIp": "2.2.2.2",
"victimIp": "2.2.2.3",
"startTime": 1645327930
eventSeverity: 'high',
securityType: 'command and control',
offenderIp: '2.2.2.2',
victimIp: '2.2.2.3',
startTime: 1645327930
},
{
"eventSeverity": "high",
"securityType": "command and control",
"offenderIp": "2.2.2.2",
"victimIp": "2.2.2.3",
"startTime": 1645337930
eventSeverity: 'high',
securityType: 'command and control',
offenderIp: '2.2.2.2',
victimIp: '2.2.2.3',
startTime: 1645337930
},
{
"eventSeverity": "high",
"securityType": "command and control",
"offenderIp": "2.2.2.2",
"victimIp": "2.2.2.3",
"startTime": 1645347930
eventSeverity: 'high',
securityType: 'command and control',
offenderIp: '2.2.2.2',
victimIp: '2.2.2.3',
startTime: 1645347930
},
{
"eventSeverity": "high",
"securityType": "command and control",
"offenderIp": "2.2.2.2",
"victimIp": "2.2.2.3",
"startTime": 1645357930
eventSeverity: 'high',
securityType: 'command and control',
offenderIp: '2.2.2.2',
victimIp: '2.2.2.3',
startTime: 1645357930
},
{
"eventSeverity": "high",
"securityType": "command and control",
"offenderIp": "2.2.2.2",
"victimIp": "2.2.2.3",
"startTime": 1645367930
eventSeverity: 'high',
securityType: 'command and control',
offenderIp: '2.2.2.2',
victimIp: '2.2.2.3',
startTime: 1645367930
},
{
"eventSeverity": "high",
"securityType": "command and control",
"offenderIp": "2.2.2.2",
"victimIp": "2.2.2.3",
"startTime": 1645397930
eventSeverity: 'high',
securityType: 'command and control',
offenderIp: '2.2.2.2',
victimIp: '2.2.2.3',
startTime: 1645397930
},
{
"eventSeverity": "high",
"securityType": "command and control",
"offenderIp": "2.2.2.2",
"victimIp": "2.2.2.3",
"startTime": 1645407930
eventSeverity: 'high',
securityType: 'command and control',
offenderIp: '2.2.2.2',
victimIp: '2.2.2.3',
startTime: 1645407930
},
{
"eventSeverity": "high",
"securityType": "command and control",
"offenderIp": "2.2.2.2",
"victimIp": "2.2.2.3",
"startTime": 1645417930
eventSeverity: 'high',
securityType: 'command and control',
offenderIp: '2.2.2.2',
victimIp: '2.2.2.3',
startTime: 1645417930
}
]
Promise.all([this.queryBasic(), this.queryEvent()]).then(responses => {