mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-26 15:07:04 +00:00
perf: Remove account_deleted, password_error, no_admin_account others risk
This commit is contained in:
@@ -222,7 +222,7 @@ export const accountQuickFilters = (vm) => [
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: vm.$t('UnmanagedAccount'),
|
label: vm.$t('AddAccount'),
|
||||||
filter: {
|
filter: {
|
||||||
risk: 'new_found'
|
risk: 'new_found'
|
||||||
}
|
}
|
||||||
|
@@ -27,14 +27,11 @@ export default {
|
|||||||
total_group_changed_accounts: '.',
|
total_group_changed_accounts: '.',
|
||||||
total_sudo_changed_accounts: '.',
|
total_sudo_changed_accounts: '.',
|
||||||
total_authorized_keys_changed_accounts: '.',
|
total_authorized_keys_changed_accounts: '.',
|
||||||
total_account_deleted_accounts: '.',
|
|
||||||
total_password_expired_accounts: '.',
|
total_password_expired_accounts: '.',
|
||||||
total_long_time_password_accounts: '.',
|
total_long_time_password_accounts: '.',
|
||||||
total_weak_password_accounts: '.',
|
total_weak_password_accounts: '.',
|
||||||
total_leaked_password_accounts: '.',
|
total_leaked_password_accounts: '.',
|
||||||
total_repeated_password_accounts: '.',
|
total_repeated_password_accounts: '.'
|
||||||
total_password_error_accounts: '.',
|
|
||||||
total_no_admin_account_accounts: '.'
|
|
||||||
},
|
},
|
||||||
chart: null
|
chart: null
|
||||||
}
|
}
|
||||||
@@ -67,11 +64,6 @@ export default {
|
|||||||
name: this.$t('AuthorizedKeysChanged'),
|
name: this.$t('AuthorizedKeysChanged'),
|
||||||
value: this.counter.total_authorized_keys_changed_accounts
|
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',
|
description: 'password_expired',
|
||||||
name: this.$t('PasswordExpired'),
|
name: this.$t('PasswordExpired'),
|
||||||
@@ -96,16 +88,6 @@ export default {
|
|||||||
description: 'repeated_password',
|
description: 'repeated_password',
|
||||||
name: this.$t('RepeatedPassword'),
|
name: this.$t('RepeatedPassword'),
|
||||||
value: this.counter.total_repeated_password_accounts
|
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_group_changed_accounts: 1,
|
||||||
total_sudo_changed_accounts: 1,
|
total_sudo_changed_accounts: 1,
|
||||||
total_authorized_keys_changed_accounts: 1,
|
total_authorized_keys_changed_accounts: 1,
|
||||||
total_account_deleted_accounts: 1,
|
|
||||||
total_password_expired_accounts: 1,
|
total_password_expired_accounts: 1,
|
||||||
total_long_time_password_accounts: 1,
|
total_long_time_password_accounts: 1,
|
||||||
total_weak_password_accounts: 1,
|
total_weak_password_accounts: 1,
|
||||||
total_leaked_password_accounts: 1,
|
total_leaked_password_accounts: 1,
|
||||||
total_repeated_password_accounts: 1,
|
total_repeated_password_accounts: 1
|
||||||
total_password_error_accounts: 1,
|
|
||||||
total_no_admin_account_accounts: 1
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user