perf: Remove account_deleted, password_error, no_admin_account others risk

This commit is contained in:
w940853815
2025-03-12 15:47:47 +08:00
committed by w940853815
parent 727b5c3268
commit 22cef8ef10
2 changed files with 3 additions and 24 deletions

View File

@@ -222,7 +222,7 @@ export const accountQuickFilters = (vm) => [
}
},
{
label: vm.$t('UnmanagedAccount'),
label: vm.$t('AddAccount'),
filter: {
risk: 'new_found'
}

View File

@@ -27,14 +27,11 @@ export default {
total_group_changed_accounts: '.',
total_sudo_changed_accounts: '.',
total_authorized_keys_changed_accounts: '.',
total_account_deleted_accounts: '.',
total_password_expired_accounts: '.',
total_long_time_password_accounts: '.',
total_weak_password_accounts: '.',
total_leaked_password_accounts: '.',
total_repeated_password_accounts: '.',
total_password_error_accounts: '.',
total_no_admin_account_accounts: '.'
total_repeated_password_accounts: '.'
},
chart: null
}
@@ -67,11 +64,6 @@ export default {
name: this.$t('AuthorizedKeysChanged'),
value: this.counter.total_authorized_keys_changed_accounts
},
{
description: 'account_deleted',
name: this.$t('AccountDeleted'),
value: this.counter.total_account_deleted_accounts
},
{
description: 'password_expired',
name: this.$t('PasswordExpired'),
@@ -96,16 +88,6 @@ export default {
description: 'repeated_password',
name: this.$t('RepeatedPassword'),
value: this.counter.total_repeated_password_accounts
},
{
description: 'password_error',
name: this.$t('PasswordError'),
value: this.counter.total_password_error_accounts
},
{
description: 'no_admin_account',
name: this.$t('NoAdminAccount'),
value: this.counter.total_no_admin_account_accounts
}
]
@@ -225,14 +207,11 @@ export default {
total_group_changed_accounts: 1,
total_sudo_changed_accounts: 1,
total_authorized_keys_changed_accounts: 1,
total_account_deleted_accounts: 1,
total_password_expired_accounts: 1,
total_long_time_password_accounts: 1,
total_weak_password_accounts: 1,
total_leaked_password_accounts: 1,
total_repeated_password_accounts: 1,
total_password_error_accounts: 1,
total_no_admin_account_accounts: 1
total_repeated_password_accounts: 1
}
})
},