From 0d6a14963bd2c56f0bf1117dd8e510ae56056d9d Mon Sep 17 00:00:00 2001 From: zhangxiaolong Date: Mon, 14 Mar 2022 14:53:02 +0800 Subject: [PATCH] =?UTF-8?q?CN-383=20feat=20:=20Detection=E7=95=8C=E9=9D=A2?= =?UTF-8?q?=E8=A1=A5=E5=85=85=E4=BA=8B=E4=BB=B6=E6=8F=8F=E8=BF=B0=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=20=E5=88=9D=E6=AD=A5=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../DetectionPerformanceEventAppOverview.vue | 35 +- ...etectionPerformanceEventDomainOverview.vue | 37 +- .../DetectionPerformanceEventIpOverview.vue | 35 +- .../DetectionSecurityEventOverview.vue | 360 ++++++++++++------ 4 files changed, 351 insertions(+), 116 deletions(-) diff --git a/src/views/detections/overview/DetectionPerformanceEventAppOverview.vue b/src/views/detections/overview/DetectionPerformanceEventAppOverview.vue index 603916cd..afc887c4 100644 --- a/src/views/detections/overview/DetectionPerformanceEventAppOverview.vue +++ b/src/views/detections/overview/DetectionPerformanceEventAppOverview.vue @@ -3,7 +3,28 @@
{{$t('overall.remark')}}
-
{{basicInfo.malwareDescription || '-'}}
+
+ {{ detection.app_name }} + + + +
Fields
@@ -89,7 +110,17 @@ export default { reject(e) } }) - } + }, + goDetail(type, name) { + const { href } = this.$router.resolve({ + path: '/entityDetail', + query: { + entityType: type, + name: name, + }, + }) + window.open(href, '_blank') + }, }, mounted () { this.query() diff --git a/src/views/detections/overview/DetectionPerformanceEventDomainOverview.vue b/src/views/detections/overview/DetectionPerformanceEventDomainOverview.vue index d9ae5af8..e61f8d94 100644 --- a/src/views/detections/overview/DetectionPerformanceEventDomainOverview.vue +++ b/src/views/detections/overview/DetectionPerformanceEventDomainOverview.vue @@ -3,7 +3,28 @@
{{$t('overall.remark')}}
-
{{basicInfo.malwareDescription || '-'}}
+
+ {{ detection.domain }} + + + +
Fields
@@ -78,7 +99,7 @@ export default { methods: { query () { this.queryBasic().then(responses => { - responses && (this.basicInfo = responses) + responses && (this.basicInfo = responses) }) }, queryBasic () { @@ -93,7 +114,17 @@ export default { reject(e) } }) - } + }, + goDetail(type, name) { + const { href } = this.$router.resolve({ + path: '/entityDetail', + query: { + entityType: type, + name: name, + }, + }) + window.open(href, '_blank') + }, }, mounted () { this.query() diff --git a/src/views/detections/overview/DetectionPerformanceEventIpOverview.vue b/src/views/detections/overview/DetectionPerformanceEventIpOverview.vue index 5f4a2b08..004f1837 100644 --- a/src/views/detections/overview/DetectionPerformanceEventIpOverview.vue +++ b/src/views/detections/overview/DetectionPerformanceEventIpOverview.vue @@ -3,7 +3,28 @@
{{$t('overall.remark')}}
-
{{basicInfo.malwareDescription || '-'}}
+
+ {{ detection.server_ip }} + + + +
Fields
@@ -81,7 +102,17 @@ export default { reject(e) } }) - } + }, + goDetail(type, name) { + const { href } = this.$router.resolve({ + path: '/entityDetail', + query: { + entityType: type, + name: name, + }, + }) + window.open(href, '_blank') + }, }, mounted () { this.query() diff --git a/src/views/detections/overview/DetectionSecurityEventOverview.vue b/src/views/detections/overview/DetectionSecurityEventOverview.vue index 610cb1be..a4726b86 100644 --- a/src/views/detections/overview/DetectionSecurityEventOverview.vue +++ b/src/views/detections/overview/DetectionSecurityEventOverview.vue @@ -1,132 +1,226 @@