-
{{$t('entities.Group')}}:
+
{{$t('entities.group')}}:
{{d.categoryGroup || '-'}}
diff --git a/src/router/index.js b/src/router/index.js
index 999a3a18..16977cbc 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -39,7 +39,7 @@ const routes = [
component: () => import('@/views/entityExplorer/EntityExplorer')
},
{
- path: '/detections',
+ path: '/detection/:typeName',
component: () => import('@/views/detections/Index')
},
{
diff --git a/src/utils/api.js b/src/utils/api.js
index d9611aee..1790eaf1 100644
--- a/src/utils/api.js
+++ b/src/utils/api.js
@@ -74,16 +74,28 @@ export const api = {
entityIpRelatedServerDomain: '/interface/entity/detail/overview/ip/relatedDomain',
entityIpRelatedServerApp: '/interface/entity/detail/overview/ip/relatedApp',
// detection
- detectionSeverityTrend: '/interface/detection/filter/severityTrend',
- detectionAttackType: '/interface/detection/filter/attackType',
- detectionOffenderIp: '/interface/detection/filter/offenderIp',
- detectionOffenderLocation: '/interface/detection/filter/offenderLocation',
- detectionVictimIp: '/interface/detection/filter/victimIp',
- detectionVictimLocation: '/interface/detection/filter/victimLocation',
- detectionSeverity: '/interface/detection/filter/severity',
- detectionListBasic: '/interface/detection/list/basic',
- detectionOverviewBasic: '/interface/detection/detail/overview/basic',
- detectionOverviewEvent: '/interface/detection/detail/overview/event'
+ detection: {
+ securityEvent: {
+ eventSeverityTrend: '/interface/detection/filter/severityTrend',
+ securityType: '/interface/detection/filter/attackType',
+ offenderIp: '/interface/detection/filter/offenderIp',
+ offenderLocation: '/interface/detection/filter/offenderLocation',
+ victimIp: '/interface/detection/filter/victimIp',
+ victimLocation: '/interface/detection/filter/victimLocation',
+ eventSeverity: '/interface/detection/filter/severity',
+ listBasic: '/interface/detection/list/basic',
+ overviewBasic: '/interface/detection/detail/overview/basic',
+ overviewEvent: '/interface/detection/detail/overview/event'
+ },
+ performanceEvent: {
+ eventSeverityTrend: '/interface/detection/filter/severityTrend',
+ securityType: '/interface/detection/filter/attackType',
+ eventSeverity: '/interface/detection/filter/severity',
+ activeEntity: '/interface/detection/filter/activeEntity',
+ listBasic: '/interface/detection/list/basic',
+ overviewBasic: '/interface/detection/detail/overview/basic'
+ }
+ }
}
/* panel */
diff --git a/src/utils/constants.js b/src/utils/constants.js
index ecc6f0f2..97dd5ef9 100644
--- a/src/utils/constants.js
+++ b/src/utils/constants.js
@@ -165,6 +165,11 @@ export const securityType = {
dga: 'dga',
ddos: 'ddos'
}
+export const detectionPageType = {
+ securityEvent: 'securityEvent',
+ performanceEvent: 'performanceEvent'
+}
+
export const iso36112 = {
[storageKey.iso36112Capital]: 'data/countriesWithCapital',
[storageKey.iso36112WorldLow]: 'worldChinaLow',
diff --git a/src/views/detections/DetectionList.vue b/src/views/detections/DetectionList.vue
index f41441cc..e09eb1a9 100644
--- a/src/views/detections/DetectionList.vue
+++ b/src/views/detections/DetectionList.vue
@@ -10,6 +10,7 @@