From b5518dd2ba911f0b58543c7578ec17db3aef6fb4 Mon Sep 17 00:00:00 2001 From: feng <1304903146@qq.com> Date: Thu, 26 Jun 2025 17:55:37 +0800 Subject: [PATCH] perf: Pam perm tree --- ...ntrisk_backupaccountautomation_and_more.py | 1 + .../models/automations/check_account.py | 3 + apps/i18n/core/en/LC_MESSAGES/django.po | 106 +++++++++-------- apps/i18n/core/es/LC_MESSAGES/django.po | 106 +++++++++-------- apps/i18n/core/ja/LC_MESSAGES/django.po | 106 +++++++++-------- apps/i18n/core/ko/LC_MESSAGES/django.po | 106 +++++++++-------- apps/i18n/core/pt_BR/LC_MESSAGES/django.po | 106 +++++++++-------- apps/i18n/core/ru/LC_MESSAGES/django.po | 106 +++++++++-------- apps/i18n/core/zh/LC_MESSAGES/django.po | 110 +++++++++--------- apps/i18n/core/zh_Hant/LC_MESSAGES/django.po | 106 +++++++++-------- apps/rbac/const.py | 3 + .../migrations/0004_auto_20250626_1613.py | 22 ++++ apps/rbac/tree.py | 36 +++--- 13 files changed, 494 insertions(+), 423 deletions(-) create mode 100644 apps/rbac/migrations/0004_auto_20250626_1613.py diff --git a/apps/accounts/migrations/0005_accountrisk_backupaccountautomation_and_more.py b/apps/accounts/migrations/0005_accountrisk_backupaccountautomation_and_more.py index eba3068b4..3b3eafcda 100644 --- a/apps/accounts/migrations/0005_accountrisk_backupaccountautomation_and_more.py +++ b/apps/accounts/migrations/0005_accountrisk_backupaccountautomation_and_more.py @@ -335,6 +335,7 @@ class Migration(migrations.Migration): ], options={ "abstract": False, + "verbose_name": "Check engine", }, ), migrations.CreateModel( diff --git a/apps/accounts/models/automations/check_account.py b/apps/accounts/models/automations/check_account.py index f43789efc..03636568a 100644 --- a/apps/accounts/models/automations/check_account.py +++ b/apps/accounts/models/automations/check_account.py @@ -119,6 +119,9 @@ class CheckAccountEngine(JMSBaseModel): def __str__(self): return self.name + class Meta: + verbose_name = _('Check engine') + @staticmethod def get_default_engines(): data = [ diff --git a/apps/i18n/core/en/LC_MESSAGES/django.po b/apps/i18n/core/en/LC_MESSAGES/django.po index 5541027f6..89667d8db 100644 --- a/apps/i18n/core/en/LC_MESSAGES/django.po +++ b/apps/i18n/core/en/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-06-19 20:06+0800\n" +"POT-Creation-Date: 2025-06-26 18:07+0800\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -198,7 +198,7 @@ msgstr "" msgid "Skip" msgstr "" -#: accounts/const/account.py:33 audits/const.py:24 rbac/tree.py:269 +#: accounts/const/account.py:33 audits/const.py:24 rbac/tree.py:279 #: templates/_csv_import_export.html:18 templates/_csv_update_modal.html:6 msgid "Update" msgstr "" @@ -210,7 +210,7 @@ msgstr "" msgid "Failed" msgstr "" -#: accounts/const/automation.py:25 rbac/tree.py:52 +#: accounts/const/automation.py:25 rbac/tree.py:54 msgid "Push account" msgstr "" @@ -240,7 +240,7 @@ msgstr "" msgid "Check account" msgstr "" -#: accounts/const/automation.py:32 rbac/tree.py:50 +#: accounts/const/automation.py:32 rbac/tree.py:52 msgid "Backup account" msgstr "" @@ -601,7 +601,7 @@ msgstr "" #: assets/models/automations/base.py:22 assets/models/cmd_filter.py:38 #: assets/serializers/asset/common.py:148 #: assets/serializers/asset/common.py:423 perms/serializers/permission.py:66 -#: perms/serializers/user_permission.py:76 rbac/tree.py:35 +#: perms/serializers/user_permission.py:76 rbac/tree.py:50 msgid "Accounts" msgstr "" @@ -643,12 +643,12 @@ msgid "Password divided" msgstr "" #: accounts/models/automations/backup_account.py:33 -#: accounts/serializers/automations/backup.py:34 +#: accounts/serializers/automations/backup.py:35 msgid "Recipient part one" msgstr "" #: accounts/models/automations/backup_account.py:37 -#: accounts/serializers/automations/backup.py:38 +#: accounts/serializers/automations/backup.py:39 msgid "Recipient part two" msgstr "" @@ -762,7 +762,7 @@ msgstr "" #: accounts/serializers/account/account.py:279 #: accounts/templates/accounts/change_secret_failed_info.html:13 #: assets/const/automation.py:9 -#: authentication/templates/authentication/passkey.html:174 +#: authentication/templates/authentication/passkey.html:177 #: authentication/views/base.py:42 authentication/views/base.py:43 #: authentication/views/base.py:44 common/const/choices.py:67 #: settings/templates/ldap/_msg_import_ldap_user.html:26 @@ -884,7 +884,7 @@ msgstr "" msgid "Detail" msgstr "" -#: accounts/models/automations/check_account.py:76 +#: accounts/models/automations/check_account.py:76 rbac/tree.py:51 msgid "Account risk" msgstr "" @@ -892,39 +892,43 @@ msgstr "" msgid "Slug" msgstr "" -#: accounts/models/automations/check_account.py:128 +#: accounts/models/automations/check_account.py:123 +msgid "Check engine" +msgstr "" + +#: accounts/models/automations/check_account.py:131 msgid "Check the discovered accounts" msgstr "" -#: accounts/models/automations/check_account.py:130 +#: accounts/models/automations/check_account.py:133 msgid "" "Perform checks and analyses based on automatically discovered account " "results, including user groups, public keys, sudoers, and other information." msgstr "" -#: accounts/models/automations/check_account.py:137 +#: accounts/models/automations/check_account.py:140 msgid "Check the strength of your account and password" msgstr "" -#: accounts/models/automations/check_account.py:139 +#: accounts/models/automations/check_account.py:142 msgid "" "Perform checks and analyses based on the security of account passwords, " "including password strength, leakage, etc." msgstr "" -#: accounts/models/automations/check_account.py:146 +#: accounts/models/automations/check_account.py:149 msgid "Check if the account and password are repeated" msgstr "" -#: accounts/models/automations/check_account.py:147 +#: accounts/models/automations/check_account.py:150 msgid "Check if the account is the same as other accounts." msgstr "" -#: accounts/models/automations/check_account.py:152 +#: accounts/models/automations/check_account.py:155 msgid "Check whether the account password is a common password" msgstr "" -#: accounts/models/automations/check_account.py:153 +#: accounts/models/automations/check_account.py:156 msgid "Check whether the account password is a commonly leaked password." msgstr "" @@ -1366,17 +1370,17 @@ msgid "" "config CACHE_LOGIN_PASSWORD_ENABLED to true" msgstr "" -#: accounts/serializers/automations/backup.py:18 +#: accounts/serializers/automations/backup.py:19 msgid "Zip Encrypt Password" msgstr "" -#: accounts/serializers/automations/backup.py:35 -#: accounts/serializers/automations/backup.py:39 +#: accounts/serializers/automations/backup.py:36 +#: accounts/serializers/automations/backup.py:40 #: accounts/serializers/automations/change_secret.py:62 msgid "Currently only mail sending is supported" msgstr "" -#: accounts/serializers/automations/backup.py:41 +#: accounts/serializers/automations/backup.py:42 msgid "Asset type" msgstr "" @@ -2242,7 +2246,7 @@ msgstr "" msgid "ChatGPT" msgstr "" -#: assets/const/host.py:13 rbac/tree.py:28 rbac/tree.py:66 +#: assets/const/host.py:13 rbac/tree.py:29 rbac/tree.py:68 #: xpack/plugins/cloud/const.py:75 msgid "Other" msgstr "" @@ -2287,7 +2291,7 @@ msgstr "" msgid "Any" msgstr "" -#: assets/const/protocol.py:88 rbac/tree.py:62 +#: assets/const/protocol.py:88 rbac/tree.py:64 #: settings/serializers/security.py:273 msgid "Security" msgstr "" @@ -2647,7 +2651,7 @@ msgstr "" msgid "Custom Comment" msgstr "" -#: assets/models/my_asset.py:18 rbac/tree.py:54 +#: assets/models/my_asset.py:18 rbac/tree.py:56 msgid "My assets" msgstr "" @@ -3232,7 +3236,7 @@ msgstr "" #: audits/const.py:14 audits/const.py:25 #: authentication/templates/authentication/_access_key_modal.html:65 -#: rbac/tree.py:270 +#: rbac/tree.py:280 msgid "Delete" msgstr "" @@ -3258,7 +3262,7 @@ msgstr "" msgid "Rename dir" msgstr "" -#: audits/const.py:23 rbac/tree.py:268 terminal/api/session/session.py:284 +#: audits/const.py:23 rbac/tree.py:278 terminal/api/session/session.py:284 #: terminal/templates/terminal/_msg_command_warning.html:18 #: terminal/templates/terminal/_msg_session_sharing.html:10 #: xpack/plugins/cloud/manager.py:102 @@ -3267,7 +3271,7 @@ msgstr "" #: audits/const.py:26 #: authentication/templates/authentication/_access_key_modal.html:22 -#: rbac/tree.py:267 +#: rbac/tree.py:277 msgid "Create" msgstr "" @@ -3285,7 +3289,7 @@ msgstr "" msgid "Login" msgstr "Sign in" -#: audits/const.py:36 rbac/tree.py:56 +#: audits/const.py:36 rbac/tree.py:58 msgid "Notifications" msgstr "" @@ -3318,7 +3322,7 @@ msgstr "" msgid "Login log" msgstr "" -#: audits/const.py:55 rbac/tree.py:64 terminal/models/applet/host.py:144 +#: audits/const.py:55 rbac/tree.py:66 terminal/models/applet/host.py:144 #: terminal/models/component/task.py:22 #: xpack/plugins/cloud/serializers/account.py:78 msgid "Task" @@ -3599,7 +3603,7 @@ msgstr "" msgid "The value in the parameter must contain %s" msgstr "" -#: authentication/api/confirm.py:50 +#: authentication/api/confirm.py:51 msgid "This action require verify your MFA" msgstr "" @@ -4195,7 +4199,7 @@ msgid "Options" msgstr "" #: authentication/serializers/connect_token_secret.py:129 -#: ops/notifications.py:19 rbac/tree.py:60 +#: ops/notifications.py:19 rbac/tree.py:62 msgid "Component" msgstr "" @@ -4523,13 +4527,13 @@ msgstr "" msgid "Copy success" msgstr "" -#: authentication/templates/authentication/passkey.html:163 +#: authentication/templates/authentication/passkey.html:166 msgid "" "This page is not served over HTTPS. Please use HTTPS to ensure security of " "your credentials." msgstr "" -#: authentication/templates/authentication/passkey.html:174 +#: authentication/templates/authentication/passkey.html:177 msgid "Do you want to retry ?" msgstr "" @@ -6200,15 +6204,15 @@ msgstr "" msgid "Console view" msgstr "Console" -#: rbac/tree.py:25 +#: rbac/tree.py:26 msgid "Workbench view" msgstr "Workbench" -#: rbac/tree.py:26 +#: rbac/tree.py:27 msgid "Audit view" msgstr "Audits" -#: rbac/tree.py:27 settings/models.py:166 +#: rbac/tree.py:28 settings/models.py:166 msgid "System setting" msgstr "" @@ -6220,67 +6224,67 @@ msgstr "Session" msgid "Cloud import" msgstr "" -#: rbac/tree.py:51 +#: rbac/tree.py:53 msgid "Gather account" msgstr "" -#: rbac/tree.py:53 +#: rbac/tree.py:55 msgid "Account change secret" msgstr "" -#: rbac/tree.py:55 +#: rbac/tree.py:57 msgid "App ops" msgstr "Ops" -#: rbac/tree.py:57 settings/serializers/feature.py:183 +#: rbac/tree.py:59 settings/serializers/feature.py:183 msgid "Feature" msgstr "" -#: rbac/tree.py:58 settings/serializers/auth/base.py:11 +#: rbac/tree.py:60 settings/serializers/auth/base.py:11 msgid "Authentication" msgstr "" -#: rbac/tree.py:59 +#: rbac/tree.py:61 msgid "Storage" msgstr "" -#: rbac/tree.py:61 terminal/models/applet/applet.py:53 +#: rbac/tree.py:63 terminal/models/applet/applet.py:53 #: terminal/models/applet/applet.py:371 terminal/models/applet/host.py:30 #: terminal/serializers/applet.py:15 msgid "Applet" msgstr "" -#: rbac/tree.py:63 +#: rbac/tree.py:65 msgid "Appearance" msgstr "" -#: rbac/tree.py:65 xpack/plugins/license/meta.py:10 +#: rbac/tree.py:67 xpack/plugins/license/meta.py:10 #: xpack/plugins/license/models.py:153 msgid "License" msgstr "" -#: rbac/tree.py:67 +#: rbac/tree.py:69 msgid "Job audit" msgstr "" -#: rbac/tree.py:159 +#: rbac/tree.py:169 msgid "App organizations" msgstr "Organizations" -#: rbac/tree.py:160 +#: rbac/tree.py:170 msgid "Ticket comment" msgstr "" -#: rbac/tree.py:161 settings/serializers/feature.py:164 +#: rbac/tree.py:171 settings/serializers/feature.py:164 #: settings/serializers/feature.py:166 tickets/models/ticket/general.py:310 msgid "Ticket" msgstr "" -#: rbac/tree.py:162 +#: rbac/tree.py:172 msgid "Common setting" msgstr "" -#: rbac/tree.py:163 +#: rbac/tree.py:173 msgid "View permission tree" msgstr "" diff --git a/apps/i18n/core/es/LC_MESSAGES/django.po b/apps/i18n/core/es/LC_MESSAGES/django.po index 95c11b118..c3b8e3d3b 100644 --- a/apps/i18n/core/es/LC_MESSAGES/django.po +++ b/apps/i18n/core/es/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-06-19 20:06+0800\n" +"POT-Creation-Date: 2025-06-26 18:07+0800\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -224,7 +224,7 @@ msgstr "Plantilla" msgid "Skip" msgstr "Omitir" -#: accounts/const/account.py:33 audits/const.py:24 rbac/tree.py:269 +#: accounts/const/account.py:33 audits/const.py:24 rbac/tree.py:279 #: templates/_csv_import_export.html:18 templates/_csv_update_modal.html:6 msgid "Update" msgstr "Actualizar" @@ -236,7 +236,7 @@ msgstr "Actualizar" msgid "Failed" msgstr "Fallido" -#: accounts/const/automation.py:25 rbac/tree.py:52 +#: accounts/const/automation.py:25 rbac/tree.py:54 msgid "Push account" msgstr "Notificación de cuenta" @@ -266,7 +266,7 @@ msgstr "Verificar cuenta del gateway" msgid "Check account" msgstr "Comprobar cuenta" -#: accounts/const/automation.py:32 rbac/tree.py:50 +#: accounts/const/automation.py:32 rbac/tree.py:52 msgid "Backup account" msgstr "Respaldar cuenta" @@ -631,7 +631,7 @@ msgstr "Código secreto" #: assets/models/automations/base.py:22 assets/models/cmd_filter.py:38 #: assets/serializers/asset/common.py:148 #: assets/serializers/asset/common.py:423 perms/serializers/permission.py:66 -#: perms/serializers/user_permission.py:76 rbac/tree.py:35 +#: perms/serializers/user_permission.py:76 rbac/tree.py:50 msgid "Accounts" msgstr "Cuenta" @@ -676,12 +676,12 @@ msgid "Password divided" msgstr "¿Se divide la clave en dos partes?" #: accounts/models/automations/backup_account.py:33 -#: accounts/serializers/automations/backup.py:34 +#: accounts/serializers/automations/backup.py:35 msgid "Recipient part one" msgstr "Parte uno del destinatario" #: accounts/models/automations/backup_account.py:37 -#: accounts/serializers/automations/backup.py:38 +#: accounts/serializers/automations/backup.py:39 msgid "Recipient part two" msgstr "Parte dos del destinatario" @@ -795,7 +795,7 @@ msgstr "Estado" #: accounts/serializers/account/account.py:279 #: accounts/templates/accounts/change_secret_failed_info.html:13 #: assets/const/automation.py:9 -#: authentication/templates/authentication/passkey.html:174 +#: authentication/templates/authentication/passkey.html:177 #: authentication/views/base.py:42 authentication/views/base.py:43 #: authentication/views/base.py:44 common/const/choices.py:67 #: settings/templates/ldap/_msg_import_ldap_user.html:26 @@ -917,7 +917,7 @@ msgstr "Riesgo" msgid "Detail" msgstr "Detalles" -#: accounts/models/automations/check_account.py:76 +#: accounts/models/automations/check_account.py:76 rbac/tree.py:51 msgid "Account risk" msgstr "Riesgo de cuenta" @@ -925,11 +925,15 @@ msgstr "Riesgo de cuenta" msgid "Slug" msgstr "" -#: accounts/models/automations/check_account.py:128 +#: accounts/models/automations/check_account.py:123 +msgid "Check engine" +msgstr "Motor de detección." + +#: accounts/models/automations/check_account.py:131 msgid "Check the discovered accounts" msgstr "Inspección de cuentas detectadas" -#: accounts/models/automations/check_account.py:130 +#: accounts/models/automations/check_account.py:133 msgid "" "Perform checks and analyses based on automatically discovered account " "results, including user groups, public keys, sudoers, and other information." @@ -938,11 +942,11 @@ msgstr "" "automático de cuentas, incluyendo grupos de usuarios, claves públicas, " "sudoers y otra información." -#: accounts/models/automations/check_account.py:137 +#: accounts/models/automations/check_account.py:140 msgid "Check the strength of your account and password" msgstr "Verifique la fortaleza de su cuenta y contraseña" -#: accounts/models/automations/check_account.py:139 +#: accounts/models/automations/check_account.py:142 msgid "" "Perform checks and analyses based on the security of account passwords, " "including password strength, leakage, etc." @@ -950,19 +954,19 @@ msgstr "" "Análisis de seguridad de la contraseña, que incluye la fortaleza de la misma" " y posibles filtraciones." -#: accounts/models/automations/check_account.py:146 +#: accounts/models/automations/check_account.py:149 msgid "Check if the account and password are repeated" msgstr "Verifique si hay contraseñas duplicadas" -#: accounts/models/automations/check_account.py:147 +#: accounts/models/automations/check_account.py:150 msgid "Check if the account is the same as other accounts." msgstr "Verifique si esta cuenta es idéntica a otras cuentas." -#: accounts/models/automations/check_account.py:152 +#: accounts/models/automations/check_account.py:155 msgid "Check whether the account password is a common password" msgstr "Verifique si la contraseña es una contraseña común" -#: accounts/models/automations/check_account.py:153 +#: accounts/models/automations/check_account.py:156 msgid "Check whether the account password is a commonly leaked password." msgstr "" "Verifique si la contraseña es una contraseña que ha sido comúnmente " @@ -1442,17 +1446,17 @@ msgstr "" "configuración CACHE_LOGIN_PASSWORD_ENABLED=true; es necesario reiniciar el " "servicio para activarla" -#: accounts/serializers/automations/backup.py:18 +#: accounts/serializers/automations/backup.py:19 msgid "Zip Encrypt Password" msgstr "Contraseña para la encriptación de archivos" -#: accounts/serializers/automations/backup.py:35 -#: accounts/serializers/automations/backup.py:39 +#: accounts/serializers/automations/backup.py:36 +#: accounts/serializers/automations/backup.py:40 #: accounts/serializers/automations/change_secret.py:62 msgid "Currently only mail sending is supported" msgstr "Actualmente solo se admite el envío por correo electrónico" -#: accounts/serializers/automations/backup.py:41 +#: accounts/serializers/automations/backup.py:42 msgid "Asset type" msgstr "Tipo de activo" @@ -2372,7 +2376,7 @@ msgstr "Directorio Activo de Windows" msgid "ChatGPT" msgstr "ChatGPT" -#: assets/const/host.py:13 rbac/tree.py:28 rbac/tree.py:66 +#: assets/const/host.py:13 rbac/tree.py:29 rbac/tree.py:68 #: xpack/plugins/cloud/const.py:75 msgid "Other" msgstr "Otros" @@ -2420,7 +2424,7 @@ msgstr "Conectar a la sesión de consola" msgid "Any" msgstr "Cualquiera" -#: assets/const/protocol.py:88 rbac/tree.py:62 +#: assets/const/protocol.py:88 rbac/tree.py:64 #: settings/serializers/security.py:273 msgid "Security" msgstr "Seguro" @@ -2795,7 +2799,7 @@ msgstr "Nombre personalizado" msgid "Custom Comment" msgstr "Nota personalizada" -#: assets/models/my_asset.py:18 rbac/tree.py:54 +#: assets/models/my_asset.py:18 rbac/tree.py:56 msgid "My assets" msgstr "Mis activos" @@ -3426,7 +3430,7 @@ msgstr "Eliminar directorio" #: audits/const.py:14 audits/const.py:25 #: authentication/templates/authentication/_access_key_modal.html:65 -#: rbac/tree.py:270 +#: rbac/tree.py:280 msgid "Delete" msgstr "Eliminar" @@ -3452,7 +3456,7 @@ msgstr "Descargar" msgid "Rename dir" msgstr "Mapear directorio" -#: audits/const.py:23 rbac/tree.py:268 terminal/api/session/session.py:284 +#: audits/const.py:23 rbac/tree.py:278 terminal/api/session/session.py:284 #: terminal/templates/terminal/_msg_command_warning.html:18 #: terminal/templates/terminal/_msg_session_sharing.html:10 #: xpack/plugins/cloud/manager.py:102 @@ -3461,7 +3465,7 @@ msgstr "Ver" #: audits/const.py:26 #: authentication/templates/authentication/_access_key_modal.html:22 -#: rbac/tree.py:267 +#: rbac/tree.py:277 msgid "Create" msgstr "Crear" @@ -3479,7 +3483,7 @@ msgstr "Conectar" msgid "Login" msgstr "Iniciar sesión" -#: audits/const.py:36 rbac/tree.py:56 +#: audits/const.py:36 rbac/tree.py:58 msgid "Notifications" msgstr "Notificación" @@ -3512,7 +3516,7 @@ msgstr "Registro de sesiones" msgid "Login log" msgstr "Registro de inicio de sesión" -#: audits/const.py:55 rbac/tree.py:64 terminal/models/applet/host.py:144 +#: audits/const.py:55 rbac/tree.py:66 terminal/models/applet/host.py:144 #: terminal/models/component/task.py:22 #: xpack/plugins/cloud/serializers/account.py:78 msgid "Task" @@ -3807,7 +3811,7 @@ msgstr "Se pueden crear hasta 10 claves de acceso" msgid "The value in the parameter must contain %s" msgstr "El valor del parámetro debe incluir %s" -#: authentication/api/confirm.py:50 +#: authentication/api/confirm.py:51 msgid "This action require verify your MFA" msgstr "" "Esta operación requiere la verificación de su MFA, por favor, habilítelo y " @@ -4440,7 +4444,7 @@ msgid "Options" msgstr "Opciones" #: authentication/serializers/connect_token_secret.py:129 -#: ops/notifications.py:19 rbac/tree.py:60 +#: ops/notifications.py:19 rbac/tree.py:62 msgid "Component" msgstr "Componentes" @@ -4803,7 +4807,7 @@ msgstr "Regresar" msgid "Copy success" msgstr "Copiado con éxito" -#: authentication/templates/authentication/passkey.html:163 +#: authentication/templates/authentication/passkey.html:166 msgid "" "This page is not served over HTTPS. Please use HTTPS to ensure security of " "your credentials." @@ -4811,7 +4815,7 @@ msgstr "" "Esta página no utiliza el protocolo HTTPS, por favor utiliza HTTPS para " "asegurar la seguridad de tus credenciales." -#: authentication/templates/authentication/passkey.html:174 +#: authentication/templates/authentication/passkey.html:177 msgid "Do you want to retry ?" msgstr "¿Reintentar?" @@ -6597,15 +6601,15 @@ msgstr "Todos los permisos" msgid "Console view" msgstr "Consola" -#: rbac/tree.py:25 +#: rbac/tree.py:26 msgid "Workbench view" msgstr "Mesa de trabajo" -#: rbac/tree.py:26 +#: rbac/tree.py:27 msgid "Audit view" msgstr "Registro de auditoría" -#: rbac/tree.py:27 settings/models.py:166 +#: rbac/tree.py:28 settings/models.py:166 msgid "System setting" msgstr "Configuración del sistema" @@ -6617,67 +6621,67 @@ msgstr "Auditoría de sesión" msgid "Cloud import" msgstr "Sincronización en la nube" -#: rbac/tree.py:51 +#: rbac/tree.py:53 msgid "Gather account" msgstr "Descubrimiento de cuenta" -#: rbac/tree.py:53 +#: rbac/tree.py:55 msgid "Account change secret" msgstr "Cambio de contraseña de cuenta" -#: rbac/tree.py:55 +#: rbac/tree.py:57 msgid "App ops" msgstr "Centro de tareas" -#: rbac/tree.py:57 settings/serializers/feature.py:183 +#: rbac/tree.py:59 settings/serializers/feature.py:183 msgid "Feature" msgstr "Función" -#: rbac/tree.py:58 settings/serializers/auth/base.py:11 +#: rbac/tree.py:60 settings/serializers/auth/base.py:11 msgid "Authentication" msgstr "Certificación" -#: rbac/tree.py:59 +#: rbac/tree.py:61 msgid "Storage" msgstr "Almacenamiento" -#: rbac/tree.py:61 terminal/models/applet/applet.py:53 +#: rbac/tree.py:63 terminal/models/applet/applet.py:53 #: terminal/models/applet/applet.py:371 terminal/models/applet/host.py:30 #: terminal/serializers/applet.py:15 msgid "Applet" msgstr "Aplicación remota" -#: rbac/tree.py:63 +#: rbac/tree.py:65 msgid "Appearance" msgstr "Interfaz" -#: rbac/tree.py:65 xpack/plugins/license/meta.py:10 +#: rbac/tree.py:67 xpack/plugins/license/meta.py:10 #: xpack/plugins/license/models.py:153 msgid "License" msgstr "Licencia" -#: rbac/tree.py:67 +#: rbac/tree.py:69 msgid "Job audit" msgstr "Auditoría de acciones" -#: rbac/tree.py:159 +#: rbac/tree.py:169 msgid "App organizations" msgstr "Gestión de organizaciones" -#: rbac/tree.py:160 +#: rbac/tree.py:170 msgid "Ticket comment" msgstr "Comentarios de órdenes de trabajo" -#: rbac/tree.py:161 settings/serializers/feature.py:164 +#: rbac/tree.py:171 settings/serializers/feature.py:164 #: settings/serializers/feature.py:166 tickets/models/ticket/general.py:310 msgid "Ticket" msgstr "Orden de trabajo" -#: rbac/tree.py:162 +#: rbac/tree.py:172 msgid "Common setting" msgstr "Configuración general" -#: rbac/tree.py:163 +#: rbac/tree.py:173 msgid "View permission tree" msgstr "Ver árbol de autorizaciones" diff --git a/apps/i18n/core/ja/LC_MESSAGES/django.po b/apps/i18n/core/ja/LC_MESSAGES/django.po index bf41b1fb5..18452cd9b 100644 --- a/apps/i18n/core/ja/LC_MESSAGES/django.po +++ b/apps/i18n/core/ja/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-06-19 20:06+0800\n" +"POT-Creation-Date: 2025-06-26 18:07+0800\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -202,7 +202,7 @@ msgstr "テンプレート" msgid "Skip" msgstr "スキップ" -#: accounts/const/account.py:33 audits/const.py:24 rbac/tree.py:269 +#: accounts/const/account.py:33 audits/const.py:24 rbac/tree.py:279 #: templates/_csv_import_export.html:18 templates/_csv_update_modal.html:6 msgid "Update" msgstr "更新" @@ -214,7 +214,7 @@ msgstr "更新" msgid "Failed" msgstr "失敗しました" -#: accounts/const/automation.py:25 rbac/tree.py:52 +#: accounts/const/automation.py:25 rbac/tree.py:54 msgid "Push account" msgstr "アカウントプッシュ" @@ -244,7 +244,7 @@ msgstr "ゲートウェイ アカウントを確認する" msgid "Check account" msgstr "アカウントを確認" -#: accounts/const/automation.py:32 rbac/tree.py:50 +#: accounts/const/automation.py:32 rbac/tree.py:52 msgid "Backup account" msgstr "バックアップアカウント" @@ -622,7 +622,7 @@ msgstr "ひみつ" #: assets/models/automations/base.py:22 assets/models/cmd_filter.py:38 #: assets/serializers/asset/common.py:148 #: assets/serializers/asset/common.py:423 perms/serializers/permission.py:66 -#: perms/serializers/user_permission.py:76 rbac/tree.py:35 +#: perms/serializers/user_permission.py:76 rbac/tree.py:50 msgid "Accounts" msgstr "アカウント" @@ -667,12 +667,12 @@ msgid "Password divided" msgstr "キーが 2 つの部分に分割されているかどうか" #: accounts/models/automations/backup_account.py:33 -#: accounts/serializers/automations/backup.py:34 +#: accounts/serializers/automations/backup.py:35 msgid "Recipient part one" msgstr "受信者 1" #: accounts/models/automations/backup_account.py:37 -#: accounts/serializers/automations/backup.py:38 +#: accounts/serializers/automations/backup.py:39 msgid "Recipient part two" msgstr "受信者 2" @@ -786,7 +786,7 @@ msgstr "ステータス" #: accounts/serializers/account/account.py:279 #: accounts/templates/accounts/change_secret_failed_info.html:13 #: assets/const/automation.py:9 -#: authentication/templates/authentication/passkey.html:174 +#: authentication/templates/authentication/passkey.html:177 #: authentication/views/base.py:42 authentication/views/base.py:43 #: authentication/views/base.py:44 common/const/choices.py:67 #: settings/templates/ldap/_msg_import_ldap_user.html:26 @@ -908,7 +908,7 @@ msgstr "リスク" msgid "Detail" msgstr "詳細" -#: accounts/models/automations/check_account.py:76 +#: accounts/models/automations/check_account.py:76 rbac/tree.py:51 msgid "Account risk" msgstr "アカウントリスク" @@ -916,39 +916,43 @@ msgstr "アカウントリスク" msgid "Slug" msgstr "" -#: accounts/models/automations/check_account.py:128 +#: accounts/models/automations/check_account.py:123 +msgid "Check engine" +msgstr "検出エンジン" + +#: accounts/models/automations/check_account.py:131 msgid "Check the discovered accounts" msgstr "確認されたアカウント" -#: accounts/models/automations/check_account.py:130 +#: accounts/models/automations/check_account.py:133 msgid "" "Perform checks and analyses based on automatically discovered account " "results, including user groups, public keys, sudoers, and other information." msgstr "自動発見されたアカウントの結果に基づいてチェック分析を行います。これには、ユーザーグループ、公開鍵、sudoersなどの情報が含まれます。" -#: accounts/models/automations/check_account.py:137 +#: accounts/models/automations/check_account.py:140 msgid "Check the strength of your account and password" msgstr "あなたのアカウントとパスワードの強度をチェックしてください。" -#: accounts/models/automations/check_account.py:139 +#: accounts/models/automations/check_account.py:142 msgid "" "Perform checks and analyses based on the security of account passwords, " "including password strength, leakage, etc." msgstr "アカウントパスワードの安全性に対するチェック分析を行います。これには、パスワードの強度や漏洩状況などが含まれます。" -#: accounts/models/automations/check_account.py:146 +#: accounts/models/automations/check_account.py:149 msgid "Check if the account and password are repeated" msgstr "アカウントとパスワードの重複をチェックしてください。" -#: accounts/models/automations/check_account.py:147 +#: accounts/models/automations/check_account.py:150 msgid "Check if the account is the same as other accounts." msgstr "このアカウントが他のアカウントと同じかどうかを確認します。" -#: accounts/models/automations/check_account.py:152 +#: accounts/models/automations/check_account.py:155 msgid "Check whether the account password is a common password" msgstr "アカウントのパスワードが一般的なパスワードでないか確認してください。" -#: accounts/models/automations/check_account.py:153 +#: accounts/models/automations/check_account.py:156 msgid "Check whether the account password is a commonly leaked password." msgstr "アカウントのパスワードが広く知られている漏洩パスワードでないか確認します。" @@ -1400,17 +1404,17 @@ msgstr "" "現在、AD/LDAPからのログインのみをサポートしています。シークレットの優先順位: 資産シークレット内の同じアカウント > ログインシークレット > " "手動入力.
セキュリティのために、「config CACHE_LOGIN_PASSWORD_ENABLED」をtrueに設定してください。 " -#: accounts/serializers/automations/backup.py:18 +#: accounts/serializers/automations/backup.py:19 msgid "Zip Encrypt Password" msgstr "新しいファイルの暗号化パスワード" -#: accounts/serializers/automations/backup.py:35 -#: accounts/serializers/automations/backup.py:39 +#: accounts/serializers/automations/backup.py:36 +#: accounts/serializers/automations/backup.py:40 #: accounts/serializers/automations/change_secret.py:62 msgid "Currently only mail sending is supported" msgstr "現在、メール送信のみがサポートされています" -#: accounts/serializers/automations/backup.py:41 +#: accounts/serializers/automations/backup.py:42 msgid "Asset type" msgstr "資産タイプ" @@ -2272,7 +2276,7 @@ msgstr "Windows アクティブディレクトリ" msgid "ChatGPT" msgstr "ChatGPT" -#: assets/const/host.py:13 rbac/tree.py:28 rbac/tree.py:66 +#: assets/const/host.py:13 rbac/tree.py:29 rbac/tree.py:68 #: xpack/plugins/cloud/const.py:75 msgid "Other" msgstr "その他" @@ -2316,7 +2320,7 @@ msgstr "コンソールセッションに接続" msgid "Any" msgstr "任意" -#: assets/const/protocol.py:88 rbac/tree.py:62 +#: assets/const/protocol.py:88 rbac/tree.py:64 #: settings/serializers/security.py:273 msgid "Security" msgstr "セキュリティ" @@ -2679,7 +2683,7 @@ msgstr "カスタム名" msgid "Custom Comment" msgstr "カスタムメモ" -#: assets/models/my_asset.py:18 rbac/tree.py:54 +#: assets/models/my_asset.py:18 rbac/tree.py:56 msgid "My assets" msgstr "私の資産" @@ -3275,7 +3279,7 @@ msgstr "Rmdir" #: audits/const.py:14 audits/const.py:25 #: authentication/templates/authentication/_access_key_modal.html:65 -#: rbac/tree.py:270 +#: rbac/tree.py:280 msgid "Delete" msgstr "削除" @@ -3301,7 +3305,7 @@ msgstr "ダウンロード" msgid "Rename dir" msgstr "マップディレクトリ" -#: audits/const.py:23 rbac/tree.py:268 terminal/api/session/session.py:284 +#: audits/const.py:23 rbac/tree.py:278 terminal/api/session/session.py:284 #: terminal/templates/terminal/_msg_command_warning.html:18 #: terminal/templates/terminal/_msg_session_sharing.html:10 #: xpack/plugins/cloud/manager.py:102 @@ -3310,7 +3314,7 @@ msgstr "表示" #: audits/const.py:26 #: authentication/templates/authentication/_access_key_modal.html:22 -#: rbac/tree.py:267 +#: rbac/tree.py:277 msgid "Create" msgstr "作成" @@ -3328,7 +3332,7 @@ msgstr "接続" msgid "Login" msgstr "ログイン" -#: audits/const.py:36 rbac/tree.py:56 +#: audits/const.py:36 rbac/tree.py:58 msgid "Notifications" msgstr "通知" @@ -3361,7 +3365,7 @@ msgstr "セッションログ" msgid "Login log" msgstr "ログインログ" -#: audits/const.py:55 rbac/tree.py:64 terminal/models/applet/host.py:144 +#: audits/const.py:55 rbac/tree.py:66 terminal/models/applet/host.py:144 #: terminal/models/component/task.py:22 #: xpack/plugins/cloud/serializers/account.py:78 msgid "Task" @@ -3641,7 +3645,7 @@ msgstr "最大10個のアクセスキーを作成できます" msgid "The value in the parameter must contain %s" msgstr "パラメータの値には必ず %s が含まれます" -#: authentication/api/confirm.py:50 +#: authentication/api/confirm.py:51 msgid "This action require verify your MFA" msgstr "この操作には、MFAを検証する必要があります" @@ -4237,7 +4241,7 @@ msgid "Options" msgstr "オプション" #: authentication/serializers/connect_token_secret.py:129 -#: ops/notifications.py:19 rbac/tree.py:60 +#: ops/notifications.py:19 rbac/tree.py:62 msgid "Component" msgstr "コンポーネント" @@ -4567,13 +4571,13 @@ msgstr "返品" msgid "Copy success" msgstr "コピー成功" -#: authentication/templates/authentication/passkey.html:163 +#: authentication/templates/authentication/passkey.html:166 msgid "" "This page is not served over HTTPS. Please use HTTPS to ensure security of " "your credentials." msgstr "このページはHTTPSで提供されていません。HTTPSを使用して、資格情報のセキュリティを確保してください。" -#: authentication/templates/authentication/passkey.html:174 +#: authentication/templates/authentication/passkey.html:177 msgid "Do you want to retry ?" msgstr "再試行しますか?" @@ -6247,15 +6251,15 @@ msgstr "すべての権限" msgid "Console view" msgstr "コンソールビュー" -#: rbac/tree.py:25 +#: rbac/tree.py:26 msgid "Workbench view" msgstr "ワークスペースビュー" -#: rbac/tree.py:26 +#: rbac/tree.py:27 msgid "Audit view" msgstr "監査ビュー" -#: rbac/tree.py:27 settings/models.py:166 +#: rbac/tree.py:28 settings/models.py:166 msgid "System setting" msgstr "システム設定" @@ -6267,67 +6271,67 @@ msgstr "セッション監査" msgid "Cloud import" msgstr "クラウドインポート" -#: rbac/tree.py:51 +#: rbac/tree.py:53 msgid "Gather account" msgstr "アカウントを集める" -#: rbac/tree.py:53 +#: rbac/tree.py:55 msgid "Account change secret" msgstr "アカウントの秘密の変更" -#: rbac/tree.py:55 +#: rbac/tree.py:57 msgid "App ops" msgstr "アプリ操作" -#: rbac/tree.py:57 settings/serializers/feature.py:183 +#: rbac/tree.py:59 settings/serializers/feature.py:183 msgid "Feature" msgstr "機能" -#: rbac/tree.py:58 settings/serializers/auth/base.py:11 +#: rbac/tree.py:60 settings/serializers/auth/base.py:11 msgid "Authentication" msgstr "認証" -#: rbac/tree.py:59 +#: rbac/tree.py:61 msgid "Storage" msgstr "ストレージ" -#: rbac/tree.py:61 terminal/models/applet/applet.py:53 +#: rbac/tree.py:63 terminal/models/applet/applet.py:53 #: terminal/models/applet/applet.py:371 terminal/models/applet/host.py:30 #: terminal/serializers/applet.py:15 msgid "Applet" msgstr "リモートアプリケーション" -#: rbac/tree.py:63 +#: rbac/tree.py:65 msgid "Appearance" msgstr "外見" -#: rbac/tree.py:65 xpack/plugins/license/meta.py:10 +#: rbac/tree.py:67 xpack/plugins/license/meta.py:10 #: xpack/plugins/license/models.py:153 msgid "License" msgstr "ライセンス" -#: rbac/tree.py:67 +#: rbac/tree.py:69 msgid "Job audit" msgstr "作業監査" -#: rbac/tree.py:159 +#: rbac/tree.py:169 msgid "App organizations" msgstr "アプリ組織" -#: rbac/tree.py:160 +#: rbac/tree.py:170 msgid "Ticket comment" msgstr "チケットコメント" -#: rbac/tree.py:161 settings/serializers/feature.py:164 +#: rbac/tree.py:171 settings/serializers/feature.py:164 #: settings/serializers/feature.py:166 tickets/models/ticket/general.py:310 msgid "Ticket" msgstr "チケット" -#: rbac/tree.py:162 +#: rbac/tree.py:172 msgid "Common setting" msgstr "共通設定" -#: rbac/tree.py:163 +#: rbac/tree.py:173 msgid "View permission tree" msgstr "権限ツリーの表示" diff --git a/apps/i18n/core/ko/LC_MESSAGES/django.po b/apps/i18n/core/ko/LC_MESSAGES/django.po index 62a50de1f..91305cabb 100644 --- a/apps/i18n/core/ko/LC_MESSAGES/django.po +++ b/apps/i18n/core/ko/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-06-19 20:06+0800\n" +"POT-Creation-Date: 2025-06-26 18:07+0800\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -202,7 +202,7 @@ msgstr "템플릿" msgid "Skip" msgstr "건너뛰기" -#: accounts/const/account.py:33 audits/const.py:24 rbac/tree.py:269 +#: accounts/const/account.py:33 audits/const.py:24 rbac/tree.py:279 #: templates/_csv_import_export.html:18 templates/_csv_update_modal.html:6 msgid "Update" msgstr "업데이트" @@ -214,7 +214,7 @@ msgstr "업데이트" msgid "Failed" msgstr "실패" -#: accounts/const/automation.py:25 rbac/tree.py:52 +#: accounts/const/automation.py:25 rbac/tree.py:54 msgid "Push account" msgstr "계정 푸시" @@ -244,7 +244,7 @@ msgstr "게이트웨이 계정 확인" msgid "Check account" msgstr "계정 검사" -#: accounts/const/automation.py:32 rbac/tree.py:50 +#: accounts/const/automation.py:32 rbac/tree.py:52 msgid "Backup account" msgstr "계정 백업" @@ -607,7 +607,7 @@ msgstr "암호" #: assets/models/automations/base.py:22 assets/models/cmd_filter.py:38 #: assets/serializers/asset/common.py:148 #: assets/serializers/asset/common.py:423 perms/serializers/permission.py:66 -#: perms/serializers/user_permission.py:76 rbac/tree.py:35 +#: perms/serializers/user_permission.py:76 rbac/tree.py:50 msgid "Accounts" msgstr "계정" @@ -652,12 +652,12 @@ msgid "Password divided" msgstr "키가 앞뒤 두 부분으로 분할되었는지" #: accounts/models/automations/backup_account.py:33 -#: accounts/serializers/automations/backup.py:34 +#: accounts/serializers/automations/backup.py:35 msgid "Recipient part one" msgstr "수신자 부분 일" #: accounts/models/automations/backup_account.py:37 -#: accounts/serializers/automations/backup.py:38 +#: accounts/serializers/automations/backup.py:39 msgid "Recipient part two" msgstr "수신자 부분 이" @@ -771,7 +771,7 @@ msgstr "상태" #: accounts/serializers/account/account.py:279 #: accounts/templates/accounts/change_secret_failed_info.html:13 #: assets/const/automation.py:9 -#: authentication/templates/authentication/passkey.html:174 +#: authentication/templates/authentication/passkey.html:177 #: authentication/views/base.py:42 authentication/views/base.py:43 #: authentication/views/base.py:44 common/const/choices.py:67 #: settings/templates/ldap/_msg_import_ldap_user.html:26 @@ -893,7 +893,7 @@ msgstr "위험" msgid "Detail" msgstr "상세 정보" -#: accounts/models/automations/check_account.py:76 +#: accounts/models/automations/check_account.py:76 rbac/tree.py:51 msgid "Account risk" msgstr "계정 위험" @@ -901,39 +901,43 @@ msgstr "계정 위험" msgid "Slug" msgstr "" -#: accounts/models/automations/check_account.py:128 +#: accounts/models/automations/check_account.py:123 +msgid "Check engine" +msgstr "검출 엔진" + +#: accounts/models/automations/check_account.py:131 msgid "Check the discovered accounts" msgstr "검사에서 발견된 계정" -#: accounts/models/automations/check_account.py:130 +#: accounts/models/automations/check_account.py:133 msgid "" "Perform checks and analyses based on automatically discovered account " "results, including user groups, public keys, sudoers, and other information." msgstr "자동 발견된 계정 결과에 따른 검사와 분석, 사용자 그룹, 공개 키, sudoers 등 정보 포함." -#: accounts/models/automations/check_account.py:137 +#: accounts/models/automations/check_account.py:140 msgid "Check the strength of your account and password" msgstr "귀하의 계정 및 비밀번호 강도 점검" -#: accounts/models/automations/check_account.py:139 +#: accounts/models/automations/check_account.py:142 msgid "" "Perform checks and analyses based on the security of account passwords, " "including password strength, leakage, etc." msgstr "계정 비밀번호의 보안성을 점검하고 분석, 비밀번호 강도, 유출 상황 등을 포함" -#: accounts/models/automations/check_account.py:146 +#: accounts/models/automations/check_account.py:149 msgid "Check if the account and password are repeated" msgstr "계정과 비밀번호의 중복 여부 점검" -#: accounts/models/automations/check_account.py:147 +#: accounts/models/automations/check_account.py:150 msgid "Check if the account is the same as other accounts." msgstr "해당 계정이 다른 계정과 동일한지 점검." -#: accounts/models/automations/check_account.py:152 +#: accounts/models/automations/check_account.py:155 msgid "Check whether the account password is a common password" msgstr "계정 비밀번호가 일반적으로 사용되는 비밀번호인지 점검" -#: accounts/models/automations/check_account.py:153 +#: accounts/models/automations/check_account.py:156 msgid "Check whether the account password is a commonly leaked password." msgstr "계정 비밀번호가 일반적으로 유출된 비밀번호인지 확인하기." @@ -1387,17 +1391,17 @@ msgstr "" "비밀번호 > 로그인 비밀번호 > 수동 입력
안전을 위해 구성 항목 " "CACHE_LOGIN_PASSWORD_ENABLED=true로 설정하고, 서비스를 재시작해야 활성화됩니다." -#: accounts/serializers/automations/backup.py:18 +#: accounts/serializers/automations/backup.py:19 msgid "Zip Encrypt Password" msgstr "파일 암호화 비밀번호" -#: accounts/serializers/automations/backup.py:35 -#: accounts/serializers/automations/backup.py:39 +#: accounts/serializers/automations/backup.py:36 +#: accounts/serializers/automations/backup.py:40 #: accounts/serializers/automations/change_secret.py:62 msgid "Currently only mail sending is supported" msgstr "현재 이메일 전송만 지원" -#: accounts/serializers/automations/backup.py:41 +#: accounts/serializers/automations/backup.py:42 msgid "Asset type" msgstr "자산 유형" @@ -2262,7 +2266,7 @@ msgstr "Windows 활동 디렉토리" msgid "ChatGPT" msgstr "ChatGPT" -#: assets/const/host.py:13 rbac/tree.py:28 rbac/tree.py:66 +#: assets/const/host.py:13 rbac/tree.py:29 rbac/tree.py:68 #: xpack/plugins/cloud/const.py:75 msgid "Other" msgstr "기타" @@ -2307,7 +2311,7 @@ msgstr "콘솔 세션에 연결" msgid "Any" msgstr "임의" -#: assets/const/protocol.py:88 rbac/tree.py:62 +#: assets/const/protocol.py:88 rbac/tree.py:64 #: settings/serializers/security.py:273 msgid "Security" msgstr "보안" @@ -2671,7 +2675,7 @@ msgstr "사용자 정의 이름" msgid "Custom Comment" msgstr "사용자 정의 메모" -#: assets/models/my_asset.py:18 rbac/tree.py:54 +#: assets/models/my_asset.py:18 rbac/tree.py:56 msgid "My assets" msgstr "내 자산" @@ -3266,7 +3270,7 @@ msgstr "디렉터리 삭제" #: audits/const.py:14 audits/const.py:25 #: authentication/templates/authentication/_access_key_modal.html:65 -#: rbac/tree.py:270 +#: rbac/tree.py:280 msgid "Delete" msgstr "삭제" @@ -3292,7 +3296,7 @@ msgstr "다운로드" msgid "Rename dir" msgstr "디렉터리 매핑" -#: audits/const.py:23 rbac/tree.py:268 terminal/api/session/session.py:284 +#: audits/const.py:23 rbac/tree.py:278 terminal/api/session/session.py:284 #: terminal/templates/terminal/_msg_command_warning.html:18 #: terminal/templates/terminal/_msg_session_sharing.html:10 #: xpack/plugins/cloud/manager.py:102 @@ -3301,7 +3305,7 @@ msgstr "조회" #: audits/const.py:26 #: authentication/templates/authentication/_access_key_modal.html:22 -#: rbac/tree.py:267 +#: rbac/tree.py:277 msgid "Create" msgstr "생성" @@ -3319,7 +3323,7 @@ msgstr "연결" msgid "Login" msgstr "로그인" -#: audits/const.py:36 rbac/tree.py:56 +#: audits/const.py:36 rbac/tree.py:58 msgid "Notifications" msgstr "알림" @@ -3352,7 +3356,7 @@ msgstr "세션 로그" msgid "Login log" msgstr "로그인 로그" -#: audits/const.py:55 rbac/tree.py:64 terminal/models/applet/host.py:144 +#: audits/const.py:55 rbac/tree.py:66 terminal/models/applet/host.py:144 #: terminal/models/component/task.py:22 #: xpack/plugins/cloud/serializers/account.py:78 msgid "Task" @@ -3631,7 +3635,7 @@ msgstr "최대 10개의 액세스 키를 생성할 수 있습니다." msgid "The value in the parameter must contain %s" msgstr "매개변수의 값은 반드시 %s를 포함해야 합니다." -#: authentication/api/confirm.py:50 +#: authentication/api/confirm.py:51 msgid "This action require verify your MFA" msgstr "이 작업은 귀하의 MFA를 확인해야 하므로, 먼저 활성화하고 구성해야 합니다." @@ -4229,7 +4233,7 @@ msgid "Options" msgstr "옵션" #: authentication/serializers/connect_token_secret.py:129 -#: ops/notifications.py:19 rbac/tree.py:60 +#: ops/notifications.py:19 rbac/tree.py:62 msgid "Component" msgstr "구성 요소" @@ -4560,14 +4564,14 @@ msgstr "뒤로" msgid "Copy success" msgstr "복사 성공" -#: authentication/templates/authentication/passkey.html:163 +#: authentication/templates/authentication/passkey.html:166 msgid "" "This page is not served over HTTPS. Please use HTTPS to ensure security of " "your credentials." msgstr "" "이번 페이지는 HTTPS 프로토콜을 사용하지 않았습니다. 귀하의 자격 증명을 안전하게 유지하려면 HTTPS 프로토콜을 사용해 주세요." -#: authentication/templates/authentication/passkey.html:174 +#: authentication/templates/authentication/passkey.html:177 msgid "Do you want to retry ?" msgstr "재시도 하시겠습니까?" @@ -6276,15 +6280,15 @@ msgstr "모든 권한" msgid "Console view" msgstr "콘솔" -#: rbac/tree.py:25 +#: rbac/tree.py:26 msgid "Workbench view" msgstr "작업대" -#: rbac/tree.py:26 +#: rbac/tree.py:27 msgid "Audit view" msgstr "감사 대시보드" -#: rbac/tree.py:27 settings/models.py:166 +#: rbac/tree.py:28 settings/models.py:166 msgid "System setting" msgstr "시스템 설정" @@ -6296,67 +6300,67 @@ msgstr "세션 감사" msgid "Cloud import" msgstr "클라우드 동기화" -#: rbac/tree.py:51 +#: rbac/tree.py:53 msgid "Gather account" msgstr "계정 탐색" -#: rbac/tree.py:53 +#: rbac/tree.py:55 msgid "Account change secret" msgstr "계정 비밀번호 변경" -#: rbac/tree.py:55 +#: rbac/tree.py:57 msgid "App ops" msgstr "작업 센터" -#: rbac/tree.py:57 settings/serializers/feature.py:183 +#: rbac/tree.py:59 settings/serializers/feature.py:183 msgid "Feature" msgstr "기능" -#: rbac/tree.py:58 settings/serializers/auth/base.py:11 +#: rbac/tree.py:60 settings/serializers/auth/base.py:11 msgid "Authentication" msgstr "인증" -#: rbac/tree.py:59 +#: rbac/tree.py:61 msgid "Storage" msgstr "저장소" -#: rbac/tree.py:61 terminal/models/applet/applet.py:53 +#: rbac/tree.py:63 terminal/models/applet/applet.py:53 #: terminal/models/applet/applet.py:371 terminal/models/applet/host.py:30 #: terminal/serializers/applet.py:15 msgid "Applet" msgstr "원격 애플리케이션" -#: rbac/tree.py:63 +#: rbac/tree.py:65 msgid "Appearance" msgstr "인터페이스" -#: rbac/tree.py:65 xpack/plugins/license/meta.py:10 +#: rbac/tree.py:67 xpack/plugins/license/meta.py:10 #: xpack/plugins/license/models.py:153 msgid "License" msgstr "라이센스" -#: rbac/tree.py:67 +#: rbac/tree.py:69 msgid "Job audit" msgstr "작업 감사" -#: rbac/tree.py:159 +#: rbac/tree.py:169 msgid "App organizations" msgstr "조직 관리" -#: rbac/tree.py:160 +#: rbac/tree.py:170 msgid "Ticket comment" msgstr "작업 댓글" -#: rbac/tree.py:161 settings/serializers/feature.py:164 +#: rbac/tree.py:171 settings/serializers/feature.py:164 #: settings/serializers/feature.py:166 tickets/models/ticket/general.py:310 msgid "Ticket" msgstr "작업" -#: rbac/tree.py:162 +#: rbac/tree.py:172 msgid "Common setting" msgstr "일반 설정" -#: rbac/tree.py:163 +#: rbac/tree.py:173 msgid "View permission tree" msgstr "권한 트리 보기" diff --git a/apps/i18n/core/pt_BR/LC_MESSAGES/django.po b/apps/i18n/core/pt_BR/LC_MESSAGES/django.po index e38e0daef..b658c8db6 100644 --- a/apps/i18n/core/pt_BR/LC_MESSAGES/django.po +++ b/apps/i18n/core/pt_BR/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-06-19 20:06+0800\n" +"POT-Creation-Date: 2025-06-26 18:07+0800\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -202,7 +202,7 @@ msgstr "Modelo" msgid "Skip" msgstr "Pular" -#: accounts/const/account.py:33 audits/const.py:24 rbac/tree.py:269 +#: accounts/const/account.py:33 audits/const.py:24 rbac/tree.py:279 #: templates/_csv_import_export.html:18 templates/_csv_update_modal.html:6 msgid "Update" msgstr "Atualizar" @@ -214,7 +214,7 @@ msgstr "Atualizar" msgid "Failed" msgstr "Falha" -#: accounts/const/automation.py:25 rbac/tree.py:52 +#: accounts/const/automation.py:25 rbac/tree.py:54 msgid "Push account" msgstr "Push de Conta" @@ -244,7 +244,7 @@ msgstr "Verificar Gateway de Conta" msgid "Check account" msgstr "Verificar Conta" -#: accounts/const/automation.py:32 rbac/tree.py:50 +#: accounts/const/automation.py:32 rbac/tree.py:52 msgid "Backup account" msgstr "Conta de backup" @@ -610,7 +610,7 @@ msgstr "Texto cifrado" #: assets/models/automations/base.py:22 assets/models/cmd_filter.py:38 #: assets/serializers/asset/common.py:148 #: assets/serializers/asset/common.py:423 perms/serializers/permission.py:66 -#: perms/serializers/user_permission.py:76 rbac/tree.py:35 +#: perms/serializers/user_permission.py:76 rbac/tree.py:50 msgid "Accounts" msgstr "Conta" @@ -655,12 +655,12 @@ msgid "Password divided" msgstr " A chave é dividida em duas partes?" #: accounts/models/automations/backup_account.py:33 -#: accounts/serializers/automations/backup.py:34 +#: accounts/serializers/automations/backup.py:35 msgid "Recipient part one" msgstr "Parte um do destinatário" #: accounts/models/automations/backup_account.py:37 -#: accounts/serializers/automations/backup.py:38 +#: accounts/serializers/automations/backup.py:39 msgid "Recipient part two" msgstr "Parte dois do destinatário" @@ -774,7 +774,7 @@ msgstr "Status" #: accounts/serializers/account/account.py:279 #: accounts/templates/accounts/change_secret_failed_info.html:13 #: assets/const/automation.py:9 -#: authentication/templates/authentication/passkey.html:174 +#: authentication/templates/authentication/passkey.html:177 #: authentication/views/base.py:42 authentication/views/base.py:43 #: authentication/views/base.py:44 common/const/choices.py:67 #: settings/templates/ldap/_msg_import_ldap_user.html:26 @@ -911,7 +911,7 @@ msgstr "Risco" msgid "Detail" msgstr "Detalhes" -#: accounts/models/automations/check_account.py:76 +#: accounts/models/automations/check_account.py:76 rbac/tree.py:51 msgid "Account risk" msgstr "Risco de conta" @@ -919,11 +919,15 @@ msgstr "Risco de conta" msgid "Slug" msgstr "" -#: accounts/models/automations/check_account.py:128 +#: accounts/models/automations/check_account.py:123 +msgid "Check engine" +msgstr "Motor de Detecção" + +#: accounts/models/automations/check_account.py:131 msgid "Check the discovered accounts" msgstr "Verificar contas encontradas" -#: accounts/models/automations/check_account.py:130 +#: accounts/models/automations/check_account.py:133 msgid "" "Perform checks and analyses based on automatically discovered account " "results, including user groups, public keys, sudoers, and other information." @@ -932,11 +936,11 @@ msgstr "" "automática das contas, incluindo informações sobre grupos de usuários, " "chaves públicas, sudoers, etc." -#: accounts/models/automations/check_account.py:137 +#: accounts/models/automations/check_account.py:140 msgid "Check the strength of your account and password" msgstr "Verifique a força da sua conta e senha" -#: accounts/models/automations/check_account.py:139 +#: accounts/models/automations/check_account.py:142 msgid "" "Perform checks and analyses based on the security of account passwords, " "including password strength, leakage, etc." @@ -944,19 +948,19 @@ msgstr "" "Realize uma análise de verificação sobre a segurança da conta e da senha, " "incluindo a força da senha e situações de vazamento." -#: accounts/models/automations/check_account.py:146 +#: accounts/models/automations/check_account.py:149 msgid "Check if the account and password are repeated" msgstr "Verifique se as contas e senhas são duplicadas" -#: accounts/models/automations/check_account.py:147 +#: accounts/models/automations/check_account.py:150 msgid "Check if the account is the same as other accounts." msgstr "Verifique se esta conta é igual a outras contas." -#: accounts/models/automations/check_account.py:152 +#: accounts/models/automations/check_account.py:155 msgid "Check whether the account password is a common password" msgstr "Verifique se a conta e a senha são senhas comuns" -#: accounts/models/automations/check_account.py:153 +#: accounts/models/automations/check_account.py:156 msgid "Check whether the account password is a commonly leaked password." msgstr "Verifique se a conta e a senha são senhas frequentemente vazadas." @@ -1430,17 +1434,17 @@ msgstr "" "defina a opção CACHE_LOGIN_PASSWORD_ENABLED=true e reinicie o serviço para " "ativá-la" -#: accounts/serializers/automations/backup.py:18 +#: accounts/serializers/automations/backup.py:19 msgid "Zip Encrypt Password" msgstr "Senha de encriptação do arquivo" -#: accounts/serializers/automations/backup.py:35 -#: accounts/serializers/automations/backup.py:39 +#: accounts/serializers/automations/backup.py:36 +#: accounts/serializers/automations/backup.py:40 #: accounts/serializers/automations/change_secret.py:62 msgid "Currently only mail sending is supported" msgstr "Atualmente só suporta o envio de e-mail" -#: accounts/serializers/automations/backup.py:41 +#: accounts/serializers/automations/backup.py:42 msgid "Asset type" msgstr "Tipo de bem" @@ -2344,7 +2348,7 @@ msgstr "Diretório Ativo do Windows" msgid "ChatGPT" msgstr "ChatGPT" -#: assets/const/host.py:13 rbac/tree.py:28 rbac/tree.py:66 +#: assets/const/host.py:13 rbac/tree.py:29 rbac/tree.py:68 #: xpack/plugins/cloud/const.py:75 msgid "Other" msgstr "Outros" @@ -2392,7 +2396,7 @@ msgstr "Conecte-se à sessão do console" msgid "Any" msgstr "Qualquer" -#: assets/const/protocol.py:88 rbac/tree.py:62 +#: assets/const/protocol.py:88 rbac/tree.py:64 #: settings/serializers/security.py:273 msgid "Security" msgstr "Segurança" @@ -2764,7 +2768,7 @@ msgstr "Nome personalizado" msgid "Custom Comment" msgstr "Nota personalizada" -#: assets/models/my_asset.py:18 rbac/tree.py:54 +#: assets/models/my_asset.py:18 rbac/tree.py:56 msgid "My assets" msgstr "Meus ativos" @@ -3389,7 +3393,7 @@ msgstr "Excluir diretório" #: audits/const.py:14 audits/const.py:25 #: authentication/templates/authentication/_access_key_modal.html:65 -#: rbac/tree.py:270 +#: rbac/tree.py:280 msgid "Delete" msgstr "Excluir" @@ -3415,7 +3419,7 @@ msgstr "Baixar" msgid "Rename dir" msgstr "Mapeamento de Diretórios" -#: audits/const.py:23 rbac/tree.py:268 terminal/api/session/session.py:284 +#: audits/const.py:23 rbac/tree.py:278 terminal/api/session/session.py:284 #: terminal/templates/terminal/_msg_command_warning.html:18 #: terminal/templates/terminal/_msg_session_sharing.html:10 #: xpack/plugins/cloud/manager.py:102 @@ -3424,7 +3428,7 @@ msgstr "Visualizar" #: audits/const.py:26 #: authentication/templates/authentication/_access_key_modal.html:22 -#: rbac/tree.py:267 +#: rbac/tree.py:277 msgid "Create" msgstr "Criar" @@ -3442,7 +3446,7 @@ msgstr "Conectar" msgid "Login" msgstr "Login" -#: audits/const.py:36 rbac/tree.py:56 +#: audits/const.py:36 rbac/tree.py:58 msgid "Notifications" msgstr "Notificações" @@ -3475,7 +3479,7 @@ msgstr "Registro de Sessões" msgid "Login log" msgstr "Registro de Login" -#: audits/const.py:55 rbac/tree.py:64 terminal/models/applet/host.py:144 +#: audits/const.py:55 rbac/tree.py:66 terminal/models/applet/host.py:144 #: terminal/models/component/task.py:22 #: xpack/plugins/cloud/serializers/account.py:78 msgid "Task" @@ -3761,7 +3765,7 @@ msgstr "Pode-se criar até 10 chaves de acesso" msgid "The value in the parameter must contain %s" msgstr "Os valores nos parâmetros devem incluir %s" -#: authentication/api/confirm.py:50 +#: authentication/api/confirm.py:51 msgid "This action require verify your MFA" msgstr "" "Esta operação requer a verificação do seu MFA, por favor ative e configure " @@ -4380,7 +4384,7 @@ msgid "Options" msgstr "Opções" #: authentication/serializers/connect_token_secret.py:129 -#: ops/notifications.py:19 rbac/tree.py:60 +#: ops/notifications.py:19 rbac/tree.py:62 msgid "Component" msgstr "Componentes" @@ -4741,7 +4745,7 @@ msgstr "Voltar" msgid "Copy success" msgstr "Cópia bem sucedida" -#: authentication/templates/authentication/passkey.html:163 +#: authentication/templates/authentication/passkey.html:166 msgid "" "This page is not served over HTTPS. Please use HTTPS to ensure security of " "your credentials." @@ -4749,7 +4753,7 @@ msgstr "" "Esta página não usa o protocolo HTTPS, por favor, use o protocolo HTTPS para" " garantir a segurança de suas credenciais." -#: authentication/templates/authentication/passkey.html:174 +#: authentication/templates/authentication/passkey.html:177 msgid "Do you want to retry ?" msgstr "Deseja tentar novamente?" @@ -6491,15 +6495,15 @@ msgstr "Todas as permissões" msgid "Console view" msgstr "Console" -#: rbac/tree.py:25 +#: rbac/tree.py:26 msgid "Workbench view" msgstr "Painel de trabalho" -#: rbac/tree.py:26 +#: rbac/tree.py:27 msgid "Audit view" msgstr "Painel de auditoria" -#: rbac/tree.py:27 settings/models.py:166 +#: rbac/tree.py:28 settings/models.py:166 msgid "System setting" msgstr "Configurações do sistema" @@ -6511,67 +6515,67 @@ msgstr "Auditoria de sessão" msgid "Cloud import" msgstr "Sincronização em nuvem" -#: rbac/tree.py:51 +#: rbac/tree.py:53 msgid "Gather account" msgstr "Conta de cobrança" -#: rbac/tree.py:53 +#: rbac/tree.py:55 msgid "Account change secret" msgstr "Alteração de senha da conta" -#: rbac/tree.py:55 +#: rbac/tree.py:57 msgid "App ops" msgstr "Centro de Tarefas" -#: rbac/tree.py:57 settings/serializers/feature.py:183 +#: rbac/tree.py:59 settings/serializers/feature.py:183 msgid "Feature" msgstr "Função" -#: rbac/tree.py:58 settings/serializers/auth/base.py:11 +#: rbac/tree.py:60 settings/serializers/auth/base.py:11 msgid "Authentication" msgstr "Autenticação" -#: rbac/tree.py:59 +#: rbac/tree.py:61 msgid "Storage" msgstr "Armazenamento" -#: rbac/tree.py:61 terminal/models/applet/applet.py:53 +#: rbac/tree.py:63 terminal/models/applet/applet.py:53 #: terminal/models/applet/applet.py:371 terminal/models/applet/host.py:30 #: terminal/serializers/applet.py:15 msgid "Applet" msgstr "Aplicativo Remoto" -#: rbac/tree.py:63 +#: rbac/tree.py:65 msgid "Appearance" msgstr "Interface" -#: rbac/tree.py:65 xpack/plugins/license/meta.py:10 +#: rbac/tree.py:67 xpack/plugins/license/meta.py:10 #: xpack/plugins/license/models.py:153 msgid "License" msgstr "Licença" -#: rbac/tree.py:67 +#: rbac/tree.py:69 msgid "Job audit" msgstr "Auditoria de Tarefas" -#: rbac/tree.py:159 +#: rbac/tree.py:169 msgid "App organizations" msgstr "Gerenciamento de Organização" -#: rbac/tree.py:160 +#: rbac/tree.py:170 msgid "Ticket comment" msgstr "Comentários de Ordem de Serviço" -#: rbac/tree.py:161 settings/serializers/feature.py:164 +#: rbac/tree.py:171 settings/serializers/feature.py:164 #: settings/serializers/feature.py:166 tickets/models/ticket/general.py:310 msgid "Ticket" msgstr "Ordem de Serviço" -#: rbac/tree.py:162 +#: rbac/tree.py:172 msgid "Common setting" msgstr "Configurações Gerais" -#: rbac/tree.py:163 +#: rbac/tree.py:173 msgid "View permission tree" msgstr "Visualizar Árvore de Autorização" diff --git a/apps/i18n/core/ru/LC_MESSAGES/django.po b/apps/i18n/core/ru/LC_MESSAGES/django.po index 5fe9d3ab1..a63e08b0a 100644 --- a/apps/i18n/core/ru/LC_MESSAGES/django.po +++ b/apps/i18n/core/ru/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-06-19 20:06+0800\n" +"POT-Creation-Date: 2025-06-26 18:07+0800\n" "PO-Revision-Date: 2025-06-11 11:51+0300\n" "Last-Translator: \n" "Language-Team: \n" @@ -204,7 +204,7 @@ msgstr "Шаблон" msgid "Skip" msgstr "Пропустить" -#: accounts/const/account.py:33 audits/const.py:24 rbac/tree.py:269 +#: accounts/const/account.py:33 audits/const.py:24 rbac/tree.py:279 #: templates/_csv_import_export.html:18 templates/_csv_update_modal.html:6 msgid "Update" msgstr "Обновить" @@ -216,7 +216,7 @@ msgstr "Обновить" msgid "Failed" msgstr "Не удалось" -#: accounts/const/automation.py:25 rbac/tree.py:52 +#: accounts/const/automation.py:25 rbac/tree.py:54 msgid "Push account" msgstr "Публикация учетной записи" @@ -246,7 +246,7 @@ msgstr "Проверка учетной записи шлюза" msgid "Check account" msgstr "Проверить учетную запись" -#: accounts/const/automation.py:32 rbac/tree.py:50 +#: accounts/const/automation.py:32 rbac/tree.py:52 msgid "Backup account" msgstr "Резервирование учетной записи" @@ -611,7 +611,7 @@ msgstr "Секрет" #: assets/models/automations/base.py:22 assets/models/cmd_filter.py:38 #: assets/serializers/asset/common.py:148 #: assets/serializers/asset/common.py:423 perms/serializers/permission.py:66 -#: perms/serializers/user_permission.py:76 rbac/tree.py:35 +#: perms/serializers/user_permission.py:76 rbac/tree.py:50 msgid "Accounts" msgstr "Учетные записи" @@ -656,12 +656,12 @@ msgid "Password divided" msgstr "Раздельное хранение пароля" #: accounts/models/automations/backup_account.py:33 -#: accounts/serializers/automations/backup.py:34 +#: accounts/serializers/automations/backup.py:35 msgid "Recipient part one" msgstr "Первый получатель" #: accounts/models/automations/backup_account.py:37 -#: accounts/serializers/automations/backup.py:38 +#: accounts/serializers/automations/backup.py:39 msgid "Recipient part two" msgstr "Второй получатель" @@ -775,7 +775,7 @@ msgstr "Статус" #: accounts/serializers/account/account.py:279 #: accounts/templates/accounts/change_secret_failed_info.html:13 #: assets/const/automation.py:9 -#: authentication/templates/authentication/passkey.html:174 +#: authentication/templates/authentication/passkey.html:177 #: authentication/views/base.py:42 authentication/views/base.py:43 #: authentication/views/base.py:44 common/const/choices.py:67 #: settings/templates/ldap/_msg_import_ldap_user.html:26 @@ -897,7 +897,7 @@ msgstr "Риск" msgid "Detail" msgstr "Подробности" -#: accounts/models/automations/check_account.py:76 +#: accounts/models/automations/check_account.py:76 rbac/tree.py:51 msgid "Account risk" msgstr "УЗ с риском" @@ -905,11 +905,15 @@ msgstr "УЗ с риском" msgid "Slug" msgstr "Slug" -#: accounts/models/automations/check_account.py:128 +#: accounts/models/automations/check_account.py:123 +msgid "Check engine" +msgstr "Детектор двигателя" + +#: accounts/models/automations/check_account.py:131 msgid "Check the discovered accounts" msgstr "Проверка обнаруженных УЗ" -#: accounts/models/automations/check_account.py:130 +#: accounts/models/automations/check_account.py:133 msgid "" "Perform checks and analyses based on automatically discovered account " "results, including user groups, public keys, sudoers, and other information." @@ -918,11 +922,11 @@ msgstr "" "записей, включая группы пользователей, открытые ключи, sudoers и другую " "информацию." -#: accounts/models/automations/check_account.py:137 +#: accounts/models/automations/check_account.py:140 msgid "Check the strength of your account and password" msgstr "Проверьте надежность своей учетной записи и пароля" -#: accounts/models/automations/check_account.py:139 +#: accounts/models/automations/check_account.py:142 msgid "" "Perform checks and analyses based on the security of account passwords, " "including password strength, leakage, etc." @@ -930,19 +934,19 @@ msgstr "" "Анализ безопасности учетной записи и пароля, включая надежность пароля, " "утечки и т. д." -#: accounts/models/automations/check_account.py:146 +#: accounts/models/automations/check_account.py:149 msgid "Check if the account and password are repeated" msgstr "Проверка на дублирование учетных записей и паролей" -#: accounts/models/automations/check_account.py:147 +#: accounts/models/automations/check_account.py:150 msgid "Check if the account is the same as other accounts." msgstr "Проверьте, совпадает ли номер счета с номером других счетов." -#: accounts/models/automations/check_account.py:152 +#: accounts/models/automations/check_account.py:155 msgid "Check whether the account password is a common password" msgstr "Проверьте, является ли пароль учетной записи распространенным паролем" -#: accounts/models/automations/check_account.py:153 +#: accounts/models/automations/check_account.py:156 msgid "Check whether the account password is a commonly leaked password." msgstr "" "Проверьте, не является ли пароль учетной записи часто утекающим паролем." @@ -1413,17 +1417,17 @@ msgstr "" " конфигурации CACHE_LOGIN_PASSWORD_ENABLED=true, перезапустите службу, чтобы" " включить его" -#: accounts/serializers/automations/backup.py:18 +#: accounts/serializers/automations/backup.py:19 msgid "Zip Encrypt Password" msgstr "Пароль для шифрования архива" -#: accounts/serializers/automations/backup.py:35 -#: accounts/serializers/automations/backup.py:39 +#: accounts/serializers/automations/backup.py:36 +#: accounts/serializers/automations/backup.py:40 #: accounts/serializers/automations/change_secret.py:62 msgid "Currently only mail sending is supported" msgstr "В настоящее время поддерживается только отправка по электронной почте" -#: accounts/serializers/automations/backup.py:41 +#: accounts/serializers/automations/backup.py:42 msgid "Asset type" msgstr "Тип актива" @@ -2319,7 +2323,7 @@ msgstr "Windows Active Directory" msgid "ChatGPT" msgstr "ChatGPT" -#: assets/const/host.py:13 rbac/tree.py:28 rbac/tree.py:66 +#: assets/const/host.py:13 rbac/tree.py:29 rbac/tree.py:68 #: xpack/plugins/cloud/const.py:75 msgid "Other" msgstr "Прочее" @@ -2367,7 +2371,7 @@ msgstr "Подключение к сессии в консоли" msgid "Any" msgstr "Любой" -#: assets/const/protocol.py:88 rbac/tree.py:62 +#: assets/const/protocol.py:88 rbac/tree.py:64 #: settings/serializers/security.py:273 msgid "Security" msgstr "Безопасный" @@ -2740,7 +2744,7 @@ msgstr "Пользовательское название" msgid "Custom Comment" msgstr "Пользовательская заметка" -#: assets/models/my_asset.py:18 rbac/tree.py:54 +#: assets/models/my_asset.py:18 rbac/tree.py:56 msgid "My assets" msgstr "Мои активы" @@ -3371,7 +3375,7 @@ msgstr "Удалить каталог" #: audits/const.py:14 audits/const.py:25 #: authentication/templates/authentication/_access_key_modal.html:65 -#: rbac/tree.py:270 +#: rbac/tree.py:280 msgid "Delete" msgstr "Удалить" @@ -3397,7 +3401,7 @@ msgstr "Скачать" msgid "Rename dir" msgstr "Сопоставление каталога" -#: audits/const.py:23 rbac/tree.py:268 terminal/api/session/session.py:284 +#: audits/const.py:23 rbac/tree.py:278 terminal/api/session/session.py:284 #: terminal/templates/terminal/_msg_command_warning.html:18 #: terminal/templates/terminal/_msg_session_sharing.html:10 #: xpack/plugins/cloud/manager.py:102 @@ -3406,7 +3410,7 @@ msgstr "Просмотр" #: audits/const.py:26 #: authentication/templates/authentication/_access_key_modal.html:22 -#: rbac/tree.py:267 +#: rbac/tree.py:277 msgid "Create" msgstr "Создать" @@ -3424,7 +3428,7 @@ msgstr "Подключить" msgid "Login" msgstr "Войти" -#: audits/const.py:36 rbac/tree.py:56 +#: audits/const.py:36 rbac/tree.py:58 msgid "Notifications" msgstr "Уведомления" @@ -3457,7 +3461,7 @@ msgstr "Журнал сессий" msgid "Login log" msgstr "Журнал входа" -#: audits/const.py:55 rbac/tree.py:64 terminal/models/applet/host.py:144 +#: audits/const.py:55 rbac/tree.py:66 terminal/models/applet/host.py:144 #: terminal/models/component/task.py:22 #: xpack/plugins/cloud/serializers/account.py:78 msgid "Task" @@ -3741,7 +3745,7 @@ msgstr "Максимально можно создать 10 ключей дос msgid "The value in the parameter must contain %s" msgstr "Значение в параметрах должно содержать %s" -#: authentication/api/confirm.py:50 +#: authentication/api/confirm.py:51 msgid "This action require verify your MFA" msgstr "" "Эта операция требует подтверждения МФА, пожалуйста, сначала включите и " @@ -4360,7 +4364,7 @@ msgid "Options" msgstr "Параметры" #: authentication/serializers/connect_token_secret.py:129 -#: ops/notifications.py:19 rbac/tree.py:60 +#: ops/notifications.py:19 rbac/tree.py:62 msgid "Component" msgstr "Компоненты" @@ -4724,7 +4728,7 @@ msgstr "Вернуться" msgid "Copy success" msgstr "Успешно скопировано" -#: authentication/templates/authentication/passkey.html:163 +#: authentication/templates/authentication/passkey.html:166 msgid "" "This page is not served over HTTPS. Please use HTTPS to ensure security of " "your credentials." @@ -4732,7 +4736,7 @@ msgstr "" "Эта страница не использует протокол HTTPS, пожалуйста, используйте HTTPS для" " обеспечения безопасности ваших учетных данных." -#: authentication/templates/authentication/passkey.html:174 +#: authentication/templates/authentication/passkey.html:177 msgid "Do you want to retry ?" msgstr "Хотите попробовать снова?" @@ -6465,15 +6469,15 @@ msgstr "Все разрешения" msgid "Console view" msgstr "Консоль" -#: rbac/tree.py:25 +#: rbac/tree.py:26 msgid "Workbench view" msgstr "Рабочий стол" -#: rbac/tree.py:26 +#: rbac/tree.py:27 msgid "Audit view" msgstr "Панель Аудита" -#: rbac/tree.py:27 settings/models.py:166 +#: rbac/tree.py:28 settings/models.py:166 msgid "System setting" msgstr "Настройки системы" @@ -6485,67 +6489,67 @@ msgstr "Аудиты сессий" msgid "Cloud import" msgstr "Облачная синхронизация" -#: rbac/tree.py:51 +#: rbac/tree.py:53 msgid "Gather account" msgstr "Обнаружение УЗ" -#: rbac/tree.py:53 +#: rbac/tree.py:55 msgid "Account change secret" msgstr "Смена секрета аккаунта" -#: rbac/tree.py:55 +#: rbac/tree.py:57 msgid "App ops" msgstr "Центр задач" -#: rbac/tree.py:57 settings/serializers/feature.py:183 +#: rbac/tree.py:59 settings/serializers/feature.py:183 msgid "Feature" msgstr "Функции" -#: rbac/tree.py:58 settings/serializers/auth/base.py:11 +#: rbac/tree.py:60 settings/serializers/auth/base.py:11 msgid "Authentication" msgstr "Аутентификация" -#: rbac/tree.py:59 +#: rbac/tree.py:61 msgid "Storage" msgstr "Хранилище" -#: rbac/tree.py:61 terminal/models/applet/applet.py:53 +#: rbac/tree.py:63 terminal/models/applet/applet.py:53 #: terminal/models/applet/applet.py:371 terminal/models/applet/host.py:30 #: terminal/serializers/applet.py:15 msgid "Applet" msgstr "Приложения" -#: rbac/tree.py:63 +#: rbac/tree.py:65 msgid "Appearance" msgstr "Интерфейс" -#: rbac/tree.py:65 xpack/plugins/license/meta.py:10 +#: rbac/tree.py:67 xpack/plugins/license/meta.py:10 #: xpack/plugins/license/models.py:153 msgid "License" msgstr "Лицензия" -#: rbac/tree.py:67 +#: rbac/tree.py:69 msgid "Job audit" msgstr "Аудит заданий" -#: rbac/tree.py:159 +#: rbac/tree.py:169 msgid "App organizations" msgstr "Управление организациями" -#: rbac/tree.py:160 +#: rbac/tree.py:170 msgid "Ticket comment" msgstr "Комментарии к заявке" -#: rbac/tree.py:161 settings/serializers/feature.py:164 +#: rbac/tree.py:171 settings/serializers/feature.py:164 #: settings/serializers/feature.py:166 tickets/models/ticket/general.py:310 msgid "Ticket" msgstr "Заявка" -#: rbac/tree.py:162 +#: rbac/tree.py:172 msgid "Common setting" msgstr "Общие настройки" -#: rbac/tree.py:163 +#: rbac/tree.py:173 msgid "View permission tree" msgstr "Просмотр дерева разрешений" diff --git a/apps/i18n/core/zh/LC_MESSAGES/django.po b/apps/i18n/core/zh/LC_MESSAGES/django.po index d099b43a7..a29504329 100644 --- a/apps/i18n/core/zh/LC_MESSAGES/django.po +++ b/apps/i18n/core/zh/LC_MESSAGES/django.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: JumpServer 0.3.3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-06-19 20:06+0800\n" +"POT-Creation-Date: 2025-06-26 18:07+0800\n" "PO-Revision-Date: 2021-05-20 10:54+0800\n" "Last-Translator: ibuler \n" "Language-Team: JumpServer team\n" @@ -200,7 +200,7 @@ msgstr "模板" msgid "Skip" msgstr "跳过" -#: accounts/const/account.py:33 audits/const.py:24 rbac/tree.py:269 +#: accounts/const/account.py:33 audits/const.py:24 rbac/tree.py:279 #: templates/_csv_import_export.html:18 templates/_csv_update_modal.html:6 msgid "Update" msgstr "更新" @@ -212,7 +212,7 @@ msgstr "更新" msgid "Failed" msgstr "失败" -#: accounts/const/automation.py:25 rbac/tree.py:52 +#: accounts/const/automation.py:25 rbac/tree.py:54 msgid "Push account" msgstr "账号推送" @@ -242,9 +242,9 @@ msgstr "验证网关账号" msgid "Check account" msgstr "检查账号" -#: accounts/const/automation.py:32 rbac/tree.py:50 +#: accounts/const/automation.py:32 rbac/tree.py:52 msgid "Backup account" -msgstr "备份账号" +msgstr "账号备份" #: accounts/const/automation.py:53 msgid "Specific secret" @@ -603,7 +603,7 @@ msgstr "密文" #: assets/models/automations/base.py:22 assets/models/cmd_filter.py:38 #: assets/serializers/asset/common.py:148 #: assets/serializers/asset/common.py:423 perms/serializers/permission.py:66 -#: perms/serializers/user_permission.py:76 rbac/tree.py:35 +#: perms/serializers/user_permission.py:76 rbac/tree.py:50 msgid "Accounts" msgstr "账号" @@ -633,7 +633,7 @@ msgstr "激活中" #: accounts/models/application.py:28 msgid "Integration App" -msgstr "集成应用程序" +msgstr "集成应用" #: accounts/models/automations/backup_account.py:27 msgid "Backup type" @@ -645,12 +645,12 @@ msgid "Password divided" msgstr "密钥是否拆分成前后两部分" #: accounts/models/automations/backup_account.py:33 -#: accounts/serializers/automations/backup.py:34 +#: accounts/serializers/automations/backup.py:35 msgid "Recipient part one" msgstr "收件人部分一" #: accounts/models/automations/backup_account.py:37 -#: accounts/serializers/automations/backup.py:38 +#: accounts/serializers/automations/backup.py:39 msgid "Recipient part two" msgstr "收件人部分二" @@ -764,7 +764,7 @@ msgstr "状态" #: accounts/serializers/account/account.py:279 #: accounts/templates/accounts/change_secret_failed_info.html:13 #: assets/const/automation.py:9 -#: authentication/templates/authentication/passkey.html:174 +#: authentication/templates/authentication/passkey.html:177 #: authentication/views/base.py:42 authentication/views/base.py:43 #: authentication/views/base.py:44 common/const/choices.py:67 #: settings/templates/ldap/_msg_import_ldap_user.html:26 @@ -886,7 +886,7 @@ msgstr "风险" msgid "Detail" msgstr "详情" -#: accounts/models/automations/check_account.py:76 +#: accounts/models/automations/check_account.py:76 rbac/tree.py:51 msgid "Account risk" msgstr "账号风险" @@ -894,39 +894,43 @@ msgstr "账号风险" msgid "Slug" msgstr "" -#: accounts/models/automations/check_account.py:128 +#: accounts/models/automations/check_account.py:123 +msgid "Check engine" +msgstr "检测引擎" + +#: accounts/models/automations/check_account.py:131 msgid "Check the discovered accounts" msgstr "检查发现的帐户" -#: accounts/models/automations/check_account.py:130 +#: accounts/models/automations/check_account.py:133 msgid "" "Perform checks and analyses based on automatically discovered account " "results, including user groups, public keys, sudoers, and other information." msgstr "根据自动发现的账户结果进行检查分析,包括用户组、公钥、sudoers等信息。" -#: accounts/models/automations/check_account.py:137 +#: accounts/models/automations/check_account.py:140 msgid "Check the strength of your account and password" msgstr "检查您的账号和密码的强度" -#: accounts/models/automations/check_account.py:139 +#: accounts/models/automations/check_account.py:142 msgid "" "Perform checks and analyses based on the security of account passwords, " "including password strength, leakage, etc." msgstr "针对账号密码的安全性进行检查分析,包括密码强度、泄露情况等。" -#: accounts/models/automations/check_account.py:146 +#: accounts/models/automations/check_account.py:149 msgid "Check if the account and password are repeated" msgstr "检查账号和密码是否重复" -#: accounts/models/automations/check_account.py:147 +#: accounts/models/automations/check_account.py:150 msgid "Check if the account is the same as other accounts." msgstr "检查该账号是否与其他账户相同。" -#: accounts/models/automations/check_account.py:152 +#: accounts/models/automations/check_account.py:155 msgid "Check whether the account password is a common password" msgstr "检查账号密码是否为常用密码" -#: accounts/models/automations/check_account.py:153 +#: accounts/models/automations/check_account.py:156 msgid "Check whether the account password is a commonly leaked password." msgstr "检查账号密码是否为常见泄露密码。" @@ -1388,17 +1392,17 @@ msgstr "" "密码 > 登录密码 > 手动输入
为了安全起见,请设置配置项 " "CACHE_LOGIN_PASSWORD_ENABLED=true,重启服务才能开启" -#: accounts/serializers/automations/backup.py:18 +#: accounts/serializers/automations/backup.py:19 msgid "Zip Encrypt Password" msgstr "文件加密密码" -#: accounts/serializers/automations/backup.py:35 -#: accounts/serializers/automations/backup.py:39 +#: accounts/serializers/automations/backup.py:36 +#: accounts/serializers/automations/backup.py:40 #: accounts/serializers/automations/change_secret.py:62 msgid "Currently only mail sending is supported" msgstr "当前只支持邮件发送" -#: accounts/serializers/automations/backup.py:41 +#: accounts/serializers/automations/backup.py:42 msgid "Asset type" msgstr "资产类型" @@ -2277,7 +2281,7 @@ msgstr "Windows 活动目录" msgid "ChatGPT" msgstr "ChatGPT" -#: assets/const/host.py:13 rbac/tree.py:28 rbac/tree.py:66 +#: assets/const/host.py:13 rbac/tree.py:29 rbac/tree.py:68 #: xpack/plugins/cloud/const.py:75 msgid "Other" msgstr "其它" @@ -2322,7 +2326,7 @@ msgstr "连接到控制台会话" msgid "Any" msgstr "任意" -#: assets/const/protocol.py:88 rbac/tree.py:62 +#: assets/const/protocol.py:88 rbac/tree.py:64 #: settings/serializers/security.py:273 msgid "Security" msgstr "安全" @@ -2689,7 +2693,7 @@ msgstr "自定义名称" msgid "Custom Comment" msgstr "自定义备注" -#: assets/models/my_asset.py:18 rbac/tree.py:54 +#: assets/models/my_asset.py:18 rbac/tree.py:56 msgid "My assets" msgstr "我的资产" @@ -3294,7 +3298,7 @@ msgstr "删除目录" #: audits/const.py:14 audits/const.py:25 #: authentication/templates/authentication/_access_key_modal.html:65 -#: rbac/tree.py:270 +#: rbac/tree.py:280 msgid "Delete" msgstr "删除" @@ -3320,7 +3324,7 @@ msgstr "下载" msgid "Rename dir" msgstr "映射目录" -#: audits/const.py:23 rbac/tree.py:268 terminal/api/session/session.py:284 +#: audits/const.py:23 rbac/tree.py:278 terminal/api/session/session.py:284 #: terminal/templates/terminal/_msg_command_warning.html:18 #: terminal/templates/terminal/_msg_session_sharing.html:10 #: xpack/plugins/cloud/manager.py:102 @@ -3329,7 +3333,7 @@ msgstr "查看" #: audits/const.py:26 #: authentication/templates/authentication/_access_key_modal.html:22 -#: rbac/tree.py:267 +#: rbac/tree.py:277 msgid "Create" msgstr "创建" @@ -3347,7 +3351,7 @@ msgstr "连接" msgid "Login" msgstr "登录" -#: audits/const.py:36 rbac/tree.py:56 +#: audits/const.py:36 rbac/tree.py:58 msgid "Notifications" msgstr "通知" @@ -3380,7 +3384,7 @@ msgstr "会话日志" msgid "Login log" msgstr "登录日志" -#: audits/const.py:55 rbac/tree.py:64 terminal/models/applet/host.py:144 +#: audits/const.py:55 rbac/tree.py:66 terminal/models/applet/host.py:144 #: terminal/models/component/task.py:22 #: xpack/plugins/cloud/serializers/account.py:78 msgid "Task" @@ -3665,7 +3669,7 @@ msgstr "最多可以创建10个访问密钥" msgid "The value in the parameter must contain %s" msgstr "参数中的值必须包含 %s" -#: authentication/api/confirm.py:50 +#: authentication/api/confirm.py:51 msgid "This action require verify your MFA" msgstr "该操作需要验证您的 MFA, 请先开启并配置" @@ -4262,7 +4266,7 @@ msgid "Options" msgstr "选项" #: authentication/serializers/connect_token_secret.py:129 -#: ops/notifications.py:19 rbac/tree.py:60 +#: ops/notifications.py:19 rbac/tree.py:62 msgid "Component" msgstr "组件" @@ -4593,13 +4597,13 @@ msgstr "返回" msgid "Copy success" msgstr "复制成功" -#: authentication/templates/authentication/passkey.html:163 +#: authentication/templates/authentication/passkey.html:166 msgid "" "This page is not served over HTTPS. Please use HTTPS to ensure security of " "your credentials." msgstr "本页面未使用 HTTPS 协议,请使用 HTTPS 协议以确保您的凭据安全。" -#: authentication/templates/authentication/passkey.html:174 +#: authentication/templates/authentication/passkey.html:177 msgid "Do you want to retry ?" msgstr "是否重试 ?" @@ -6301,15 +6305,15 @@ msgstr "所有权限" msgid "Console view" msgstr "控制台" -#: rbac/tree.py:25 +#: rbac/tree.py:26 msgid "Workbench view" msgstr "工作台" -#: rbac/tree.py:26 +#: rbac/tree.py:27 msgid "Audit view" msgstr "审计台" -#: rbac/tree.py:27 settings/models.py:166 +#: rbac/tree.py:28 settings/models.py:166 msgid "System setting" msgstr "系统设置" @@ -6321,67 +6325,67 @@ msgstr "会话审计" msgid "Cloud import" msgstr "云同步" -#: rbac/tree.py:51 +#: rbac/tree.py:53 msgid "Gather account" msgstr "账号发现" -#: rbac/tree.py:53 +#: rbac/tree.py:55 msgid "Account change secret" msgstr "账号改密" -#: rbac/tree.py:55 +#: rbac/tree.py:57 msgid "App ops" msgstr "作业中心" -#: rbac/tree.py:57 settings/serializers/feature.py:183 +#: rbac/tree.py:59 settings/serializers/feature.py:183 msgid "Feature" msgstr "功能" -#: rbac/tree.py:58 settings/serializers/auth/base.py:11 +#: rbac/tree.py:60 settings/serializers/auth/base.py:11 msgid "Authentication" msgstr "认证" -#: rbac/tree.py:59 +#: rbac/tree.py:61 msgid "Storage" msgstr "存储" -#: rbac/tree.py:61 terminal/models/applet/applet.py:53 +#: rbac/tree.py:63 terminal/models/applet/applet.py:53 #: terminal/models/applet/applet.py:371 terminal/models/applet/host.py:30 #: terminal/serializers/applet.py:15 msgid "Applet" msgstr "远程应用" -#: rbac/tree.py:63 +#: rbac/tree.py:65 msgid "Appearance" msgstr "界面" -#: rbac/tree.py:65 xpack/plugins/license/meta.py:10 +#: rbac/tree.py:67 xpack/plugins/license/meta.py:10 #: xpack/plugins/license/models.py:153 msgid "License" msgstr "许可证" -#: rbac/tree.py:67 +#: rbac/tree.py:69 msgid "Job audit" msgstr "作业审计" -#: rbac/tree.py:159 +#: rbac/tree.py:169 msgid "App organizations" msgstr "组织管理" -#: rbac/tree.py:160 +#: rbac/tree.py:170 msgid "Ticket comment" msgstr "工单评论" -#: rbac/tree.py:161 settings/serializers/feature.py:164 +#: rbac/tree.py:171 settings/serializers/feature.py:164 #: settings/serializers/feature.py:166 tickets/models/ticket/general.py:310 msgid "Ticket" msgstr "工单" -#: rbac/tree.py:162 +#: rbac/tree.py:172 msgid "Common setting" msgstr "一般设置" -#: rbac/tree.py:163 +#: rbac/tree.py:173 msgid "View permission tree" msgstr "查看授权树" diff --git a/apps/i18n/core/zh_Hant/LC_MESSAGES/django.po b/apps/i18n/core/zh_Hant/LC_MESSAGES/django.po index 07fa21ec3..f8e213f84 100644 --- a/apps/i18n/core/zh_Hant/LC_MESSAGES/django.po +++ b/apps/i18n/core/zh_Hant/LC_MESSAGES/django.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: JumpServer 0.3.3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-06-19 20:06+0800\n" +"POT-Creation-Date: 2025-06-26 18:07+0800\n" "PO-Revision-Date: 2021-05-20 10:54+0800\n" "Last-Translator: ibuler \n" "Language-Team: JumpServer team\n" @@ -202,7 +202,7 @@ msgstr "模板" msgid "Skip" msgstr "跳過" -#: accounts/const/account.py:33 audits/const.py:24 rbac/tree.py:269 +#: accounts/const/account.py:33 audits/const.py:24 rbac/tree.py:279 #: templates/_csv_import_export.html:18 templates/_csv_update_modal.html:6 msgid "Update" msgstr "更新" @@ -214,7 +214,7 @@ msgstr "更新" msgid "Failed" msgstr "失敗" -#: accounts/const/automation.py:25 rbac/tree.py:52 +#: accounts/const/automation.py:25 rbac/tree.py:54 msgid "Push account" msgstr "帳號推送" @@ -244,7 +244,7 @@ msgstr "驗證網關帳號" msgid "Check account" msgstr "檢查帳號" -#: accounts/const/automation.py:32 rbac/tree.py:50 +#: accounts/const/automation.py:32 rbac/tree.py:52 msgid "Backup account" msgstr "備份帳號" @@ -607,7 +607,7 @@ msgstr "金鑰" #: assets/models/automations/base.py:22 assets/models/cmd_filter.py:38 #: assets/serializers/asset/common.py:148 #: assets/serializers/asset/common.py:423 perms/serializers/permission.py:66 -#: perms/serializers/user_permission.py:76 rbac/tree.py:35 +#: perms/serializers/user_permission.py:76 rbac/tree.py:50 msgid "Accounts" msgstr "帳號管理" @@ -652,12 +652,12 @@ msgid "Password divided" msgstr "密鑰是否拆分成前後兩部分" #: accounts/models/automations/backup_account.py:33 -#: accounts/serializers/automations/backup.py:34 +#: accounts/serializers/automations/backup.py:35 msgid "Recipient part one" msgstr "收件人部分一" #: accounts/models/automations/backup_account.py:37 -#: accounts/serializers/automations/backup.py:38 +#: accounts/serializers/automations/backup.py:39 msgid "Recipient part two" msgstr "收件人部分二" @@ -771,7 +771,7 @@ msgstr "狀態" #: accounts/serializers/account/account.py:279 #: accounts/templates/accounts/change_secret_failed_info.html:13 #: assets/const/automation.py:9 -#: authentication/templates/authentication/passkey.html:174 +#: authentication/templates/authentication/passkey.html:177 #: authentication/views/base.py:42 authentication/views/base.py:43 #: authentication/views/base.py:44 common/const/choices.py:67 #: settings/templates/ldap/_msg_import_ldap_user.html:26 @@ -893,7 +893,7 @@ msgstr "風險" msgid "Detail" msgstr "詳情" -#: accounts/models/automations/check_account.py:76 +#: accounts/models/automations/check_account.py:76 rbac/tree.py:51 msgid "Account risk" msgstr "帳號風險" @@ -901,39 +901,43 @@ msgstr "帳號風險" msgid "Slug" msgstr "" -#: accounts/models/automations/check_account.py:128 +#: accounts/models/automations/check_account.py:123 +msgid "Check engine" +msgstr "檢測引擎" + +#: accounts/models/automations/check_account.py:131 msgid "Check the discovered accounts" msgstr "檢查發現的帳戶" -#: accounts/models/automations/check_account.py:130 +#: accounts/models/automations/check_account.py:133 msgid "" "Perform checks and analyses based on automatically discovered account " "results, including user groups, public keys, sudoers, and other information." msgstr "根據自動發現的帳戶結果進行檢查分析,包括用戶組、公鑰、sudoers等信息。" -#: accounts/models/automations/check_account.py:137 +#: accounts/models/automations/check_account.py:140 msgid "Check the strength of your account and password" msgstr "檢查您的帳號和密碼的強度" -#: accounts/models/automations/check_account.py:139 +#: accounts/models/automations/check_account.py:142 msgid "" "Perform checks and analyses based on the security of account passwords, " "including password strength, leakage, etc." msgstr "針對帳號密碼的安全性進行檢查分析,包括密碼強度、洩露情況等。" -#: accounts/models/automations/check_account.py:146 +#: accounts/models/automations/check_account.py:149 msgid "Check if the account and password are repeated" msgstr "檢查帳號和密碼是否重複" -#: accounts/models/automations/check_account.py:147 +#: accounts/models/automations/check_account.py:150 msgid "Check if the account is the same as other accounts." msgstr "檢查該帳號是否與其他帳戶相同。" -#: accounts/models/automations/check_account.py:152 +#: accounts/models/automations/check_account.py:155 msgid "Check whether the account password is a common password" msgstr "檢查帳號密碼是否為常用密碼" -#: accounts/models/automations/check_account.py:153 +#: accounts/models/automations/check_account.py:156 msgid "Check whether the account password is a commonly leaked password." msgstr "檢查帳號密碼是否為常見洩露密碼。" @@ -1384,17 +1388,17 @@ msgstr "" "當前僅支持 AD/LDAP 登錄方式用戶。 同名帳號密碼生效順序: 資產上存在的同名帳號密碼 > 登錄密碼 > 手動輸入
" "為了安全起見,請設置配置項 CACHE_LOGIN_PASSWORD_ENABLED=true,重啟服務才能開啟" -#: accounts/serializers/automations/backup.py:18 +#: accounts/serializers/automations/backup.py:19 msgid "Zip Encrypt Password" msgstr "文件加密密碼" -#: accounts/serializers/automations/backup.py:35 -#: accounts/serializers/automations/backup.py:39 +#: accounts/serializers/automations/backup.py:36 +#: accounts/serializers/automations/backup.py:40 #: accounts/serializers/automations/change_secret.py:62 msgid "Currently only mail sending is supported" msgstr "當前只支持郵件發送" -#: accounts/serializers/automations/backup.py:41 +#: accounts/serializers/automations/backup.py:42 msgid "Asset type" msgstr "資產類型" @@ -2252,7 +2256,7 @@ msgstr "Windows 活動目錄" msgid "ChatGPT" msgstr "ChatGPT" -#: assets/const/host.py:13 rbac/tree.py:28 rbac/tree.py:66 +#: assets/const/host.py:13 rbac/tree.py:29 rbac/tree.py:68 #: xpack/plugins/cloud/const.py:75 msgid "Other" msgstr "其它" @@ -2296,7 +2300,7 @@ msgstr "連接到控制台會話" msgid "Any" msgstr "任意" -#: assets/const/protocol.py:88 rbac/tree.py:62 +#: assets/const/protocol.py:88 rbac/tree.py:64 #: settings/serializers/security.py:273 msgid "Security" msgstr "安全" @@ -2661,7 +2665,7 @@ msgstr "自訂名稱" msgid "Custom Comment" msgstr "自訂備註" -#: assets/models/my_asset.py:18 rbac/tree.py:54 +#: assets/models/my_asset.py:18 rbac/tree.py:56 msgid "My assets" msgstr "我的資產" @@ -3254,7 +3258,7 @@ msgstr "刪除目錄" #: audits/const.py:14 audits/const.py:25 #: authentication/templates/authentication/_access_key_modal.html:65 -#: rbac/tree.py:270 +#: rbac/tree.py:280 msgid "Delete" msgstr "刪除" @@ -3280,7 +3284,7 @@ msgstr "下載" msgid "Rename dir" msgstr "映射目錄" -#: audits/const.py:23 rbac/tree.py:268 terminal/api/session/session.py:284 +#: audits/const.py:23 rbac/tree.py:278 terminal/api/session/session.py:284 #: terminal/templates/terminal/_msg_command_warning.html:18 #: terminal/templates/terminal/_msg_session_sharing.html:10 #: xpack/plugins/cloud/manager.py:102 @@ -3289,7 +3293,7 @@ msgstr "查看" #: audits/const.py:26 #: authentication/templates/authentication/_access_key_modal.html:22 -#: rbac/tree.py:267 +#: rbac/tree.py:277 msgid "Create" msgstr "創建" @@ -3307,7 +3311,7 @@ msgstr "連接" msgid "Login" msgstr "登錄" -#: audits/const.py:36 rbac/tree.py:56 +#: audits/const.py:36 rbac/tree.py:58 msgid "Notifications" msgstr "通知" @@ -3340,7 +3344,7 @@ msgstr "會話日誌" msgid "Login log" msgstr "登錄日誌" -#: audits/const.py:55 rbac/tree.py:64 terminal/models/applet/host.py:144 +#: audits/const.py:55 rbac/tree.py:66 terminal/models/applet/host.py:144 #: terminal/models/component/task.py:22 #: xpack/plugins/cloud/serializers/account.py:78 msgid "Task" @@ -3619,7 +3623,7 @@ msgstr "最多可以創建10個訪問金鑰" msgid "The value in the parameter must contain %s" msgstr "參數中的值必須包含 %s" -#: authentication/api/confirm.py:50 +#: authentication/api/confirm.py:51 msgid "This action require verify your MFA" msgstr "該操作需要驗證您的 MFA, 請先開啟並配置" @@ -4214,7 +4218,7 @@ msgid "Options" msgstr "選項" #: authentication/serializers/connect_token_secret.py:129 -#: ops/notifications.py:19 rbac/tree.py:60 +#: ops/notifications.py:19 rbac/tree.py:62 msgid "Component" msgstr "組件" @@ -4544,13 +4548,13 @@ msgstr "返回" msgid "Copy success" msgstr "複製成功" -#: authentication/templates/authentication/passkey.html:163 +#: authentication/templates/authentication/passkey.html:166 msgid "" "This page is not served over HTTPS. Please use HTTPS to ensure security of " "your credentials." msgstr "本頁面未使用 HTTPS 協議,請使用 HTTPS 協議以確保您的憑據安全。" -#: authentication/templates/authentication/passkey.html:174 +#: authentication/templates/authentication/passkey.html:177 msgid "Do you want to retry ?" msgstr "是否重試 ?" @@ -6222,15 +6226,15 @@ msgstr "所有權限" msgid "Console view" msgstr "控制台" -#: rbac/tree.py:25 +#: rbac/tree.py:26 msgid "Workbench view" msgstr "工作檯" -#: rbac/tree.py:26 +#: rbac/tree.py:27 msgid "Audit view" msgstr "審計台" -#: rbac/tree.py:27 settings/models.py:166 +#: rbac/tree.py:28 settings/models.py:166 msgid "System setting" msgstr "系統設置" @@ -6242,67 +6246,67 @@ msgstr "會話審計" msgid "Cloud import" msgstr "雲同步" -#: rbac/tree.py:51 +#: rbac/tree.py:53 msgid "Gather account" msgstr "收集帳號" -#: rbac/tree.py:53 +#: rbac/tree.py:55 msgid "Account change secret" msgstr "帳號改密" -#: rbac/tree.py:55 +#: rbac/tree.py:57 msgid "App ops" msgstr "作業中心" -#: rbac/tree.py:57 settings/serializers/feature.py:183 +#: rbac/tree.py:59 settings/serializers/feature.py:183 msgid "Feature" msgstr "功能" -#: rbac/tree.py:58 settings/serializers/auth/base.py:11 +#: rbac/tree.py:60 settings/serializers/auth/base.py:11 msgid "Authentication" msgstr "認證" -#: rbac/tree.py:59 +#: rbac/tree.py:61 msgid "Storage" msgstr "儲存" -#: rbac/tree.py:61 terminal/models/applet/applet.py:53 +#: rbac/tree.py:63 terminal/models/applet/applet.py:53 #: terminal/models/applet/applet.py:371 terminal/models/applet/host.py:30 #: terminal/serializers/applet.py:15 msgid "Applet" msgstr "遠程應用" -#: rbac/tree.py:63 +#: rbac/tree.py:65 msgid "Appearance" msgstr "介面" -#: rbac/tree.py:65 xpack/plugins/license/meta.py:10 +#: rbac/tree.py:67 xpack/plugins/license/meta.py:10 #: xpack/plugins/license/models.py:153 msgid "License" msgstr "許可證" -#: rbac/tree.py:67 +#: rbac/tree.py:69 msgid "Job audit" msgstr "作業審核" -#: rbac/tree.py:159 +#: rbac/tree.py:169 msgid "App organizations" msgstr "組織管理" -#: rbac/tree.py:160 +#: rbac/tree.py:170 msgid "Ticket comment" msgstr "工單評論" -#: rbac/tree.py:161 settings/serializers/feature.py:164 +#: rbac/tree.py:171 settings/serializers/feature.py:164 #: settings/serializers/feature.py:166 tickets/models/ticket/general.py:310 msgid "Ticket" msgstr "工單管理" -#: rbac/tree.py:162 +#: rbac/tree.py:172 msgid "Common setting" msgstr "一般設定" -#: rbac/tree.py:163 +#: rbac/tree.py:173 msgid "View permission tree" msgstr "查看授權樹" diff --git a/apps/rbac/const.py b/apps/rbac/const.py index 966b498ba..da3782944 100644 --- a/apps/rbac/const.py +++ b/apps/rbac/const.py @@ -60,7 +60,10 @@ exclude_permissions = ( ('assets', 'asset', 'push', 'assetaccount'), ('accounts', 'historicalaccount', '*', '*'), + ('accounts', 'serviceintegration', '*', '*'), ('accounts', 'accountbaseautomation', '*', '*'), + ('accounts', 'accountbackupautomation', '*', '*'), + ('accounts', 'pushsecretrecord', 'add,change,delete', '*'), ('accounts', 'verifyaccountautomation', '*', '*'), ('accounts', 'gatheredaccount', 'add,change', '*'), ('accounts', 'automationexecution', '*', 'automationexecution'), diff --git a/apps/rbac/migrations/0004_auto_20250626_1613.py b/apps/rbac/migrations/0004_auto_20250626_1613.py new file mode 100644 index 000000000..56ac441b0 --- /dev/null +++ b/apps/rbac/migrations/0004_auto_20250626_1613.py @@ -0,0 +1,22 @@ +# Generated by Django 4.1.13 on 2025-06-26 08:13 + +from django.db import migrations + + +def migrate_remove_redundant_permission(apps, *args): + perm_model = apps.get_model('auth', 'Permission') + perm_model.objects.filter(codename__in=[ + 'add_pushsecretexecution', + 'view_accountbackupexecution', + 'add_accountbackupexecution' + ]).delete() + + +class Migration(migrations.Migration): + dependencies = [ + ('rbac', '0003_auto_20211130_1037'), + ] + + operations = [ + migrations.RunPython(migrate_remove_redundant_permission) + ] diff --git a/apps/rbac/tree.py b/apps/rbac/tree.py index 230fe81a8..a09201d47 100644 --- a/apps/rbac/tree.py +++ b/apps/rbac/tree.py @@ -22,6 +22,7 @@ root_node_data = { # 第二层 view 节点,手动创建的 view_nodes_data = [ {'id': 'view_console', 'name': _('Console view')}, + {'id': 'view_pam', 'name': 'Pam'}, {'id': 'view_workbench', 'name': _('Workbench view')}, {'id': 'view_audit', 'name': _('Audit view')}, {'id': 'view_setting', 'name': _('System setting')}, @@ -32,7 +33,6 @@ view_nodes_data = [ app_nodes_data = [ {'id': 'users', 'view': 'view_console'}, {'id': 'assets', 'view': 'view_console'}, - {'id': 'accounts', 'name': _('Accounts'), 'view': 'view_console'}, {'id': 'perms', 'view': 'view_console'}, {'id': 'terminal', 'name': _('Session audits'), 'view': 'view_audit'}, {'id': 'audits', 'view': 'view_audit'}, @@ -47,10 +47,12 @@ app_nodes_data = [ # 额外其他节点,可以在不同的层次,需要指定父节点,可以将一些 model 归类到这个节点下面 extra_nodes_data = [ {"id": "cloud_import", "name": _("Cloud import"), "pId": "assets"}, - {"id": "backup_account_node", "name": _("Backup account"), "pId": "accounts"}, - {"id": "gather_account_node", "name": _("Gather account"), "pId": "accounts"}, - {"id": "push_account_node", "name": _("Push account"), "pId": "accounts"}, - {"id": "asset_change_plan_node", "name": _("Account change secret"), "pId": "accounts"}, + {"id": "account_node", "name": _("Accounts"), "pId": "view_pam"}, + {"id": "account_risk_node", "name": _("Account risk"), "pId": "view_pam"}, + {"id": "backup_account_node", "name": _("Backup account"), "pId": "view_pam"}, + {"id": "gather_account_node", "name": _("Gather account"), "pId": "view_pam"}, + {"id": "push_account_node", "name": _("Push account"), "pId": "view_pam"}, + {"id": "account_change_plan_node", "name": _("Account change secret"), "pId": "view_pam"}, {'id': "my_assets", "name": _("My assets"), "pId": "view_workbench"}, {'id': "operation_center", "name": _('App ops'), "pId": "view_workbench"}, {'id': "notifications", "name": _("Notifications"), "pId": "view_setting"}, @@ -70,8 +72,6 @@ extra_nodes_data = [ # 将 model 放到其它节点下,而不是本来的 app 中 special_pid_mapper = { 'common.permission': 'view_other', - 'assets.account': 'accounts', - 'assets.accounttemplate': 'accounts', 'acls.commandfilteracl': 'perms', 'acls.commandgroup': 'perms', 'acls.loginacl': 'perms', @@ -84,19 +84,29 @@ special_pid_mapper = { 'xpack.strategy': 'cloud_import', 'xpack.strategyaction': 'cloud_import', 'xpack.strategyrule': 'cloud_import', - 'accounts.accountbackupautomation': "backup_account_node", - 'accounts.accountbackupexecution': "backup_account_node", + 'accounts.account': 'account_node', + 'accounts.accounttemplate': 'account_node', + 'accounts.accountrisk': 'account_risk_node', + 'accounts.checkaccountengine': 'account_risk_node', + 'accounts.checkaccountautomation': 'account_risk_node', + 'accounts.checkaccountexecution': 'account_risk_node', + 'accounts.integrationapplication': 'view_pam', + 'accounts.virtualaccount': 'view_pam', + 'accounts.backupaccountautomation': 'backup_account_node', + 'accounts.view_backupaccountexecution': 'backup_account_node', + 'accounts.add_backupaccountexecution': 'backup_account_node', "accounts.pushaccountautomation": "push_account_node", "accounts.view_pushaccountexecution": "push_account_node", "accounts.add_pushaccountexecution": "push_account_node", + 'accounts.view_pushsecretrecord': 'push_account_node', "accounts.gatheredaccount": "gather_account_node", "accounts.gatheraccountsautomation": "gather_account_node", "accounts.view_gatheraccountsexecution": "gather_account_node", "accounts.add_gatheraccountsexecution": "gather_account_node", - "accounts.changesecretautomation": "asset_change_plan_node", - "accounts.view_changesecretexecution": "asset_change_plan_node", - "accounts.add_changesecretexecution": "asset_change_plan_node", - "accounts.view_changesecretrecord": "asset_change_plan_node", + "accounts.changesecretautomation": "account_change_plan_node", + "accounts.view_changesecretexecution": "account_change_plan_node", + "accounts.add_changesecretexecution": "account_change_plan_node", + "accounts.view_changesecretrecord": "account_change_plan_node", 'audits.ftplog': 'terminal', 'perms.view_myassets': 'my_assets', 'ops.job': 'operation_center',