diff --git a/src/router/pam/security.js b/src/router/pam/security.js
index 74e900fb2..c5b752804 100644
--- a/src/router/pam/security.js
+++ b/src/router/pam/security.js
@@ -119,6 +119,16 @@ export default [
title: i18n.t('AccountCheckUpdate'),
permissions: ['accounts.view_accountrisk']
}
+ },
+ {
+ path: ':id',
+ component: () => import('@/views/pam/RiskDetect/AccountCheckDetail/index.vue'),
+ name: 'AccountCheckDetail',
+ meta: {
+ title: i18n.t('RiskDetectionDetail'),
+ permissions: ['accounts.view_accountrisk']
+ },
+ hidden: true
}
]
}
diff --git a/src/views/accounts/AccountBackup/Executions/AccountBackupExecutionList.vue b/src/views/accounts/AccountBackup/Executions/AccountBackupExecutionList.vue
index 188fd6c18..af372ebd8 100644
--- a/src/views/accounts/AccountBackup/Executions/AccountBackupExecutionList.vue
+++ b/src/views/accounts/AccountBackup/Executions/AccountBackupExecutionList.vue
@@ -51,7 +51,7 @@ export default {
name: 'AccountBackupExecutionDetail',
params: { id: row.id }
}),
- getTitle: ({ row }) => row['short_id'],
+ getTitle: ({ row }) => row.automation.slice(0, 8),
drawer: true,
can: this.$hasPerm('accounts.view_backupaccountexecution')
}
@@ -60,6 +60,7 @@ export default {
label: this.$t('DisplayName'),
formatter: DetailFormatter,
formatterArgs: {
+ drawer: true,
getTitle: ({ row }) => row.snapshot.name,
getRoute: ({ row }) => ({
name: 'AccountBackupDetail',
diff --git a/src/views/accounts/AccountChangeSecret/Executions/AccountChangeSecretExecutionList.vue b/src/views/accounts/AccountChangeSecret/Executions/AccountChangeSecretExecutionList.vue
index e95cf7405..13686a7d2 100644
--- a/src/views/accounts/AccountChangeSecret/Executions/AccountChangeSecretExecutionList.vue
+++ b/src/views/accounts/AccountChangeSecret/Executions/AccountChangeSecretExecutionList.vue
@@ -44,7 +44,7 @@ export default {
name: 'AccountChangeSecretExecutionDetail',
params: { id: row.id }
}),
- getTitle: ({ row }) => row['short_id'],
+ getTitle: ({ row }) => row.automation.slice(0, 8),
drawer: true,
can: this.$hasPerm('accounts.view_changesecretexecution')
}
diff --git a/src/views/accounts/AccountDiscover/TaskExecutionList.vue b/src/views/accounts/AccountDiscover/TaskExecutionList.vue
index 09c483874..1a82d9e88 100644
--- a/src/views/accounts/AccountDiscover/TaskExecutionList.vue
+++ b/src/views/accounts/AccountDiscover/TaskExecutionList.vue
@@ -51,7 +51,7 @@ export default {
name: 'AccountDiscoverExecutionDetail',
params: { id: row.id }
}),
- getTitle: ({ row }) => row['short_id'],
+ getTitle: ({ row }) => row.automation.slice(0, 8),
drawer: true
}
},
@@ -70,8 +70,7 @@ export default {
getTitle: ({ row }) => row.snapshot.name,
getRoute: ({ row }) => ({
name: 'AccountDiscoverTaskDetail',
- params: { id: row.automation },
- query: { type: 'pam' }
+ params: { id: row.automation }
}),
drawer: true
},
diff --git a/src/views/accounts/AccountPush/AccountPushExecutionList.vue b/src/views/accounts/AccountPush/AccountPushExecutionList.vue
index c10ffcdec..31e25ebc4 100644
--- a/src/views/accounts/AccountPush/AccountPushExecutionList.vue
+++ b/src/views/accounts/AccountPush/AccountPushExecutionList.vue
@@ -50,7 +50,7 @@ export default {
name: 'AccountPushExecutionDetail',
params: { id: row.id }
}),
- getTitle: ({ row }) => row['short_id'],
+ getTitle: ({ row }) => row.automation.slice(0, 8),
drawer: true,
can: this.$hasPerm('accounts.view_pushaccountexecution')
}
diff --git a/src/views/accounts/AccountPush/ExecutionDetail/AccountPushRecord.vue b/src/views/accounts/AccountPush/ExecutionDetail/AccountPushRecord.vue
index cbdd00f34..641bab64b 100644
--- a/src/views/accounts/AccountPush/ExecutionDetail/AccountPushRecord.vue
+++ b/src/views/accounts/AccountPush/ExecutionDetail/AccountPushRecord.vue
@@ -41,6 +41,7 @@ export default {
label: this.$t('Asset'),
formatter: DetailFormatter,
formatterArgs: {
+ drawer: true,
can: this.$hasPerm('assets.view_asset'),
getTitle({ row }) {
return row.asset.name
@@ -57,6 +58,7 @@ export default {
label: this.$t('Username'),
formatter: DetailFormatter,
formatterArgs: {
+ drawer: true,
can: this.$hasPerm('accounts.view_account'),
getTitle({ row }) {
return row.account.username
diff --git a/src/views/pam/Integration/ApplicationList.vue b/src/views/pam/Integration/ApplicationList.vue
index 7c7d23b0e..1c60b28be 100644
--- a/src/views/pam/Integration/ApplicationList.vue
+++ b/src/views/pam/Integration/ApplicationList.vue
@@ -7,7 +7,7 @@
-
-
diff --git a/src/views/pam/RiskDetect/AccountCheckDetail/Detail.vue b/src/views/pam/RiskDetect/AccountCheckDetail/Detail.vue
new file mode 100644
index 000000000..a44ef87e8
--- /dev/null
+++ b/src/views/pam/RiskDetect/AccountCheckDetail/Detail.vue
@@ -0,0 +1,65 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/pam/RiskDetect/AccountCheckDetail/index.vue b/src/views/pam/RiskDetect/AccountCheckDetail/index.vue
index 208c0683f..1e6629853 100644
--- a/src/views/pam/RiskDetect/AccountCheckDetail/index.vue
+++ b/src/views/pam/RiskDetect/AccountCheckDetail/index.vue
@@ -8,25 +8,24 @@