diff --git a/apps/i18n/core/en/LC_MESSAGES/django.po b/apps/i18n/core/en/LC_MESSAGES/django.po index 0b377baf9..7d095913e 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-07-17 15:06+0800\n" +"POT-Creation-Date: 2025-09-10 14:30+0800\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -451,9 +451,9 @@ msgstr "" #: audits/models.py:59 audits/models.py:318 audits/serializers.py:230 #: authentication/models/connection_token.py:41 #: perms/models/asset_permission.py:69 terminal/backends/command/models.py:17 -#: terminal/models/session/session.py:36 terminal/notifications.py:156 +#: terminal/models/session/session.py:36 terminal/notifications.py:160 #: terminal/serializers/command.py:17 terminal/serializers/session.py:38 -#: terminal/templates/terminal/_msg_command_warning.html:4 +#: terminal/templates/terminal/_msg_command_warning.html:10 #: terminal/templates/terminal/_msg_session_sharing.html:4 #: tickets/models/ticket/apply_asset.py:17 xpack/plugins/cloud/models.py:295 msgid "Asset" @@ -513,13 +513,13 @@ msgstr "" #: accounts/serializers/automations/change_secret.py:148 #: accounts/templates/accounts/change_secret_failed_info.html:12 #: acls/serializers/base.py:133 -#: acls/templates/acls/asset_login_reminder.html:10 +#: acls/templates/acls/asset_login_reminder.html:11 #: assets/serializers/gateway.py:33 audits/models.py:60 audits/models.py:319 #: audits/serializers.py:231 authentication/api/connection_token.py:464 #: ops/models/base.py:18 perms/models/asset_permission.py:75 #: settings/serializers/msg.py:33 terminal/backends/command/models.py:18 #: terminal/models/session/session.py:38 terminal/serializers/command.py:72 -#: terminal/templates/terminal/_msg_command_warning.html:8 +#: terminal/templates/terminal/_msg_command_warning.html:11 #: terminal/templates/terminal/_msg_session_sharing.html:8 #: tickets/models/ticket/command_confirm.py:14 #: xpack/plugins/cloud/models.py:106 xpack/plugins/cloud/ws.py:37 @@ -1211,7 +1211,7 @@ msgid "Changed" msgstr "" #: accounts/serializers/account/account.py:290 acls/models/base.py:97 -#: acls/templates/acls/asset_login_reminder.html:9 +#: acls/templates/acls/asset_login_reminder.html:10 #: assets/models/automations/base.py:25 #: assets/serializers/automations/base.py:20 assets/serializers/domain.py:33 #: assets/serializers/platform.py:181 assets/serializers/platform.py:213 @@ -1257,9 +1257,9 @@ msgstr "" #: rbac/builtin.py:127 rbac/models/rolebinding.py:49 #: rbac/serializers/rolebinding.py:17 terminal/backends/command/models.py:16 #: terminal/models/session/session.py:34 terminal/models/session/sharing.py:34 -#: terminal/notifications.py:157 terminal/notifications.py:217 +#: terminal/notifications.py:161 terminal/notifications.py:221 #: terminal/serializers/command.py:16 -#: terminal/templates/terminal/_msg_command_warning.html:6 +#: terminal/templates/terminal/_msg_command_warning.html:9 #: terminal/templates/terminal/_msg_session_sharing.html:6 #: tickets/models/comment.py:21 tickets/serializers/flow.py:15 #: users/const.py:14 users/models/user/__init__.py:293 @@ -1269,7 +1269,7 @@ msgstr "" #: accounts/serializers/account/account.py:484 #: authentication/templates/authentication/_access_key_modal.html:33 -#: terminal/notifications.py:159 terminal/notifications.py:219 +#: terminal/notifications.py:163 terminal/notifications.py:223 msgid "Date" msgstr "" @@ -1826,7 +1826,7 @@ msgstr "" #: terminal/models/session/session.py:47 terminal/serializers/command.py:18 #: terminal/templates/terminal/_msg_command_alert.html:12 #: terminal/templates/terminal/_msg_command_execute_alert.html:10 -#: terminal/templates/terminal/_msg_command_warning.html:23 +#: terminal/templates/terminal/_msg_command_warning.html:28 msgid "Command" msgstr "" @@ -1852,7 +1852,7 @@ msgstr "" #: acls/models/command_acl.py:33 acls/models/command_acl.py:97 #: acls/serializers/command_acl.py:29 #: authentication/serializers/connect_token_secret.py:90 -#: terminal/templates/terminal/_msg_command_warning.html:14 +#: terminal/templates/terminal/_msg_command_warning.html:23 msgid "Command group" msgstr "" @@ -1861,7 +1861,7 @@ msgid "The generated regular expression is incorrect: {}" msgstr "" #: acls/models/command_acl.py:103 -#: terminal/templates/terminal/_msg_command_warning.html:12 +#: terminal/templates/terminal/_msg_command_warning.html:22 msgid "Command acl" msgstr "" @@ -1882,7 +1882,7 @@ msgstr "" msgid "Rule" msgstr "" -#: acls/models/login_acl.py:14 +#: acls/models/login_acl.py:14 acls/templates/acls/user_login_reminder.html:12 msgid "Login acl" msgstr "" @@ -1891,6 +1891,7 @@ msgid "Login confirm" msgstr "" #: acls/models/login_asset_acl.py:12 +#: acls/templates/acls/asset_login_reminder.html:12 msgid "Login asset acl" msgstr "" @@ -1898,11 +1899,11 @@ msgstr "" msgid "Login asset confirm" msgstr "" -#: acls/notifications.py:12 +#: acls/notifications.py:13 msgid "User login reminder" msgstr "" -#: acls/notifications.py:42 +#: acls/notifications.py:45 msgid "User login alert for asset" msgstr "" @@ -1965,6 +1966,7 @@ msgstr "" #: authentication/templates/authentication/_msg_rest_password_success.html:2 #: authentication/templates/authentication/_msg_rest_public_key_success.html:2 #: perms/templates/perms/_msg_permed_items_expire.html:3 +#: terminal/templates/terminal/_msg_command_warning.html:3 #: users/templates/users/_msg_reset_mfa.html:4 msgid "Dear" msgstr "" @@ -1979,16 +1981,17 @@ msgstr "" msgid "Asset details" msgstr "" -#: acls/templates/acls/asset_login_reminder.html:14 -#: acls/templates/acls/user_login_reminder.html:15 +#: acls/templates/acls/asset_login_reminder.html:16 +#: acls/templates/acls/user_login_reminder.html:16 msgid "" "Please review the login activity to ensure the security and proper usage of " "the asset. If you did not authorize this login or if you notice any " "suspicious activity, please take the necessary actions immediately." msgstr "" -#: acls/templates/acls/asset_login_reminder.html:16 -#: acls/templates/acls/user_login_reminder.html:16 +#: acls/templates/acls/asset_login_reminder.html:18 +#: acls/templates/acls/user_login_reminder.html:17 +#: terminal/templates/terminal/_msg_command_warning.html:34 msgid "Thank you for your attention to this matter" msgstr "" @@ -2580,7 +2583,7 @@ msgstr "" msgid "Ping asset" msgstr "" -#: assets/models/base.py:17 terminal/notifications.py:243 +#: assets/models/base.py:17 terminal/notifications.py:247 msgid "Connectivity" msgstr "" @@ -3278,7 +3281,6 @@ msgid "Rename dir" msgstr "" #: audits/const.py:23 rbac/tree.py:278 terminal/api/session/session.py:285 -#: terminal/templates/terminal/_msg_command_warning.html:18 #: terminal/templates/terminal/_msg_session_sharing.html:10 #: xpack/plugins/cloud/manager.py:102 msgid "View" @@ -3377,7 +3379,7 @@ msgstr "" #: terminal/models/session/replay.py:9 terminal/models/session/sharing.py:20 #: terminal/models/session/sharing.py:95 terminal/serializers/command.py:19 #: terminal/templates/terminal/_msg_command_alert.html:10 -#: terminal/templates/terminal/_msg_command_warning.html:17 +#: terminal/templates/terminal/_msg_command_warning.html:25 #: tickets/models/ticket/command_confirm.py:16 msgid "Session" msgstr "" @@ -3654,7 +3656,7 @@ msgstr "" msgid "ACL action is face online" msgstr "" -#: authentication/api/connection_token.py:533 +#: authentication/api/connection_token.py:534 msgid "No available face feature" msgstr "" @@ -4100,6 +4102,7 @@ msgstr "" #: terminal/models/virtualapp/virtualapp.py:24 #: terminal/serializers/session.py:31 terminal/serializers/session.py:58 #: terminal/serializers/storage.py:71 +#: terminal/templates/terminal/_msg_command_warning.html:19 msgid "Protocol" msgstr "" @@ -5623,7 +5626,7 @@ msgid "Run as policy" msgstr "" #: ops/models/job.py:221 ops/models/variable.py:28 ops/serializers/job.py:111 -#: terminal/notifications.py:182 +#: terminal/notifications.py:186 msgid "Job" msgstr "" @@ -5885,7 +5888,7 @@ msgstr "" #: orgs/mixins/models.py:57 orgs/mixins/serializers.py:25 orgs/models.py:91 #: rbac/const.py:7 rbac/models/rolebinding.py:56 #: rbac/serializers/rolebinding.py:44 settings/serializers/auth/base.py:53 -#: terminal/templates/terminal/_msg_command_warning.html:21 +#: terminal/templates/terminal/_msg_command_warning.html:27 #: terminal/templates/terminal/_msg_session_sharing.html:14 #: tickets/models/ticket/general.py:303 tickets/serializers/ticket/ticket.py:61 msgid "Organization" @@ -8120,7 +8123,7 @@ msgid "Output" msgstr "" #: terminal/backends/command/models.py:24 terminal/serializers/command.py:22 -#: terminal/templates/terminal/_msg_command_warning.html:10 +#: terminal/templates/terminal/_msg_command_warning.html:21 msgid "Risk level" msgstr "" @@ -8456,6 +8459,7 @@ msgid "Account ID" msgstr "" #: terminal/models/session/session.py:41 terminal/models/session/sharing.py:118 +#: terminal/templates/terminal/_msg_command_warning.html:16 msgid "Login from" msgstr "" @@ -8509,7 +8513,7 @@ msgid "Origin" msgstr "" #: terminal/models/session/sharing.py:42 terminal/models/session/sharing.py:100 -#: terminal/notifications.py:279 +#: terminal/notifications.py:283 msgid "Session sharing" msgstr "" @@ -8579,26 +8583,26 @@ msgstr "" msgid "Command warning" msgstr "" -#: terminal/notifications.py:128 terminal/notifications.py:183 +#: terminal/notifications.py:132 terminal/notifications.py:187 msgid "Command reject" msgstr "" -#: terminal/notifications.py:158 terminal/notifications.py:218 +#: terminal/notifications.py:162 terminal/notifications.py:222 msgid "Level" msgstr "" -#: terminal/notifications.py:242 +#: terminal/notifications.py:246 msgid "Command and replay storage" msgstr "Storage" -#: terminal/notifications.py:258 terminal/tasks.py:212 +#: terminal/notifications.py:262 terminal/tasks.py:212 #: xpack/plugins/cloud/api.py:182 #: xpack/plugins/cloud/serializers/account.py:137 #: xpack/plugins/cloud/serializers/account.py:139 msgid "Test failure: Account invalid" msgstr "" -#: terminal/notifications.py:268 +#: terminal/notifications.py:272 #: terminal/templates/terminal/_msg_check_command_replay_storage_connectivity.html:4 msgid "Invalid storage" msgstr "" @@ -9102,6 +9106,27 @@ msgstr "" msgid "view" msgstr "" +#: terminal/templates/terminal/_msg_command_warning.html:5 +msgid "" +"We would like to inform you that a command alert has been triggered with the " +"following details:" +msgstr "" + +#: terminal/templates/terminal/_msg_command_warning.html:7 +msgid "Alert details" +msgstr "" + +#: terminal/templates/terminal/_msg_command_warning.html:25 +msgid "View session" +msgstr "" + +#: terminal/templates/terminal/_msg_command_warning.html:32 +msgid "" +"Please review this command execution to ensure it complies with your " +"organization’s security policies. If you did not authorize this action or " +"notice anything unusual, please take the necessary actions immediately." +msgstr "" + #: tickets/api/ticket.py:88 tickets/models/ticket/general.py:289 msgid "Applicant" msgstr "" diff --git a/apps/i18n/core/es/LC_MESSAGES/django.po b/apps/i18n/core/es/LC_MESSAGES/django.po index c0c4697bb..28bf3c1be 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-07-17 15:06+0800\n" +"POT-Creation-Date: 2025-09-10 14:30+0800\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -479,9 +479,9 @@ msgstr "" #: audits/models.py:59 audits/models.py:318 audits/serializers.py:230 #: authentication/models/connection_token.py:41 #: perms/models/asset_permission.py:69 terminal/backends/command/models.py:17 -#: terminal/models/session/session.py:36 terminal/notifications.py:156 +#: terminal/models/session/session.py:36 terminal/notifications.py:160 #: terminal/serializers/command.py:17 terminal/serializers/session.py:38 -#: terminal/templates/terminal/_msg_command_warning.html:4 +#: terminal/templates/terminal/_msg_command_warning.html:10 #: terminal/templates/terminal/_msg_session_sharing.html:4 #: tickets/models/ticket/apply_asset.py:17 xpack/plugins/cloud/models.py:295 msgid "Asset" @@ -541,13 +541,13 @@ msgstr "Estado de cambio de contraseña" #: accounts/serializers/automations/change_secret.py:148 #: accounts/templates/accounts/change_secret_failed_info.html:12 #: acls/serializers/base.py:133 -#: acls/templates/acls/asset_login_reminder.html:10 +#: acls/templates/acls/asset_login_reminder.html:11 #: assets/serializers/gateway.py:33 audits/models.py:60 audits/models.py:319 #: audits/serializers.py:231 authentication/api/connection_token.py:464 #: ops/models/base.py:18 perms/models/asset_permission.py:75 #: settings/serializers/msg.py:33 terminal/backends/command/models.py:18 #: terminal/models/session/session.py:38 terminal/serializers/command.py:72 -#: terminal/templates/terminal/_msg_command_warning.html:8 +#: terminal/templates/terminal/_msg_command_warning.html:11 #: terminal/templates/terminal/_msg_session_sharing.html:8 #: tickets/models/ticket/command_confirm.py:14 #: xpack/plugins/cloud/models.py:106 xpack/plugins/cloud/ws.py:37 @@ -1268,7 +1268,7 @@ msgid "Changed" msgstr "Modificado" #: accounts/serializers/account/account.py:290 acls/models/base.py:97 -#: acls/templates/acls/asset_login_reminder.html:9 +#: acls/templates/acls/asset_login_reminder.html:10 #: assets/models/automations/base.py:25 #: assets/serializers/automations/base.py:20 assets/serializers/domain.py:33 #: assets/serializers/platform.py:181 assets/serializers/platform.py:213 @@ -1315,9 +1315,9 @@ msgstr "ID" #: rbac/builtin.py:127 rbac/models/rolebinding.py:49 #: rbac/serializers/rolebinding.py:17 terminal/backends/command/models.py:16 #: terminal/models/session/session.py:34 terminal/models/session/sharing.py:34 -#: terminal/notifications.py:157 terminal/notifications.py:217 +#: terminal/notifications.py:161 terminal/notifications.py:221 #: terminal/serializers/command.py:16 -#: terminal/templates/terminal/_msg_command_warning.html:6 +#: terminal/templates/terminal/_msg_command_warning.html:9 #: terminal/templates/terminal/_msg_session_sharing.html:6 #: tickets/models/comment.py:21 tickets/serializers/flow.py:15 #: users/const.py:14 users/models/user/__init__.py:293 @@ -1327,7 +1327,7 @@ msgstr "Usuario" #: accounts/serializers/account/account.py:484 #: authentication/templates/authentication/_access_key_modal.html:33 -#: terminal/notifications.py:159 terminal/notifications.py:219 +#: terminal/notifications.py:163 terminal/notifications.py:223 msgid "Date" msgstr "Fecha" @@ -1939,7 +1939,7 @@ msgstr "Usuario" #: terminal/models/session/session.py:47 terminal/serializers/command.py:18 #: terminal/templates/terminal/_msg_command_alert.html:12 #: terminal/templates/terminal/_msg_command_execute_alert.html:10 -#: terminal/templates/terminal/_msg_command_warning.html:23 +#: terminal/templates/terminal/_msg_command_warning.html:28 msgid "Command" msgstr "Comando" @@ -1965,7 +1965,7 @@ msgstr "Ignorar mayúsculas y minúsculas" #: acls/models/command_acl.py:33 acls/models/command_acl.py:97 #: acls/serializers/command_acl.py:29 #: authentication/serializers/connect_token_secret.py:90 -#: terminal/templates/terminal/_msg_command_warning.html:14 +#: terminal/templates/terminal/_msg_command_warning.html:23 msgid "Command group" msgstr "Grupo de comandos" @@ -1974,7 +1974,7 @@ msgid "The generated regular expression is incorrect: {}" msgstr "La expresión regular generada es incorrecta" #: acls/models/command_acl.py:103 -#: terminal/templates/terminal/_msg_command_warning.html:12 +#: terminal/templates/terminal/_msg_command_warning.html:22 msgid "Command acl" msgstr "Filtración de comandos" @@ -1995,7 +1995,7 @@ msgstr "Control de modo de conexión" msgid "Rule" msgstr "Reglas" -#: acls/models/login_acl.py:14 +#: acls/models/login_acl.py:14 acls/templates/acls/user_login_reminder.html:12 msgid "Login acl" msgstr "Control de acceso al inicio de sesión" @@ -2004,6 +2004,7 @@ msgid "Login confirm" msgstr "Revisión de inicio de sesión" #: acls/models/login_asset_acl.py:12 +#: acls/templates/acls/asset_login_reminder.html:12 msgid "Login asset acl" msgstr "Control de acceso a los activos en el inicio de sesión" @@ -2011,11 +2012,11 @@ msgstr "Control de acceso a los activos en el inicio de sesión" msgid "Login asset confirm" msgstr "Revisión de activos al inicio de sesión" -#: acls/notifications.py:12 +#: acls/notifications.py:13 msgid "User login reminder" msgstr "Notificación de inicio de sesión del usuario" -#: acls/notifications.py:42 +#: acls/notifications.py:45 msgid "User login alert for asset" msgstr "Notificación de inicio de sesión de activos" @@ -2083,6 +2084,7 @@ msgstr "Intervalo de tiempo" #: authentication/templates/authentication/_msg_rest_password_success.html:2 #: authentication/templates/authentication/_msg_rest_public_key_success.html:2 #: perms/templates/perms/_msg_permed_items_expire.html:3 +#: terminal/templates/terminal/_msg_command_warning.html:3 #: users/templates/users/_msg_reset_mfa.html:4 msgid "Dear" msgstr "Estimado/a" @@ -2099,8 +2101,8 @@ msgstr "" msgid "Asset details" msgstr "Detalles del activo" -#: acls/templates/acls/asset_login_reminder.html:14 -#: acls/templates/acls/user_login_reminder.html:15 +#: acls/templates/acls/asset_login_reminder.html:16 +#: acls/templates/acls/user_login_reminder.html:16 msgid "" "Please review the login activity to ensure the security and proper usage of " "the asset. If you did not authorize this login or if you notice any " @@ -2111,8 +2113,9 @@ msgstr "" "inicio de sesión o ha detectado alguna actividad sospechosa, por favor tome " "las medidas necesarias de inmediato." -#: acls/templates/acls/asset_login_reminder.html:16 -#: acls/templates/acls/user_login_reminder.html:16 +#: acls/templates/acls/asset_login_reminder.html:18 +#: acls/templates/acls/user_login_reminder.html:17 +#: terminal/templates/terminal/_msg_command_warning.html:34 msgid "Thank you for your attention to this matter" msgstr "Agradecemos su atención a este asunto." @@ -2728,7 +2731,7 @@ msgstr "Recopilar información de activos" msgid "Ping asset" msgstr "Probar activos" -#: assets/models/base.py:17 terminal/notifications.py:243 +#: assets/models/base.py:17 terminal/notifications.py:247 msgid "Connectivity" msgstr "Conectividad" @@ -3472,7 +3475,6 @@ msgid "Rename dir" msgstr "Mapear directorio" #: audits/const.py:23 rbac/tree.py:278 terminal/api/session/session.py:285 -#: terminal/templates/terminal/_msg_command_warning.html:18 #: terminal/templates/terminal/_msg_session_sharing.html:10 #: xpack/plugins/cloud/manager.py:102 msgid "View" @@ -3571,7 +3573,7 @@ msgstr "Descargable" #: terminal/models/session/replay.py:9 terminal/models/session/sharing.py:20 #: terminal/models/session/sharing.py:95 terminal/serializers/command.py:19 #: terminal/templates/terminal/_msg_command_alert.html:10 -#: terminal/templates/terminal/_msg_command_warning.html:17 +#: terminal/templates/terminal/_msg_command_warning.html:25 #: tickets/models/ticket/command_confirm.py:16 msgid "Session" msgstr "Conversación" @@ -3868,7 +3870,7 @@ msgstr "" msgid "ACL action is face online" msgstr "La acción de ACL es verificación facial en línea." -#: authentication/api/connection_token.py:533 +#: authentication/api/connection_token.py:534 msgid "No available face feature" msgstr "No hay características faciales disponibles." @@ -4345,6 +4347,7 @@ msgstr "Contraseña personalizada" #: terminal/models/virtualapp/virtualapp.py:24 #: terminal/serializers/session.py:31 terminal/serializers/session.py:58 #: terminal/serializers/storage.py:71 +#: terminal/templates/terminal/_msg_command_warning.html:19 msgid "Protocol" msgstr "Protocolo" @@ -5982,7 +5985,7 @@ msgid "Run as policy" msgstr "Política de usuario" #: ops/models/job.py:221 ops/models/variable.py:28 ops/serializers/job.py:111 -#: terminal/notifications.py:182 +#: terminal/notifications.py:186 msgid "Job" msgstr "Trabajo" @@ -6275,7 +6278,7 @@ msgstr "Por favor, seleccione una organización antes de guardar." #: orgs/mixins/models.py:57 orgs/mixins/serializers.py:25 orgs/models.py:91 #: rbac/const.py:7 rbac/models/rolebinding.py:56 #: rbac/serializers/rolebinding.py:44 settings/serializers/auth/base.py:53 -#: terminal/templates/terminal/_msg_command_warning.html:21 +#: terminal/templates/terminal/_msg_command_warning.html:27 #: terminal/templates/terminal/_msg_session_sharing.html:14 #: tickets/models/ticket/general.py:303 #: tickets/serializers/ticket/ticket.py:61 @@ -8824,7 +8827,7 @@ msgid "Output" msgstr "Salida" #: terminal/backends/command/models.py:24 terminal/serializers/command.py:22 -#: terminal/templates/terminal/_msg_command_warning.html:10 +#: terminal/templates/terminal/_msg_command_warning.html:21 msgid "Risk level" msgstr "Nivel de riesgo" @@ -9174,6 +9177,7 @@ msgstr "Cuenta" #: terminal/models/session/session.py:41 #: terminal/models/session/sharing.py:118 +#: terminal/templates/terminal/_msg_command_warning.html:16 msgid "Login from" msgstr "Fuente de inicio de sesión" @@ -9227,7 +9231,7 @@ msgid "Origin" msgstr "Procedencia" #: terminal/models/session/sharing.py:42 -#: terminal/models/session/sharing.py:100 terminal/notifications.py:279 +#: terminal/models/session/sharing.py:100 terminal/notifications.py:283 msgid "Session sharing" msgstr "Compartir conversación" @@ -9297,26 +9301,26 @@ msgstr "conversación" msgid "Command warning" msgstr "Comando de advertencia" -#: terminal/notifications.py:128 terminal/notifications.py:183 +#: terminal/notifications.py:132 terminal/notifications.py:187 msgid "Command reject" msgstr "Comando rechazado" -#: terminal/notifications.py:158 terminal/notifications.py:218 +#: terminal/notifications.py:162 terminal/notifications.py:222 msgid "Level" msgstr "Nivel" -#: terminal/notifications.py:242 +#: terminal/notifications.py:246 msgid "Command and replay storage" msgstr "Almacenamiento de comandos y grabaciones" -#: terminal/notifications.py:258 terminal/tasks.py:212 +#: terminal/notifications.py:262 terminal/tasks.py:212 #: xpack/plugins/cloud/api.py:182 #: xpack/plugins/cloud/serializers/account.py:137 #: xpack/plugins/cloud/serializers/account.py:139 msgid "Test failure: Account invalid" msgstr "Prueba fallida: cuenta no válida" -#: terminal/notifications.py:268 +#: terminal/notifications.py:272 #: terminal/templates/terminal/_msg_check_command_replay_storage_connectivity.html:4 msgid "Invalid storage" msgstr "Almacenamiento no válido" @@ -9871,6 +9875,33 @@ msgstr "" msgid "view" msgstr "Ver" +#: terminal/templates/terminal/_msg_command_warning.html:5 +msgid "" +"We would like to inform you that a command alert has been triggered with the" +" following details:" +msgstr "" +"Queremos informarle que se ha activado la alerta de comando, con el " +"siguiente contenido: :" + +#: terminal/templates/terminal/_msg_command_warning.html:7 +msgid "Alert details" +msgstr "Detalles de la alerta" + +#: terminal/templates/terminal/_msg_command_warning.html:25 +msgid "View session" +msgstr "Ver sesión" + +#: terminal/templates/terminal/_msg_command_warning.html:32 +msgid "" +"Please review this command execution to ensure it complies with your " +"organization’s security policies. If you did not authorize this action or " +"notice anything unusual, please take the necessary actions immediately." +msgstr "" +"Por favor, verifique la ejecución de este comando para asegurarse de que " +"cumple con la política de seguridad de su organización. Si no ha autorizado " +"esta operación o si encuentra alguna anomalía, tome las medidas necesarias " +"de inmediato." + #: tickets/api/ticket.py:88 tickets/models/ticket/general.py:289 msgid "Applicant" msgstr "Solicitante" diff --git a/apps/i18n/core/ja/LC_MESSAGES/django.po b/apps/i18n/core/ja/LC_MESSAGES/django.po index 43deb0cf9..186a142c6 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-07-17 15:06+0800\n" +"POT-Creation-Date: 2025-09-10 14:30+0800\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -455,9 +455,9 @@ msgstr "Vault 操作に失敗しました。再試行するか、Vault のアカ #: audits/models.py:59 audits/models.py:318 audits/serializers.py:230 #: authentication/models/connection_token.py:41 #: perms/models/asset_permission.py:69 terminal/backends/command/models.py:17 -#: terminal/models/session/session.py:36 terminal/notifications.py:156 +#: terminal/models/session/session.py:36 terminal/notifications.py:160 #: terminal/serializers/command.py:17 terminal/serializers/session.py:38 -#: terminal/templates/terminal/_msg_command_warning.html:4 +#: terminal/templates/terminal/_msg_command_warning.html:10 #: terminal/templates/terminal/_msg_session_sharing.html:4 #: tickets/models/ticket/apply_asset.py:17 xpack/plugins/cloud/models.py:295 msgid "Asset" @@ -532,13 +532,13 @@ msgstr "変更状態" #: accounts/serializers/automations/change_secret.py:148 #: accounts/templates/accounts/change_secret_failed_info.html:12 #: acls/serializers/base.py:133 -#: acls/templates/acls/asset_login_reminder.html:10 +#: acls/templates/acls/asset_login_reminder.html:11 #: assets/serializers/gateway.py:33 audits/models.py:60 audits/models.py:319 #: audits/serializers.py:231 authentication/api/connection_token.py:464 #: ops/models/base.py:18 perms/models/asset_permission.py:75 #: settings/serializers/msg.py:33 terminal/backends/command/models.py:18 #: terminal/models/session/session.py:38 terminal/serializers/command.py:72 -#: terminal/templates/terminal/_msg_command_warning.html:8 +#: terminal/templates/terminal/_msg_command_warning.html:11 #: terminal/templates/terminal/_msg_session_sharing.html:8 #: tickets/models/ticket/command_confirm.py:14 #: xpack/plugins/cloud/models.py:106 xpack/plugins/cloud/ws.py:37 @@ -1238,7 +1238,7 @@ msgid "Changed" msgstr "編集済み" #: accounts/serializers/account/account.py:290 acls/models/base.py:97 -#: acls/templates/acls/asset_login_reminder.html:9 +#: acls/templates/acls/asset_login_reminder.html:10 #: assets/models/automations/base.py:25 #: assets/serializers/automations/base.py:20 assets/serializers/domain.py:33 #: assets/serializers/platform.py:181 assets/serializers/platform.py:213 @@ -1285,9 +1285,9 @@ msgstr "ID" #: rbac/builtin.py:127 rbac/models/rolebinding.py:49 #: rbac/serializers/rolebinding.py:17 terminal/backends/command/models.py:16 #: terminal/models/session/session.py:34 terminal/models/session/sharing.py:34 -#: terminal/notifications.py:157 terminal/notifications.py:217 +#: terminal/notifications.py:161 terminal/notifications.py:221 #: terminal/serializers/command.py:16 -#: terminal/templates/terminal/_msg_command_warning.html:6 +#: terminal/templates/terminal/_msg_command_warning.html:9 #: terminal/templates/terminal/_msg_session_sharing.html:6 #: tickets/models/comment.py:21 tickets/serializers/flow.py:15 #: users/const.py:14 users/models/user/__init__.py:293 @@ -1297,7 +1297,7 @@ msgstr "ユーザー" #: accounts/serializers/account/account.py:484 #: authentication/templates/authentication/_access_key_modal.html:33 -#: terminal/notifications.py:159 terminal/notifications.py:219 +#: terminal/notifications.py:163 terminal/notifications.py:223 msgid "Date" msgstr "日付" @@ -1850,7 +1850,7 @@ msgstr "ユーザー" #: terminal/models/session/session.py:47 terminal/serializers/command.py:18 #: terminal/templates/terminal/_msg_command_alert.html:12 #: terminal/templates/terminal/_msg_command_execute_alert.html:10 -#: terminal/templates/terminal/_msg_command_warning.html:23 +#: terminal/templates/terminal/_msg_command_warning.html:28 msgid "Command" msgstr "コマンド" @@ -1876,7 +1876,7 @@ msgstr "家を無視する" #: acls/models/command_acl.py:33 acls/models/command_acl.py:97 #: acls/serializers/command_acl.py:29 #: authentication/serializers/connect_token_secret.py:90 -#: terminal/templates/terminal/_msg_command_warning.html:14 +#: terminal/templates/terminal/_msg_command_warning.html:23 msgid "Command group" msgstr "コマンドグループ" @@ -1885,7 +1885,7 @@ msgid "The generated regular expression is incorrect: {}" msgstr "生成された正規表現が正しくありません: {}" #: acls/models/command_acl.py:103 -#: terminal/templates/terminal/_msg_command_warning.html:12 +#: terminal/templates/terminal/_msg_command_warning.html:22 msgid "Command acl" msgstr "コマンドフィルタリング" @@ -1906,7 +1906,7 @@ msgstr "接続方法acl" msgid "Rule" msgstr "ルール" -#: acls/models/login_acl.py:14 +#: acls/models/login_acl.py:14 acls/templates/acls/user_login_reminder.html:12 msgid "Login acl" msgstr "ログインacl" @@ -1915,6 +1915,7 @@ msgid "Login confirm" msgstr "ログイン確認" #: acls/models/login_asset_acl.py:12 +#: acls/templates/acls/asset_login_reminder.html:12 msgid "Login asset acl" msgstr "ログインasset acl" @@ -1922,11 +1923,11 @@ msgstr "ログインasset acl" msgid "Login asset confirm" msgstr "ログイン資産の確認" -#: acls/notifications.py:12 +#: acls/notifications.py:13 msgid "User login reminder" msgstr "ユーザーログインのリマインダ" -#: acls/notifications.py:42 +#: acls/notifications.py:45 msgid "User login alert for asset" msgstr "資産ログインのリマインダ" @@ -1994,6 +1995,7 @@ msgstr "期間" #: authentication/templates/authentication/_msg_rest_password_success.html:2 #: authentication/templates/authentication/_msg_rest_public_key_success.html:2 #: perms/templates/perms/_msg_permed_items_expire.html:3 +#: terminal/templates/terminal/_msg_command_warning.html:3 #: users/templates/users/_msg_reset_mfa.html:4 msgid "Dear" msgstr "尊敬する" @@ -2008,8 +2010,8 @@ msgstr "以下の資産にユーザーが最近ログインしたことをお知 msgid "Asset details" msgstr "資産詳細" -#: acls/templates/acls/asset_login_reminder.html:14 -#: acls/templates/acls/user_login_reminder.html:15 +#: acls/templates/acls/asset_login_reminder.html:16 +#: acls/templates/acls/user_login_reminder.html:16 msgid "" "Please review the login activity to ensure the security and proper usage of " "the asset. If you did not authorize this login or if you notice any " @@ -2017,8 +2019,9 @@ msgid "" msgstr "" "資産のセキュリティと適切な使用を確保するために、ログイン活動を確認してください。このログインを承認していない場合や、不審な活動に気付いた場合は、直ちに必要な措置を講じてください。" -#: acls/templates/acls/asset_login_reminder.html:16 -#: acls/templates/acls/user_login_reminder.html:16 +#: acls/templates/acls/asset_login_reminder.html:18 +#: acls/templates/acls/user_login_reminder.html:17 +#: terminal/templates/terminal/_msg_command_warning.html:34 msgid "Thank you for your attention to this matter" msgstr "この件についてのご注意をお願いいたします。" @@ -2612,7 +2615,7 @@ msgstr "資産情報の収集" msgid "Ping asset" msgstr "テストアセット" -#: assets/models/base.py:17 terminal/notifications.py:243 +#: assets/models/base.py:17 terminal/notifications.py:247 msgid "Connectivity" msgstr "接続性" @@ -3321,7 +3324,6 @@ msgid "Rename dir" msgstr "マップディレクトリ" #: audits/const.py:23 rbac/tree.py:278 terminal/api/session/session.py:285 -#: terminal/templates/terminal/_msg_command_warning.html:18 #: terminal/templates/terminal/_msg_session_sharing.html:10 #: xpack/plugins/cloud/manager.py:102 msgid "View" @@ -3420,7 +3422,7 @@ msgstr "ダウンロード" #: terminal/models/session/replay.py:9 terminal/models/session/sharing.py:20 #: terminal/models/session/sharing.py:95 terminal/serializers/command.py:19 #: terminal/templates/terminal/_msg_command_alert.html:10 -#: terminal/templates/terminal/_msg_command_warning.html:17 +#: terminal/templates/terminal/_msg_command_warning.html:25 #: tickets/models/ticket/command_confirm.py:16 msgid "Session" msgstr "セッション" @@ -3696,7 +3698,7 @@ msgstr "資産ログインルールは現在の資産をサポートしていま msgid "ACL action is face online" msgstr "ACL Action は顔オンラインです" -#: authentication/api/connection_token.py:533 +#: authentication/api/connection_token.py:534 msgid "No available face feature" msgstr "利用可能な顔の特徴はありません" @@ -4142,6 +4144,7 @@ msgstr "カスタムパスワード" #: terminal/models/virtualapp/virtualapp.py:24 #: terminal/serializers/session.py:31 terminal/serializers/session.py:58 #: terminal/serializers/storage.py:71 +#: terminal/templates/terminal/_msg_command_warning.html:19 msgid "Protocol" msgstr "プロトコル" @@ -5675,7 +5678,7 @@ msgid "Run as policy" msgstr "アカウントポリシー " #: ops/models/job.py:221 ops/models/variable.py:28 ops/serializers/job.py:111 -#: terminal/notifications.py:182 +#: terminal/notifications.py:186 msgid "Job" msgstr "ジョブ#ジョブ#" @@ -5934,7 +5937,7 @@ msgstr "組織を選択してから保存してください" #: orgs/mixins/models.py:57 orgs/mixins/serializers.py:25 orgs/models.py:91 #: rbac/const.py:7 rbac/models/rolebinding.py:56 #: rbac/serializers/rolebinding.py:44 settings/serializers/auth/base.py:53 -#: terminal/templates/terminal/_msg_command_warning.html:21 +#: terminal/templates/terminal/_msg_command_warning.html:27 #: terminal/templates/terminal/_msg_session_sharing.html:14 #: tickets/models/ticket/general.py:303 #: tickets/serializers/ticket/ticket.py:61 @@ -8234,7 +8237,7 @@ msgid "Output" msgstr "出力" #: terminal/backends/command/models.py:24 terminal/serializers/command.py:22 -#: terminal/templates/terminal/_msg_command_warning.html:10 +#: terminal/templates/terminal/_msg_command_warning.html:21 msgid "Risk level" msgstr "リスクレベル" @@ -8571,6 +8574,7 @@ msgstr "アカウント ID" #: terminal/models/session/session.py:41 #: terminal/models/session/sharing.py:118 +#: terminal/templates/terminal/_msg_command_warning.html:16 msgid "Login from" msgstr "ログイン元" @@ -8624,7 +8628,7 @@ msgid "Origin" msgstr "ソース" #: terminal/models/session/sharing.py:42 -#: terminal/models/session/sharing.py:100 terminal/notifications.py:279 +#: terminal/models/session/sharing.py:100 terminal/notifications.py:283 msgid "Session sharing" msgstr "セッション共有" @@ -8694,26 +8698,26 @@ msgstr "セッション" msgid "Command warning" msgstr "コマンド警告" -#: terminal/notifications.py:128 terminal/notifications.py:183 +#: terminal/notifications.py:132 terminal/notifications.py:187 msgid "Command reject" msgstr "コマンド拒否" -#: terminal/notifications.py:158 terminal/notifications.py:218 +#: terminal/notifications.py:162 terminal/notifications.py:222 msgid "Level" msgstr "レベル" -#: terminal/notifications.py:242 +#: terminal/notifications.py:246 msgid "Command and replay storage" msgstr "コマンド及び録画記憶" -#: terminal/notifications.py:258 terminal/tasks.py:212 +#: terminal/notifications.py:262 terminal/tasks.py:212 #: xpack/plugins/cloud/api.py:182 #: xpack/plugins/cloud/serializers/account.py:137 #: xpack/plugins/cloud/serializers/account.py:139 msgid "Test failure: Account invalid" msgstr "テスト失敗: アカウントが無効" -#: terminal/notifications.py:268 +#: terminal/notifications.py:272 #: terminal/templates/terminal/_msg_check_command_replay_storage_connectivity.html:4 msgid "Invalid storage" msgstr "無効なストレージ" @@ -9222,6 +9226,28 @@ msgstr "" msgid "view" msgstr "表示" +#: terminal/templates/terminal/_msg_command_warning.html:5 +msgid "" +"We would like to inform you that a command alert has been triggered with the" +" following details:" +msgstr "お知らせいたします。コマンドアラートが発動しました。内容は以下の通りです::" + +#: terminal/templates/terminal/_msg_command_warning.html:7 +msgid "Alert details" +msgstr "アラート詳細" + +#: terminal/templates/terminal/_msg_command_warning.html:25 +msgid "View session" +msgstr "セッションを確認" + +#: terminal/templates/terminal/_msg_command_warning.html:32 +msgid "" +"Please review this command execution to ensure it complies with your " +"organization’s security policies. If you did not authorize this action or " +"notice anything unusual, please take the necessary actions immediately." +msgstr "" +"このコマンドの実行状況を確認し、貴組織のセキュリティポリシーに適合しているかをご確認ください。もしこの操作が許可されていない場合や異常を発見した場合は、直ちに必要な措置を講じてください。" + #: tickets/api/ticket.py:88 tickets/models/ticket/general.py:289 msgid "Applicant" msgstr "応募者" diff --git a/apps/i18n/core/ko/LC_MESSAGES/django.po b/apps/i18n/core/ko/LC_MESSAGES/django.po index b28168432..66a81476d 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-07-17 15:06+0800\n" +"POT-Creation-Date: 2025-09-10 14:30+0800\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -455,9 +455,9 @@ msgstr "Vault 작업이 실패했습니다. 다시 시도하거나 Vault의 계 #: audits/models.py:59 audits/models.py:318 audits/serializers.py:230 #: authentication/models/connection_token.py:41 #: perms/models/asset_permission.py:69 terminal/backends/command/models.py:17 -#: terminal/models/session/session.py:36 terminal/notifications.py:156 +#: terminal/models/session/session.py:36 terminal/notifications.py:160 #: terminal/serializers/command.py:17 terminal/serializers/session.py:38 -#: terminal/templates/terminal/_msg_command_warning.html:4 +#: terminal/templates/terminal/_msg_command_warning.html:10 #: terminal/templates/terminal/_msg_session_sharing.html:4 #: tickets/models/ticket/apply_asset.py:17 xpack/plugins/cloud/models.py:295 msgid "Asset" @@ -517,13 +517,13 @@ msgstr "비밀번호 변경 상태" #: accounts/serializers/automations/change_secret.py:148 #: accounts/templates/accounts/change_secret_failed_info.html:12 #: acls/serializers/base.py:133 -#: acls/templates/acls/asset_login_reminder.html:10 +#: acls/templates/acls/asset_login_reminder.html:11 #: assets/serializers/gateway.py:33 audits/models.py:60 audits/models.py:319 #: audits/serializers.py:231 authentication/api/connection_token.py:464 #: ops/models/base.py:18 perms/models/asset_permission.py:75 #: settings/serializers/msg.py:33 terminal/backends/command/models.py:18 #: terminal/models/session/session.py:38 terminal/serializers/command.py:72 -#: terminal/templates/terminal/_msg_command_warning.html:8 +#: terminal/templates/terminal/_msg_command_warning.html:11 #: terminal/templates/terminal/_msg_session_sharing.html:8 #: tickets/models/ticket/command_confirm.py:14 #: xpack/plugins/cloud/models.py:106 xpack/plugins/cloud/ws.py:37 @@ -1224,7 +1224,7 @@ msgid "Changed" msgstr "수정됨" #: accounts/serializers/account/account.py:290 acls/models/base.py:97 -#: acls/templates/acls/asset_login_reminder.html:9 +#: acls/templates/acls/asset_login_reminder.html:10 #: assets/models/automations/base.py:25 #: assets/serializers/automations/base.py:20 assets/serializers/domain.py:33 #: assets/serializers/platform.py:181 assets/serializers/platform.py:213 @@ -1271,9 +1271,9 @@ msgstr "ID" #: rbac/builtin.py:127 rbac/models/rolebinding.py:49 #: rbac/serializers/rolebinding.py:17 terminal/backends/command/models.py:16 #: terminal/models/session/session.py:34 terminal/models/session/sharing.py:34 -#: terminal/notifications.py:157 terminal/notifications.py:217 +#: terminal/notifications.py:161 terminal/notifications.py:221 #: terminal/serializers/command.py:16 -#: terminal/templates/terminal/_msg_command_warning.html:6 +#: terminal/templates/terminal/_msg_command_warning.html:9 #: terminal/templates/terminal/_msg_session_sharing.html:6 #: tickets/models/comment.py:21 tickets/serializers/flow.py:15 #: users/const.py:14 users/models/user/__init__.py:293 @@ -1283,7 +1283,7 @@ msgstr "사용자" #: accounts/serializers/account/account.py:484 #: authentication/templates/authentication/_access_key_modal.html:33 -#: terminal/notifications.py:159 terminal/notifications.py:219 +#: terminal/notifications.py:163 terminal/notifications.py:223 msgid "Date" msgstr "날짜" @@ -1840,7 +1840,7 @@ msgstr "사용자" #: terminal/models/session/session.py:47 terminal/serializers/command.py:18 #: terminal/templates/terminal/_msg_command_alert.html:12 #: terminal/templates/terminal/_msg_command_execute_alert.html:10 -#: terminal/templates/terminal/_msg_command_warning.html:23 +#: terminal/templates/terminal/_msg_command_warning.html:28 msgid "Command" msgstr "명령" @@ -1866,7 +1866,7 @@ msgstr "대소문자 무시" #: acls/models/command_acl.py:33 acls/models/command_acl.py:97 #: acls/serializers/command_acl.py:29 #: authentication/serializers/connect_token_secret.py:90 -#: terminal/templates/terminal/_msg_command_warning.html:14 +#: terminal/templates/terminal/_msg_command_warning.html:23 msgid "Command group" msgstr "명령 그룹" @@ -1875,7 +1875,7 @@ msgid "The generated regular expression is incorrect: {}" msgstr "생성된 정규 표현식에 오류가 있음" #: acls/models/command_acl.py:103 -#: terminal/templates/terminal/_msg_command_warning.html:12 +#: terminal/templates/terminal/_msg_command_warning.html:22 msgid "Command acl" msgstr "명령 필터" @@ -1896,7 +1896,7 @@ msgstr "연결 방식 제어" msgid "Rule" msgstr "규칙" -#: acls/models/login_acl.py:14 +#: acls/models/login_acl.py:14 acls/templates/acls/user_login_reminder.html:12 msgid "Login acl" msgstr "로그인 접근 제어" @@ -1905,6 +1905,7 @@ msgid "Login confirm" msgstr "로그인 재검토" #: acls/models/login_asset_acl.py:12 +#: acls/templates/acls/asset_login_reminder.html:12 msgid "Login asset acl" msgstr "로그인 자산 접근 제어" @@ -1912,11 +1913,11 @@ msgstr "로그인 자산 접근 제어" msgid "Login asset confirm" msgstr "로그인 자산 재검토" -#: acls/notifications.py:12 +#: acls/notifications.py:13 msgid "User login reminder" msgstr "사용자 로그인 알림" -#: acls/notifications.py:42 +#: acls/notifications.py:45 msgid "User login alert for asset" msgstr "자산 로그인 알림" @@ -1983,6 +1984,7 @@ msgstr "시간대" #: authentication/templates/authentication/_msg_rest_password_success.html:2 #: authentication/templates/authentication/_msg_rest_public_key_success.html:2 #: perms/templates/perms/_msg_permed_items_expire.html:3 +#: terminal/templates/terminal/_msg_command_warning.html:3 #: users/templates/users/_msg_reset_mfa.html:4 msgid "Dear" msgstr "존경하는" @@ -1997,8 +1999,8 @@ msgstr "다음 자산에 최근 사용자가 로그인했음을 알려드립니 msgid "Asset details" msgstr "자산 세부정보" -#: acls/templates/acls/asset_login_reminder.html:14 -#: acls/templates/acls/user_login_reminder.html:15 +#: acls/templates/acls/asset_login_reminder.html:16 +#: acls/templates/acls/user_login_reminder.html:16 msgid "" "Please review the login activity to ensure the security and proper usage of " "the asset. If you did not authorize this login or if you notice any " @@ -2007,8 +2009,9 @@ msgstr "" "이 로그인 활동을 검토하여 자산의 안전과 올바른 사용이 보장되도록 해주시기 바랍니다. 만약 이 로그인이 승인되지 않았거나 의심스러운 " "활동이 발견되면 즉시 필요한 조치를 취해 주십시오." -#: acls/templates/acls/asset_login_reminder.html:16 -#: acls/templates/acls/user_login_reminder.html:16 +#: acls/templates/acls/asset_login_reminder.html:18 +#: acls/templates/acls/user_login_reminder.html:17 +#: terminal/templates/terminal/_msg_command_warning.html:34 msgid "Thank you for your attention to this matter" msgstr "이 문제에 대한 관심에 감사드립니다." @@ -2604,7 +2607,7 @@ msgstr "자산 정보 수집" msgid "Ping asset" msgstr "자산 테스트" -#: assets/models/base.py:17 terminal/notifications.py:243 +#: assets/models/base.py:17 terminal/notifications.py:247 msgid "Connectivity" msgstr "연결성" @@ -3312,7 +3315,6 @@ msgid "Rename dir" msgstr "디렉터리 매핑" #: audits/const.py:23 rbac/tree.py:278 terminal/api/session/session.py:285 -#: terminal/templates/terminal/_msg_command_warning.html:18 #: terminal/templates/terminal/_msg_session_sharing.html:10 #: xpack/plugins/cloud/manager.py:102 msgid "View" @@ -3411,7 +3413,7 @@ msgstr "다운로드 가능" #: terminal/models/session/replay.py:9 terminal/models/session/sharing.py:20 #: terminal/models/session/sharing.py:95 terminal/serializers/command.py:19 #: terminal/templates/terminal/_msg_command_alert.html:10 -#: terminal/templates/terminal/_msg_command_warning.html:17 +#: terminal/templates/terminal/_msg_command_warning.html:25 #: tickets/models/ticket/command_confirm.py:16 msgid "Session" msgstr "세션" @@ -3686,7 +3688,7 @@ msgstr "자산 로그인 규칙은 현재 자산을 지원하지 않습니다." msgid "ACL action is face online" msgstr "ACL Action은 온라인 얼굴 인식입니다." -#: authentication/api/connection_token.py:533 +#: authentication/api/connection_token.py:534 msgid "No available face feature" msgstr "사용 가능한 얼굴 특징이 없습니다." @@ -4134,6 +4136,7 @@ msgstr "비밀번호 사용자 정의" #: terminal/models/virtualapp/virtualapp.py:24 #: terminal/serializers/session.py:31 terminal/serializers/session.py:58 #: terminal/serializers/storage.py:71 +#: terminal/templates/terminal/_msg_command_warning.html:19 msgid "Protocol" msgstr "프로토콜" @@ -5685,7 +5688,7 @@ msgid "Run as policy" msgstr "사용자 정책" #: ops/models/job.py:221 ops/models/variable.py:28 ops/serializers/job.py:111 -#: terminal/notifications.py:182 +#: terminal/notifications.py:186 msgid "Job" msgstr "작업" @@ -5947,7 +5950,7 @@ msgstr "저장하기 전에 조직을 선택해 주십시오" #: orgs/mixins/models.py:57 orgs/mixins/serializers.py:25 orgs/models.py:91 #: rbac/const.py:7 rbac/models/rolebinding.py:56 #: rbac/serializers/rolebinding.py:44 settings/serializers/auth/base.py:53 -#: terminal/templates/terminal/_msg_command_warning.html:21 +#: terminal/templates/terminal/_msg_command_warning.html:27 #: terminal/templates/terminal/_msg_session_sharing.html:14 #: tickets/models/ticket/general.py:303 #: tickets/serializers/ticket/ticket.py:61 @@ -8289,7 +8292,7 @@ msgid "Output" msgstr "출력" #: terminal/backends/command/models.py:24 terminal/serializers/command.py:22 -#: terminal/templates/terminal/_msg_command_warning.html:10 +#: terminal/templates/terminal/_msg_command_warning.html:21 msgid "Risk level" msgstr "위험 등급" @@ -8626,6 +8629,7 @@ msgstr "계정" #: terminal/models/session/session.py:41 #: terminal/models/session/sharing.py:118 +#: terminal/templates/terminal/_msg_command_warning.html:16 msgid "Login from" msgstr "로그인 출처" @@ -8679,7 +8683,7 @@ msgid "Origin" msgstr "출처" #: terminal/models/session/sharing.py:42 -#: terminal/models/session/sharing.py:100 terminal/notifications.py:279 +#: terminal/models/session/sharing.py:100 terminal/notifications.py:283 msgid "Session sharing" msgstr "세션 공유" @@ -8749,26 +8753,26 @@ msgstr "세션" msgid "Command warning" msgstr "명령 경고" -#: terminal/notifications.py:128 terminal/notifications.py:183 +#: terminal/notifications.py:132 terminal/notifications.py:187 msgid "Command reject" msgstr "명령 거부" -#: terminal/notifications.py:158 terminal/notifications.py:218 +#: terminal/notifications.py:162 terminal/notifications.py:222 msgid "Level" msgstr "수준" -#: terminal/notifications.py:242 +#: terminal/notifications.py:246 msgid "Command and replay storage" msgstr "명령 및 녹화 저장" -#: terminal/notifications.py:258 terminal/tasks.py:212 +#: terminal/notifications.py:262 terminal/tasks.py:212 #: xpack/plugins/cloud/api.py:182 #: xpack/plugins/cloud/serializers/account.py:137 #: xpack/plugins/cloud/serializers/account.py:139 msgid "Test failure: Account invalid" msgstr "테스트 실패: 계정이 유효하지 않음" -#: terminal/notifications.py:268 +#: terminal/notifications.py:272 #: terminal/templates/terminal/_msg_check_command_replay_storage_connectivity.html:4 msgid "Invalid storage" msgstr "유효하지 않은 저장소" @@ -9280,6 +9284,41 @@ msgstr "" msgid "view" msgstr "보기" +#: terminal/templates/terminal/_msg_command_warning.html:5 +msgid "" +"We would like to inform you that a command alert has been triggered with the" +" following details:" +msgstr "" +"귀하에게 알립니다. 명령 알람이 발동되었습니다. 내용은 다음과 같습니다: 알람 세부사항 세션 확인 이 명령의 실행 상태를 점검하여 " +"귀하의 조직의 보안 정책에 부합하는지 확인해 주시기 바랍니다. 이 작업을 승인하지 않았거나 이상 징후를 발견한 경우 즉시 필요한 조치를 " +"취해 주시기 바랍니다." + +#: terminal/templates/terminal/_msg_command_warning.html:7 +#, fuzzy +#| msgid "Asset details" +msgid "Alert details" +msgstr "자산 세부정보" + +#: terminal/templates/terminal/_msg_command_warning.html:25 +#, fuzzy +#| msgid "User session" +msgid "View session" +msgstr "사용자 세션" + +#: terminal/templates/terminal/_msg_command_warning.html:32 +#, fuzzy +#| msgid "" +#| "Please review the login activity to ensure the security and proper usage of " +#| "the asset. If you did not authorize this login or if you notice any " +#| "suspicious activity, please take the necessary actions immediately." +msgid "" +"Please review this command execution to ensure it complies with your " +"organization’s security policies. If you did not authorize this action or " +"notice anything unusual, please take the necessary actions immediately." +msgstr "" +"이 로그인 활동을 검토하여 자산의 안전과 올바른 사용이 보장되도록 해주시기 바랍니다. 만약 이 로그인이 승인되지 않았거나 의심스러운 " +"활동이 발견되면 즉시 필요한 조치를 취해 주십시오." + #: tickets/api/ticket.py:88 tickets/models/ticket/general.py:289 msgid "Applicant" msgstr "신청인" diff --git a/apps/i18n/core/pt_BR/LC_MESSAGES/django.po b/apps/i18n/core/pt_BR/LC_MESSAGES/django.po index 6abb871c9..e365c891a 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-07-17 15:06+0800\n" +"POT-Creation-Date: 2025-09-10 14:30+0800\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -458,9 +458,9 @@ msgstr "" #: audits/models.py:59 audits/models.py:318 audits/serializers.py:230 #: authentication/models/connection_token.py:41 #: perms/models/asset_permission.py:69 terminal/backends/command/models.py:17 -#: terminal/models/session/session.py:36 terminal/notifications.py:156 +#: terminal/models/session/session.py:36 terminal/notifications.py:160 #: terminal/serializers/command.py:17 terminal/serializers/session.py:38 -#: terminal/templates/terminal/_msg_command_warning.html:4 +#: terminal/templates/terminal/_msg_command_warning.html:10 #: terminal/templates/terminal/_msg_session_sharing.html:4 #: tickets/models/ticket/apply_asset.py:17 xpack/plugins/cloud/models.py:295 msgid "Asset" @@ -520,13 +520,13 @@ msgstr "Status da Alteração de Senha" #: accounts/serializers/automations/change_secret.py:148 #: accounts/templates/accounts/change_secret_failed_info.html:12 #: acls/serializers/base.py:133 -#: acls/templates/acls/asset_login_reminder.html:10 +#: acls/templates/acls/asset_login_reminder.html:11 #: assets/serializers/gateway.py:33 audits/models.py:60 audits/models.py:319 #: audits/serializers.py:231 authentication/api/connection_token.py:464 #: ops/models/base.py:18 perms/models/asset_permission.py:75 #: settings/serializers/msg.py:33 terminal/backends/command/models.py:18 #: terminal/models/session/session.py:38 terminal/serializers/command.py:72 -#: terminal/templates/terminal/_msg_command_warning.html:8 +#: terminal/templates/terminal/_msg_command_warning.html:11 #: terminal/templates/terminal/_msg_session_sharing.html:8 #: tickets/models/ticket/command_confirm.py:14 #: xpack/plugins/cloud/models.py:106 xpack/plugins/cloud/ws.py:37 @@ -1257,7 +1257,7 @@ msgid "Changed" msgstr "Modificado" #: accounts/serializers/account/account.py:290 acls/models/base.py:97 -#: acls/templates/acls/asset_login_reminder.html:9 +#: acls/templates/acls/asset_login_reminder.html:10 #: assets/models/automations/base.py:25 #: assets/serializers/automations/base.py:20 assets/serializers/domain.py:33 #: assets/serializers/platform.py:181 assets/serializers/platform.py:213 @@ -1304,9 +1304,9 @@ msgstr "ID" #: rbac/builtin.py:127 rbac/models/rolebinding.py:49 #: rbac/serializers/rolebinding.py:17 terminal/backends/command/models.py:16 #: terminal/models/session/session.py:34 terminal/models/session/sharing.py:34 -#: terminal/notifications.py:157 terminal/notifications.py:217 +#: terminal/notifications.py:161 terminal/notifications.py:221 #: terminal/serializers/command.py:16 -#: terminal/templates/terminal/_msg_command_warning.html:6 +#: terminal/templates/terminal/_msg_command_warning.html:9 #: terminal/templates/terminal/_msg_session_sharing.html:6 #: tickets/models/comment.py:21 tickets/serializers/flow.py:15 #: users/const.py:14 users/models/user/__init__.py:293 @@ -1316,7 +1316,7 @@ msgstr "Usuário" #: accounts/serializers/account/account.py:484 #: authentication/templates/authentication/_access_key_modal.html:33 -#: terminal/notifications.py:159 terminal/notifications.py:219 +#: terminal/notifications.py:163 terminal/notifications.py:223 msgid "Date" msgstr "Data" @@ -1915,7 +1915,7 @@ msgstr "Usuário" #: terminal/models/session/session.py:47 terminal/serializers/command.py:18 #: terminal/templates/terminal/_msg_command_alert.html:12 #: terminal/templates/terminal/_msg_command_execute_alert.html:10 -#: terminal/templates/terminal/_msg_command_warning.html:23 +#: terminal/templates/terminal/_msg_command_warning.html:28 msgid "Command" msgstr "Comando" @@ -1941,7 +1941,7 @@ msgstr "Ignorar Maiúsculas e Minúsculas" #: acls/models/command_acl.py:33 acls/models/command_acl.py:97 #: acls/serializers/command_acl.py:29 #: authentication/serializers/connect_token_secret.py:90 -#: terminal/templates/terminal/_msg_command_warning.html:14 +#: terminal/templates/terminal/_msg_command_warning.html:23 msgid "Command group" msgstr "Grupo de Comandos" @@ -1950,7 +1950,7 @@ msgid "The generated regular expression is incorrect: {}" msgstr "Erro na expressão regular gerada" #: acls/models/command_acl.py:103 -#: terminal/templates/terminal/_msg_command_warning.html:12 +#: terminal/templates/terminal/_msg_command_warning.html:22 msgid "Command acl" msgstr "Filtrar comandos" @@ -1971,7 +1971,7 @@ msgstr "Controle de modo de conexão" msgid "Rule" msgstr "Regras" -#: acls/models/login_acl.py:14 +#: acls/models/login_acl.py:14 acls/templates/acls/user_login_reminder.html:12 msgid "Login acl" msgstr "Controle de acesso de login" @@ -1980,6 +1980,7 @@ msgid "Login confirm" msgstr "Revisão de login" #: acls/models/login_asset_acl.py:12 +#: acls/templates/acls/asset_login_reminder.html:12 msgid "Login asset acl" msgstr "Controle de acesso a ativos de login" @@ -1987,11 +1988,11 @@ msgstr "Controle de acesso a ativos de login" msgid "Login asset confirm" msgstr "Revisão de acesso a ativos de login" -#: acls/notifications.py:12 +#: acls/notifications.py:13 msgid "User login reminder" msgstr "Alerta de login do usuário" -#: acls/notifications.py:42 +#: acls/notifications.py:45 msgid "User login alert for asset" msgstr "Alerta de login de ativos" @@ -2059,6 +2060,7 @@ msgstr "Período" #: authentication/templates/authentication/_msg_rest_password_success.html:2 #: authentication/templates/authentication/_msg_rest_public_key_success.html:2 #: perms/templates/perms/_msg_permed_items_expire.html:3 +#: terminal/templates/terminal/_msg_command_warning.html:3 #: users/templates/users/_msg_reset_mfa.html:4 msgid "Dear" msgstr "Respeitado" @@ -2075,8 +2077,8 @@ msgstr "" msgid "Asset details" msgstr "Detalhes do ativo" -#: acls/templates/acls/asset_login_reminder.html:14 -#: acls/templates/acls/user_login_reminder.html:15 +#: acls/templates/acls/asset_login_reminder.html:16 +#: acls/templates/acls/user_login_reminder.html:16 msgid "" "Please review the login activity to ensure the security and proper usage of " "the asset. If you did not authorize this login or if you notice any " @@ -2086,8 +2088,9 @@ msgstr "" "correto dos ativos. Se você não autorizou este login ou encontrou qualquer " "atividade suspeita, por favor, tome as medidas necessárias imediatamente." -#: acls/templates/acls/asset_login_reminder.html:16 -#: acls/templates/acls/user_login_reminder.html:16 +#: acls/templates/acls/asset_login_reminder.html:18 +#: acls/templates/acls/user_login_reminder.html:17 +#: terminal/templates/terminal/_msg_command_warning.html:34 msgid "Thank you for your attention to this matter" msgstr "Obrigado pela sua atenção a este assunto." @@ -2697,7 +2700,7 @@ msgstr "Coleta de informações do ativo" msgid "Ping asset" msgstr "Testar ativo" -#: assets/models/base.py:17 terminal/notifications.py:243 +#: assets/models/base.py:17 terminal/notifications.py:247 msgid "Connectivity" msgstr "Conectividade" @@ -3435,7 +3438,6 @@ msgid "Rename dir" msgstr "Mapeamento de Diretórios" #: audits/const.py:23 rbac/tree.py:278 terminal/api/session/session.py:285 -#: terminal/templates/terminal/_msg_command_warning.html:18 #: terminal/templates/terminal/_msg_session_sharing.html:10 #: xpack/plugins/cloud/manager.py:102 msgid "View" @@ -3534,7 +3536,7 @@ msgstr "Download disponível" #: terminal/models/session/replay.py:9 terminal/models/session/sharing.py:20 #: terminal/models/session/sharing.py:95 terminal/serializers/command.py:19 #: terminal/templates/terminal/_msg_command_alert.html:10 -#: terminal/templates/terminal/_msg_command_warning.html:17 +#: terminal/templates/terminal/_msg_command_warning.html:25 #: tickets/models/ticket/command_confirm.py:16 msgid "Session" msgstr "Sessão" @@ -3820,7 +3822,7 @@ msgstr "As regras de login de ativos não suportam o ativo atual" msgid "ACL action is face online" msgstr "Ação ACL é facial online" -#: authentication/api/connection_token.py:533 +#: authentication/api/connection_token.py:534 msgid "No available face feature" msgstr "Não há características faciais disponíveis" @@ -4285,6 +4287,7 @@ msgstr "Senha personalizada" #: terminal/models/virtualapp/virtualapp.py:24 #: terminal/serializers/session.py:31 terminal/serializers/session.py:58 #: terminal/serializers/storage.py:71 +#: terminal/templates/terminal/_msg_command_warning.html:19 msgid "Protocol" msgstr "Protocolo" @@ -5890,7 +5893,7 @@ msgid "Run as policy" msgstr "Política de usuário" #: ops/models/job.py:221 ops/models/variable.py:28 ops/serializers/job.py:111 -#: terminal/notifications.py:182 +#: terminal/notifications.py:186 msgid "Job" msgstr "Trabalhos" @@ -6170,7 +6173,7 @@ msgstr "Por favor, selecione uma organização antes de salvar" #: orgs/mixins/models.py:57 orgs/mixins/serializers.py:25 orgs/models.py:91 #: rbac/const.py:7 rbac/models/rolebinding.py:56 #: rbac/serializers/rolebinding.py:44 settings/serializers/auth/base.py:53 -#: terminal/templates/terminal/_msg_command_warning.html:21 +#: terminal/templates/terminal/_msg_command_warning.html:27 #: terminal/templates/terminal/_msg_session_sharing.html:14 #: tickets/models/ticket/general.py:303 #: tickets/serializers/ticket/ticket.py:61 @@ -8626,7 +8629,7 @@ msgid "Output" msgstr "Saída" #: terminal/backends/command/models.py:24 terminal/serializers/command.py:22 -#: terminal/templates/terminal/_msg_command_warning.html:10 +#: terminal/templates/terminal/_msg_command_warning.html:21 msgid "Risk level" msgstr "Nível de risco" @@ -8963,6 +8966,7 @@ msgstr "Conta" #: terminal/models/session/session.py:41 #: terminal/models/session/sharing.py:118 +#: terminal/templates/terminal/_msg_command_warning.html:16 msgid "Login from" msgstr "Origem do login" @@ -9016,7 +9020,7 @@ msgid "Origin" msgstr "Origem" #: terminal/models/session/sharing.py:42 -#: terminal/models/session/sharing.py:100 terminal/notifications.py:279 +#: terminal/models/session/sharing.py:100 terminal/notifications.py:283 msgid "Session sharing" msgstr "Compartilhamento de Sessão" @@ -9086,26 +9090,26 @@ msgstr "Sessão" msgid "Command warning" msgstr "Alerta de comando" -#: terminal/notifications.py:128 terminal/notifications.py:183 +#: terminal/notifications.py:132 terminal/notifications.py:187 msgid "Command reject" msgstr "Comando recusado" -#: terminal/notifications.py:158 terminal/notifications.py:218 +#: terminal/notifications.py:162 terminal/notifications.py:222 msgid "Level" msgstr "Nível" -#: terminal/notifications.py:242 +#: terminal/notifications.py:246 msgid "Command and replay storage" msgstr "Armazenamento de comandos e gravações" -#: terminal/notifications.py:258 terminal/tasks.py:212 +#: terminal/notifications.py:262 terminal/tasks.py:212 #: xpack/plugins/cloud/api.py:182 #: xpack/plugins/cloud/serializers/account.py:137 #: xpack/plugins/cloud/serializers/account.py:139 msgid "Test failure: Account invalid" msgstr "Teste falhou: Conta inválida" -#: terminal/notifications.py:268 +#: terminal/notifications.py:272 #: terminal/templates/terminal/_msg_check_command_replay_storage_connectivity.html:4 msgid "Invalid storage" msgstr "Armazenamento inválido" @@ -9648,6 +9652,33 @@ msgstr "" msgid "view" msgstr "Visualizar" +#: terminal/templates/terminal/_msg_command_warning.html:5 +msgid "" +"We would like to inform you that a command alert has been triggered with the" +" following details:" +msgstr "" +"Gostaríamos de notificá-lo de que um alerta de comando foi acionado, com os " +"seguintes detalhes:" + +#: terminal/templates/terminal/_msg_command_warning.html:7 +msgid "Alert details" +msgstr "Detalhes do Alerta" + +#: terminal/templates/terminal/_msg_command_warning.html:25 +msgid "View session" +msgstr "Ver Conversa" + +#: terminal/templates/terminal/_msg_command_warning.html:32 +msgid "" +"Please review this command execution to ensure it complies with your " +"organization’s security policies. If you did not authorize this action or " +"notice anything unusual, please take the necessary actions immediately." +msgstr "" +"Por favor, verifique a execução deste comando para garantir que esteja em " +"conformidade com as políticas de segurança da sua organização. Se você não " +"autorizou esta ação ou notar qualquer anomalia, tome as medidas necessárias " +"imediatamente." + #: tickets/api/ticket.py:88 tickets/models/ticket/general.py:289 msgid "Applicant" msgstr "Solicitante" diff --git a/apps/i18n/core/ru/LC_MESSAGES/django.po b/apps/i18n/core/ru/LC_MESSAGES/django.po index 4f02c5f19..3542c70b5 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-07-17 15:06+0800\n" +"POT-Creation-Date: 2025-09-10 14:30+0800\n" "PO-Revision-Date: 2025-06-11 11:51+0300\n" "Last-Translator: \n" "Language-Team: \n" @@ -459,9 +459,9 @@ msgstr "" #: audits/models.py:59 audits/models.py:318 audits/serializers.py:230 #: authentication/models/connection_token.py:41 #: perms/models/asset_permission.py:69 terminal/backends/command/models.py:17 -#: terminal/models/session/session.py:36 terminal/notifications.py:156 +#: terminal/models/session/session.py:36 terminal/notifications.py:160 #: terminal/serializers/command.py:17 terminal/serializers/session.py:38 -#: terminal/templates/terminal/_msg_command_warning.html:4 +#: terminal/templates/terminal/_msg_command_warning.html:10 #: terminal/templates/terminal/_msg_session_sharing.html:4 #: tickets/models/ticket/apply_asset.py:17 xpack/plugins/cloud/models.py:295 msgid "Asset" @@ -521,13 +521,13 @@ msgstr "Статус изменения секрета" #: accounts/serializers/automations/change_secret.py:148 #: accounts/templates/accounts/change_secret_failed_info.html:12 #: acls/serializers/base.py:133 -#: acls/templates/acls/asset_login_reminder.html:10 +#: acls/templates/acls/asset_login_reminder.html:11 #: assets/serializers/gateway.py:33 audits/models.py:60 audits/models.py:319 #: audits/serializers.py:231 authentication/api/connection_token.py:464 #: ops/models/base.py:18 perms/models/asset_permission.py:75 #: settings/serializers/msg.py:33 terminal/backends/command/models.py:18 #: terminal/models/session/session.py:38 terminal/serializers/command.py:72 -#: terminal/templates/terminal/_msg_command_warning.html:8 +#: terminal/templates/terminal/_msg_command_warning.html:11 #: terminal/templates/terminal/_msg_session_sharing.html:8 #: tickets/models/ticket/command_confirm.py:14 #: xpack/plugins/cloud/models.py:106 xpack/plugins/cloud/ws.py:37 @@ -1244,7 +1244,7 @@ msgid "Changed" msgstr "Изменено" #: accounts/serializers/account/account.py:290 acls/models/base.py:97 -#: acls/templates/acls/asset_login_reminder.html:9 +#: acls/templates/acls/asset_login_reminder.html:10 #: assets/models/automations/base.py:25 #: assets/serializers/automations/base.py:20 assets/serializers/domain.py:33 #: assets/serializers/platform.py:181 assets/serializers/platform.py:213 @@ -1291,9 +1291,9 @@ msgstr "ID" #: rbac/builtin.py:127 rbac/models/rolebinding.py:49 #: rbac/serializers/rolebinding.py:17 terminal/backends/command/models.py:16 #: terminal/models/session/session.py:34 terminal/models/session/sharing.py:34 -#: terminal/notifications.py:157 terminal/notifications.py:217 +#: terminal/notifications.py:161 terminal/notifications.py:221 #: terminal/serializers/command.py:16 -#: terminal/templates/terminal/_msg_command_warning.html:6 +#: terminal/templates/terminal/_msg_command_warning.html:9 #: terminal/templates/terminal/_msg_session_sharing.html:6 #: tickets/models/comment.py:21 tickets/serializers/flow.py:15 #: users/const.py:14 users/models/user/__init__.py:293 @@ -1303,7 +1303,7 @@ msgstr "Пользователь" #: accounts/serializers/account/account.py:484 #: authentication/templates/authentication/_access_key_modal.html:33 -#: terminal/notifications.py:159 terminal/notifications.py:219 +#: terminal/notifications.py:163 terminal/notifications.py:223 msgid "Date" msgstr "Дата" @@ -1892,7 +1892,7 @@ msgstr "Пользователь" #: terminal/models/session/session.py:47 terminal/serializers/command.py:18 #: terminal/templates/terminal/_msg_command_alert.html:12 #: terminal/templates/terminal/_msg_command_execute_alert.html:10 -#: terminal/templates/terminal/_msg_command_warning.html:23 +#: terminal/templates/terminal/_msg_command_warning.html:28 msgid "Command" msgstr "Команда" @@ -1918,7 +1918,7 @@ msgstr "Игнорировать регистр" #: acls/models/command_acl.py:33 acls/models/command_acl.py:97 #: acls/serializers/command_acl.py:29 #: authentication/serializers/connect_token_secret.py:90 -#: terminal/templates/terminal/_msg_command_warning.html:14 +#: terminal/templates/terminal/_msg_command_warning.html:23 msgid "Command group" msgstr "Группа команд" @@ -1927,7 +1927,7 @@ msgid "The generated regular expression is incorrect: {}" msgstr "Созданное регулярное выражение неверно: {}" #: acls/models/command_acl.py:103 -#: terminal/templates/terminal/_msg_command_warning.html:12 +#: terminal/templates/terminal/_msg_command_warning.html:22 msgid "Command acl" msgstr "Фильтр команд" @@ -1948,7 +1948,7 @@ msgstr "Правила метода подключения" msgid "Rule" msgstr "Правило" -#: acls/models/login_acl.py:14 +#: acls/models/login_acl.py:14 acls/templates/acls/user_login_reminder.html:12 msgid "Login acl" msgstr "Правила входа пользователей" @@ -1957,6 +1957,7 @@ msgid "Login confirm" msgstr "Проверка входа" #: acls/models/login_asset_acl.py:12 +#: acls/templates/acls/asset_login_reminder.html:12 msgid "Login asset acl" msgstr "Правила подключения активов" @@ -1964,11 +1965,11 @@ msgstr "Правила подключения активов" msgid "Login asset confirm" msgstr "Проверка входа в актив" -#: acls/notifications.py:12 +#: acls/notifications.py:13 msgid "User login reminder" msgstr "Уведомление о входе пользователя" -#: acls/notifications.py:42 +#: acls/notifications.py:45 msgid "User login alert for asset" msgstr "Уведомление о входе в активы" @@ -2037,6 +2038,7 @@ msgstr "Период времени" #: authentication/templates/authentication/_msg_rest_password_success.html:2 #: authentication/templates/authentication/_msg_rest_public_key_success.html:2 #: perms/templates/perms/_msg_permed_items_expire.html:3 +#: terminal/templates/terminal/_msg_command_warning.html:3 #: users/templates/users/_msg_reset_mfa.html:4 msgid "Dear" msgstr "Уважаемый" @@ -2052,8 +2054,8 @@ msgstr "" msgid "Asset details" msgstr "Подробности об активе" -#: acls/templates/acls/asset_login_reminder.html:14 -#: acls/templates/acls/user_login_reminder.html:15 +#: acls/templates/acls/asset_login_reminder.html:16 +#: acls/templates/acls/user_login_reminder.html:16 msgid "" "Please review the login activity to ensure the security and proper usage of " "the asset. If you did not authorize this login or if you notice any " @@ -2063,8 +2065,9 @@ msgstr "" "использование актива. Если вы не разрешали этот вход или заметили какую-либо" " подозрительную активность, немедленно примите необходимые меры." -#: acls/templates/acls/asset_login_reminder.html:16 -#: acls/templates/acls/user_login_reminder.html:16 +#: acls/templates/acls/asset_login_reminder.html:18 +#: acls/templates/acls/user_login_reminder.html:17 +#: terminal/templates/terminal/_msg_command_warning.html:34 msgid "Thank you for your attention to this matter" msgstr "Благодарим вас за ваше внимание к этому вопросу" @@ -2673,7 +2676,7 @@ msgstr "Сбор информации об активах" msgid "Ping asset" msgstr "Тестирование активов" -#: assets/models/base.py:17 terminal/notifications.py:243 +#: assets/models/base.py:17 terminal/notifications.py:247 msgid "Connectivity" msgstr "Связь" @@ -3417,7 +3420,6 @@ msgid "Rename dir" msgstr "Сопоставление каталога" #: audits/const.py:23 rbac/tree.py:278 terminal/api/session/session.py:285 -#: terminal/templates/terminal/_msg_command_warning.html:18 #: terminal/templates/terminal/_msg_session_sharing.html:10 #: xpack/plugins/cloud/manager.py:102 msgid "View" @@ -3516,7 +3518,7 @@ msgstr "Можно скачать" #: terminal/models/session/replay.py:9 terminal/models/session/sharing.py:20 #: terminal/models/session/sharing.py:95 terminal/serializers/command.py:19 #: terminal/templates/terminal/_msg_command_alert.html:10 -#: terminal/templates/terminal/_msg_command_warning.html:17 +#: terminal/templates/terminal/_msg_command_warning.html:25 #: tickets/models/ticket/command_confirm.py:16 msgid "Session" msgstr "Сессия" @@ -3800,7 +3802,7 @@ msgstr "Правило входа в актив не поддерживает т msgid "ACL action is face online" msgstr "Действие правила — онлайн распознавание лица." -#: authentication/api/connection_token.py:533 +#: authentication/api/connection_token.py:534 msgid "No available face feature" msgstr "Нет доступных характеристик лица" @@ -4265,6 +4267,7 @@ msgstr "Введите пароль" #: terminal/models/virtualapp/virtualapp.py:24 #: terminal/serializers/session.py:31 terminal/serializers/session.py:58 #: terminal/serializers/storage.py:71 +#: terminal/templates/terminal/_msg_command_warning.html:19 msgid "Protocol" msgstr "Протокол" @@ -5867,7 +5870,7 @@ msgid "Run as policy" msgstr "Политика пользователя" #: ops/models/job.py:221 ops/models/variable.py:28 ops/serializers/job.py:111 -#: terminal/notifications.py:182 +#: terminal/notifications.py:186 msgid "Job" msgstr "Задача" @@ -6144,7 +6147,7 @@ msgstr "Пожалуйста, выберите организацию перед #: orgs/mixins/models.py:57 orgs/mixins/serializers.py:25 orgs/models.py:91 #: rbac/const.py:7 rbac/models/rolebinding.py:56 #: rbac/serializers/rolebinding.py:44 settings/serializers/auth/base.py:53 -#: terminal/templates/terminal/_msg_command_warning.html:21 +#: terminal/templates/terminal/_msg_command_warning.html:27 #: terminal/templates/terminal/_msg_session_sharing.html:14 #: tickets/models/ticket/general.py:303 #: tickets/serializers/ticket/ticket.py:61 @@ -8589,7 +8592,7 @@ msgid "Output" msgstr "Вывод" #: terminal/backends/command/models.py:24 terminal/serializers/command.py:22 -#: terminal/templates/terminal/_msg_command_warning.html:10 +#: terminal/templates/terminal/_msg_command_warning.html:21 msgid "Risk level" msgstr "Уровень риска" @@ -8926,6 +8929,7 @@ msgstr "ID УЗ" #: terminal/models/session/session.py:41 #: terminal/models/session/sharing.py:118 +#: terminal/templates/terminal/_msg_command_warning.html:16 msgid "Login from" msgstr "Источник входа" @@ -8979,7 +8983,7 @@ msgid "Origin" msgstr "Источник" #: terminal/models/session/sharing.py:42 -#: terminal/models/session/sharing.py:100 terminal/notifications.py:279 +#: terminal/models/session/sharing.py:100 terminal/notifications.py:283 msgid "Session sharing" msgstr "Общий доступ к сессии" @@ -9049,26 +9053,26 @@ msgstr "Сессии" msgid "Command warning" msgstr "Оповещение о команде" -#: terminal/notifications.py:128 terminal/notifications.py:183 +#: terminal/notifications.py:132 terminal/notifications.py:187 msgid "Command reject" msgstr "Отклонение команды" -#: terminal/notifications.py:158 terminal/notifications.py:218 +#: terminal/notifications.py:162 terminal/notifications.py:222 msgid "Level" msgstr "Уровень" -#: terminal/notifications.py:242 +#: terminal/notifications.py:246 msgid "Command and replay storage" msgstr "Хранение команд и записей сессий" -#: terminal/notifications.py:258 terminal/tasks.py:212 +#: terminal/notifications.py:262 terminal/tasks.py:212 #: xpack/plugins/cloud/api.py:182 #: xpack/plugins/cloud/serializers/account.py:137 #: xpack/plugins/cloud/serializers/account.py:139 msgid "Test failure: Account invalid" msgstr "Тест не пройден: учетная запись недействительна" -#: terminal/notifications.py:268 +#: terminal/notifications.py:272 #: terminal/templates/terminal/_msg_check_command_replay_storage_connectivity.html:4 msgid "Invalid storage" msgstr "Недопустимое хранилище" @@ -9615,6 +9619,43 @@ msgstr "" msgid "view" msgstr "просмотр" +#: terminal/templates/terminal/_msg_command_warning.html:5 +msgid "" +"We would like to inform you that a command alert has been triggered with the" +" following details:" +msgstr "" +"Мы хотим уведомить вас, что сработала сигнализация о команде, детали следующие: \n" +"Об информации о сигнализации \n" +"Просмотреть сессию \n" +"Пожалуйста, проверьте выполнение данной команды, чтобы обеспечить её соответствие политике безопасности вашей организации. Если вы не санкционировали эту операцию или обнаружили какие-либо аномалии, срочно примите необходимые меры." + +#: terminal/templates/terminal/_msg_command_warning.html:7 +#, fuzzy +#| msgid "Asset details" +msgid "Alert details" +msgstr "Подробности об активе" + +#: terminal/templates/terminal/_msg_command_warning.html:25 +#, fuzzy +#| msgid "User session" +msgid "View session" +msgstr "Сессия пользователя" + +#: terminal/templates/terminal/_msg_command_warning.html:32 +#, fuzzy +#| msgid "" +#| "Please review the login activity to ensure the security and proper usage of " +#| "the asset. If you did not authorize this login or if you notice any " +#| "suspicious activity, please take the necessary actions immediately." +msgid "" +"Please review this command execution to ensure it complies with your " +"organization’s security policies. If you did not authorize this action or " +"notice anything unusual, please take the necessary actions immediately." +msgstr "" +"Пожалуйста, проверьте этот вход, чтобы обеспечить безопасность и правильное " +"использование актива. Если вы не разрешали этот вход или заметили какую-либо" +" подозрительную активность, немедленно примите необходимые меры." + #: tickets/api/ticket.py:88 tickets/models/ticket/general.py:289 msgid "Applicant" msgstr "Запрашивающий" diff --git a/apps/i18n/core/zh/LC_MESSAGES/django.po b/apps/i18n/core/zh/LC_MESSAGES/django.po index 9f31d8ec2..ae8e4c71a 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-07-17 15:06+0800\n" +"POT-Creation-Date: 2025-09-10 14:30+0800\n" "PO-Revision-Date: 2021-05-20 10:54+0800\n" "Last-Translator: ibuler \n" "Language-Team: JumpServer team\n" @@ -453,9 +453,9 @@ msgstr "Vault 操作失败,请重试,或者检查 Vault 上的账号信息 #: audits/models.py:59 audits/models.py:318 audits/serializers.py:230 #: authentication/models/connection_token.py:41 #: perms/models/asset_permission.py:69 terminal/backends/command/models.py:17 -#: terminal/models/session/session.py:36 terminal/notifications.py:156 +#: terminal/models/session/session.py:36 terminal/notifications.py:160 #: terminal/serializers/command.py:17 terminal/serializers/session.py:38 -#: terminal/templates/terminal/_msg_command_warning.html:4 +#: terminal/templates/terminal/_msg_command_warning.html:10 #: terminal/templates/terminal/_msg_session_sharing.html:4 #: tickets/models/ticket/apply_asset.py:17 xpack/plugins/cloud/models.py:295 msgid "Asset" @@ -515,13 +515,13 @@ msgstr "改密状态" #: accounts/serializers/automations/change_secret.py:148 #: accounts/templates/accounts/change_secret_failed_info.html:12 #: acls/serializers/base.py:133 -#: acls/templates/acls/asset_login_reminder.html:10 +#: acls/templates/acls/asset_login_reminder.html:11 #: assets/serializers/gateway.py:33 audits/models.py:60 audits/models.py:319 #: audits/serializers.py:231 authentication/api/connection_token.py:464 #: ops/models/base.py:18 perms/models/asset_permission.py:75 #: settings/serializers/msg.py:33 terminal/backends/command/models.py:18 #: terminal/models/session/session.py:38 terminal/serializers/command.py:72 -#: terminal/templates/terminal/_msg_command_warning.html:8 +#: terminal/templates/terminal/_msg_command_warning.html:11 #: terminal/templates/terminal/_msg_session_sharing.html:8 #: tickets/models/ticket/command_confirm.py:14 #: xpack/plugins/cloud/models.py:106 xpack/plugins/cloud/ws.py:37 @@ -1222,7 +1222,7 @@ msgid "Changed" msgstr "已修改" #: accounts/serializers/account/account.py:290 acls/models/base.py:97 -#: acls/templates/acls/asset_login_reminder.html:9 +#: acls/templates/acls/asset_login_reminder.html:10 #: assets/models/automations/base.py:25 #: assets/serializers/automations/base.py:20 assets/serializers/domain.py:33 #: assets/serializers/platform.py:181 assets/serializers/platform.py:213 @@ -1268,9 +1268,9 @@ msgstr "ID" #: rbac/builtin.py:127 rbac/models/rolebinding.py:49 #: rbac/serializers/rolebinding.py:17 terminal/backends/command/models.py:16 #: terminal/models/session/session.py:34 terminal/models/session/sharing.py:34 -#: terminal/notifications.py:157 terminal/notifications.py:217 +#: terminal/notifications.py:161 terminal/notifications.py:221 #: terminal/serializers/command.py:16 -#: terminal/templates/terminal/_msg_command_warning.html:6 +#: terminal/templates/terminal/_msg_command_warning.html:9 #: terminal/templates/terminal/_msg_session_sharing.html:6 #: tickets/models/comment.py:21 tickets/serializers/flow.py:15 #: users/const.py:14 users/models/user/__init__.py:293 @@ -1280,7 +1280,7 @@ msgstr "用户" #: accounts/serializers/account/account.py:484 #: authentication/templates/authentication/_access_key_modal.html:33 -#: terminal/notifications.py:159 terminal/notifications.py:219 +#: terminal/notifications.py:163 terminal/notifications.py:223 msgid "Date" msgstr "日期" @@ -1855,7 +1855,7 @@ msgstr "用户" #: terminal/models/session/session.py:47 terminal/serializers/command.py:18 #: terminal/templates/terminal/_msg_command_alert.html:12 #: terminal/templates/terminal/_msg_command_execute_alert.html:10 -#: terminal/templates/terminal/_msg_command_warning.html:23 +#: terminal/templates/terminal/_msg_command_warning.html:28 msgid "Command" msgstr "命令" @@ -1881,7 +1881,7 @@ msgstr "忽略大小写" #: acls/models/command_acl.py:33 acls/models/command_acl.py:97 #: acls/serializers/command_acl.py:29 #: authentication/serializers/connect_token_secret.py:90 -#: terminal/templates/terminal/_msg_command_warning.html:14 +#: terminal/templates/terminal/_msg_command_warning.html:23 msgid "Command group" msgstr "命令组" @@ -1890,7 +1890,7 @@ msgid "The generated regular expression is incorrect: {}" msgstr "生成的正则表达式有误" #: acls/models/command_acl.py:103 -#: terminal/templates/terminal/_msg_command_warning.html:12 +#: terminal/templates/terminal/_msg_command_warning.html:22 msgid "Command acl" msgstr "命令过滤" @@ -1911,7 +1911,7 @@ msgstr "连接方式控制" msgid "Rule" msgstr "规则" -#: acls/models/login_acl.py:14 +#: acls/models/login_acl.py:14 acls/templates/acls/user_login_reminder.html:12 msgid "Login acl" msgstr "登录访问控制" @@ -1920,6 +1920,7 @@ msgid "Login confirm" msgstr "登录复核" #: acls/models/login_asset_acl.py:12 +#: acls/templates/acls/asset_login_reminder.html:12 msgid "Login asset acl" msgstr "登录资产访问控制" @@ -1927,11 +1928,11 @@ msgstr "登录资产访问控制" msgid "Login asset confirm" msgstr "登录资产复核" -#: acls/notifications.py:12 +#: acls/notifications.py:13 msgid "User login reminder" msgstr "用户登录提醒" -#: acls/notifications.py:42 +#: acls/notifications.py:45 msgid "User login alert for asset" msgstr "资产登录提醒" @@ -1998,6 +1999,7 @@ msgstr "时段" #: authentication/templates/authentication/_msg_rest_password_success.html:2 #: authentication/templates/authentication/_msg_rest_public_key_success.html:2 #: perms/templates/perms/_msg_permed_items_expire.html:3 +#: terminal/templates/terminal/_msg_command_warning.html:3 #: users/templates/users/_msg_reset_mfa.html:4 msgid "Dear" msgstr "尊敬的" @@ -2012,8 +2014,8 @@ msgstr "我们想通知您,以下资产最近有用户登录:" msgid "Asset details" msgstr "资产详情" -#: acls/templates/acls/asset_login_reminder.html:14 -#: acls/templates/acls/user_login_reminder.html:15 +#: acls/templates/acls/asset_login_reminder.html:16 +#: acls/templates/acls/user_login_reminder.html:16 msgid "" "Please review the login activity to ensure the security and proper usage of " "the asset. If you did not authorize this login or if you notice any " @@ -2022,8 +2024,9 @@ msgstr "" "请您审核此登录活动,以确保资产的安全和正确使用。如果您未授权此次登录或发现任" "何可疑活动,请立即采取必要的措施。" -#: acls/templates/acls/asset_login_reminder.html:16 -#: acls/templates/acls/user_login_reminder.html:16 +#: acls/templates/acls/asset_login_reminder.html:18 +#: acls/templates/acls/user_login_reminder.html:17 +#: terminal/templates/terminal/_msg_command_warning.html:34 msgid "Thank you for your attention to this matter" msgstr "感谢您对此事的关注。" @@ -2622,7 +2625,7 @@ msgstr "收集资产信息" msgid "Ping asset" msgstr "测试资产" -#: assets/models/base.py:17 terminal/notifications.py:243 +#: assets/models/base.py:17 terminal/notifications.py:247 msgid "Connectivity" msgstr "连接性" @@ -3340,7 +3343,6 @@ msgid "Rename dir" msgstr "映射目录" #: audits/const.py:23 rbac/tree.py:278 terminal/api/session/session.py:285 -#: terminal/templates/terminal/_msg_command_warning.html:18 #: terminal/templates/terminal/_msg_session_sharing.html:10 #: xpack/plugins/cloud/manager.py:102 msgid "View" @@ -3439,7 +3441,7 @@ msgstr "可下载" #: terminal/models/session/replay.py:9 terminal/models/session/sharing.py:20 #: terminal/models/session/sharing.py:95 terminal/serializers/command.py:19 #: terminal/templates/terminal/_msg_command_alert.html:10 -#: terminal/templates/terminal/_msg_command_warning.html:17 +#: terminal/templates/terminal/_msg_command_warning.html:25 #: tickets/models/ticket/command_confirm.py:16 msgid "Session" msgstr "会话" @@ -3720,7 +3722,7 @@ msgstr "资产登录规则不支持当前资产" msgid "ACL action is face online" msgstr "ACL 动作是人脸在线" -#: authentication/api/connection_token.py:533 +#: authentication/api/connection_token.py:534 msgid "No available face feature" msgstr "没有可用的人脸特征" @@ -4167,6 +4169,7 @@ msgstr "自定义密码" #: terminal/models/virtualapp/virtualapp.py:24 #: terminal/serializers/session.py:31 terminal/serializers/session.py:58 #: terminal/serializers/storage.py:71 +#: terminal/templates/terminal/_msg_command_warning.html:19 msgid "Protocol" msgstr "协议" @@ -5707,7 +5710,7 @@ msgid "Run as policy" msgstr "用户策略" #: ops/models/job.py:221 ops/models/variable.py:28 ops/serializers/job.py:111 -#: terminal/notifications.py:182 +#: terminal/notifications.py:186 msgid "Job" msgstr "作业" @@ -5979,7 +5982,7 @@ msgstr "请选择一个组织后再保存" #: orgs/mixins/models.py:57 orgs/mixins/serializers.py:25 orgs/models.py:91 #: rbac/const.py:7 rbac/models/rolebinding.py:56 #: rbac/serializers/rolebinding.py:44 settings/serializers/auth/base.py:53 -#: terminal/templates/terminal/_msg_command_warning.html:21 +#: terminal/templates/terminal/_msg_command_warning.html:27 #: terminal/templates/terminal/_msg_session_sharing.html:14 #: tickets/models/ticket/general.py:303 tickets/serializers/ticket/ticket.py:61 msgid "Organization" @@ -8294,7 +8297,7 @@ msgid "Output" msgstr "输出" #: terminal/backends/command/models.py:24 terminal/serializers/command.py:22 -#: terminal/templates/terminal/_msg_command_warning.html:10 +#: terminal/templates/terminal/_msg_command_warning.html:21 msgid "Risk level" msgstr "风险等级" @@ -8630,6 +8633,7 @@ msgid "Account ID" msgstr "账号" #: terminal/models/session/session.py:41 terminal/models/session/sharing.py:118 +#: terminal/templates/terminal/_msg_command_warning.html:16 msgid "Login from" msgstr "登录来源" @@ -8683,7 +8687,7 @@ msgid "Origin" msgstr "来源" #: terminal/models/session/sharing.py:42 terminal/models/session/sharing.py:100 -#: terminal/notifications.py:279 +#: terminal/notifications.py:283 msgid "Session sharing" msgstr "会话分享" @@ -8753,26 +8757,26 @@ msgstr "会话" msgid "Command warning" msgstr "命令告警" -#: terminal/notifications.py:128 terminal/notifications.py:183 +#: terminal/notifications.py:132 terminal/notifications.py:187 msgid "Command reject" msgstr "命令拒绝" -#: terminal/notifications.py:158 terminal/notifications.py:218 +#: terminal/notifications.py:162 terminal/notifications.py:222 msgid "Level" msgstr "级别" -#: terminal/notifications.py:242 +#: terminal/notifications.py:246 msgid "Command and replay storage" msgstr "命令及录像存储" -#: terminal/notifications.py:258 terminal/tasks.py:212 +#: terminal/notifications.py:262 terminal/tasks.py:212 #: xpack/plugins/cloud/api.py:182 #: xpack/plugins/cloud/serializers/account.py:137 #: xpack/plugins/cloud/serializers/account.py:139 msgid "Test failure: Account invalid" msgstr "测试失败: 账号无效" -#: terminal/notifications.py:268 +#: terminal/notifications.py:272 #: terminal/templates/terminal/_msg_check_command_replay_storage_connectivity.html:4 msgid "Invalid storage" msgstr "无效的存储" @@ -9302,6 +9306,28 @@ msgstr "" msgid "view" msgstr "查看" +#: terminal/templates/terminal/_msg_command_warning.html:5 +msgid "" +"We would like to inform you that a command alert has been triggered with the " +"following details:" +msgstr "我们想通知您,命令警报已触发,内容如下::" + +#: terminal/templates/terminal/_msg_command_warning.html:7 +msgid "Alert details" +msgstr "警报详细信息" + +#: terminal/templates/terminal/_msg_command_warning.html:25 +msgid "View session" +msgstr "查看会话" + +#: terminal/templates/terminal/_msg_command_warning.html:32 +msgid "" +"Please review this command execution to ensure it complies with your " +"organization’s security policies. If you did not authorize this action or " +"notice anything unusual, please take the necessary actions immediately." +msgstr "" +"请检查此命令的执行情况,以确保其符合贵组织的安全策略。如果您未授权此操作或发现任何异常,请立即采取必要的措施。" + #: tickets/api/ticket.py:88 tickets/models/ticket/general.py:289 msgid "Applicant" msgstr "申请人" diff --git a/apps/i18n/core/zh_Hant/LC_MESSAGES/django.po b/apps/i18n/core/zh_Hant/LC_MESSAGES/django.po index 0f3eae502..96097b630 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-07-17 15:06+0800\n" +"POT-Creation-Date: 2025-09-10 14:30+0800\n" "PO-Revision-Date: 2021-05-20 10:54+0800\n" "Last-Translator: ibuler \n" "Language-Team: JumpServer team\n" @@ -455,9 +455,9 @@ msgstr "Vault 操作失敗,請重試,或檢查 Vault 上的帳號信息。" #: audits/models.py:59 audits/models.py:318 audits/serializers.py:230 #: authentication/models/connection_token.py:41 #: perms/models/asset_permission.py:69 terminal/backends/command/models.py:17 -#: terminal/models/session/session.py:36 terminal/notifications.py:156 +#: terminal/models/session/session.py:36 terminal/notifications.py:160 #: terminal/serializers/command.py:17 terminal/serializers/session.py:38 -#: terminal/templates/terminal/_msg_command_warning.html:4 +#: terminal/templates/terminal/_msg_command_warning.html:10 #: terminal/templates/terminal/_msg_session_sharing.html:4 #: tickets/models/ticket/apply_asset.py:17 xpack/plugins/cloud/models.py:295 msgid "Asset" @@ -517,13 +517,13 @@ msgstr "改密狀態" #: accounts/serializers/automations/change_secret.py:148 #: accounts/templates/accounts/change_secret_failed_info.html:12 #: acls/serializers/base.py:133 -#: acls/templates/acls/asset_login_reminder.html:10 +#: acls/templates/acls/asset_login_reminder.html:11 #: assets/serializers/gateway.py:33 audits/models.py:60 audits/models.py:319 #: audits/serializers.py:231 authentication/api/connection_token.py:464 #: ops/models/base.py:18 perms/models/asset_permission.py:75 #: settings/serializers/msg.py:33 terminal/backends/command/models.py:18 #: terminal/models/session/session.py:38 terminal/serializers/command.py:72 -#: terminal/templates/terminal/_msg_command_warning.html:8 +#: terminal/templates/terminal/_msg_command_warning.html:11 #: terminal/templates/terminal/_msg_session_sharing.html:8 #: tickets/models/ticket/command_confirm.py:14 #: xpack/plugins/cloud/models.py:106 xpack/plugins/cloud/ws.py:37 @@ -1224,7 +1224,7 @@ msgid "Changed" msgstr "已修改" #: accounts/serializers/account/account.py:290 acls/models/base.py:97 -#: acls/templates/acls/asset_login_reminder.html:9 +#: acls/templates/acls/asset_login_reminder.html:10 #: assets/models/automations/base.py:25 #: assets/serializers/automations/base.py:20 assets/serializers/domain.py:33 #: assets/serializers/platform.py:181 assets/serializers/platform.py:213 @@ -1271,9 +1271,9 @@ msgstr "ID" #: rbac/builtin.py:127 rbac/models/rolebinding.py:49 #: rbac/serializers/rolebinding.py:17 terminal/backends/command/models.py:16 #: terminal/models/session/session.py:34 terminal/models/session/sharing.py:34 -#: terminal/notifications.py:157 terminal/notifications.py:217 +#: terminal/notifications.py:161 terminal/notifications.py:221 #: terminal/serializers/command.py:16 -#: terminal/templates/terminal/_msg_command_warning.html:6 +#: terminal/templates/terminal/_msg_command_warning.html:9 #: terminal/templates/terminal/_msg_session_sharing.html:6 #: tickets/models/comment.py:21 tickets/serializers/flow.py:15 #: users/const.py:14 users/models/user/__init__.py:293 @@ -1283,7 +1283,7 @@ msgstr "用戶" #: accounts/serializers/account/account.py:484 #: authentication/templates/authentication/_access_key_modal.html:33 -#: terminal/notifications.py:159 terminal/notifications.py:219 +#: terminal/notifications.py:163 terminal/notifications.py:223 msgid "Date" msgstr "日期" @@ -1832,7 +1832,7 @@ msgstr "用戶管理" #: terminal/models/session/session.py:47 terminal/serializers/command.py:18 #: terminal/templates/terminal/_msg_command_alert.html:12 #: terminal/templates/terminal/_msg_command_execute_alert.html:10 -#: terminal/templates/terminal/_msg_command_warning.html:23 +#: terminal/templates/terminal/_msg_command_warning.html:28 msgid "Command" msgstr "命令" @@ -1858,7 +1858,7 @@ msgstr "忽略大小寫" #: acls/models/command_acl.py:33 acls/models/command_acl.py:97 #: acls/serializers/command_acl.py:29 #: authentication/serializers/connect_token_secret.py:90 -#: terminal/templates/terminal/_msg_command_warning.html:14 +#: terminal/templates/terminal/_msg_command_warning.html:23 msgid "Command group" msgstr "命令組" @@ -1867,7 +1867,7 @@ msgid "The generated regular expression is incorrect: {}" msgstr "生成的正則表達式有誤" #: acls/models/command_acl.py:103 -#: terminal/templates/terminal/_msg_command_warning.html:12 +#: terminal/templates/terminal/_msg_command_warning.html:22 msgid "Command acl" msgstr "命令過濾" @@ -1888,7 +1888,7 @@ msgstr "連接方式控制" msgid "Rule" msgstr "規則" -#: acls/models/login_acl.py:14 +#: acls/models/login_acl.py:14 acls/templates/acls/user_login_reminder.html:12 msgid "Login acl" msgstr "登錄訪問控制" @@ -1897,6 +1897,7 @@ msgid "Login confirm" msgstr "登錄覆核" #: acls/models/login_asset_acl.py:12 +#: acls/templates/acls/asset_login_reminder.html:12 msgid "Login asset acl" msgstr "登錄資產訪問控制" @@ -1904,11 +1905,11 @@ msgstr "登錄資產訪問控制" msgid "Login asset confirm" msgstr "登錄資產覆核" -#: acls/notifications.py:12 +#: acls/notifications.py:13 msgid "User login reminder" msgstr "用戶登錄提醒" -#: acls/notifications.py:42 +#: acls/notifications.py:45 msgid "User login alert for asset" msgstr "資產登入提醒" @@ -1975,6 +1976,7 @@ msgstr "時段" #: authentication/templates/authentication/_msg_rest_password_success.html:2 #: authentication/templates/authentication/_msg_rest_public_key_success.html:2 #: perms/templates/perms/_msg_permed_items_expire.html:3 +#: terminal/templates/terminal/_msg_command_warning.html:3 #: users/templates/users/_msg_reset_mfa.html:4 msgid "Dear" msgstr "尊敬的" @@ -1989,16 +1991,17 @@ msgstr "我們想通知您,以下資產最近有用戶登入:" msgid "Asset details" msgstr "資產詳情" -#: acls/templates/acls/asset_login_reminder.html:14 -#: acls/templates/acls/user_login_reminder.html:15 +#: acls/templates/acls/asset_login_reminder.html:16 +#: acls/templates/acls/user_login_reminder.html:16 msgid "" "Please review the login activity to ensure the security and proper usage of " "the asset. If you did not authorize this login or if you notice any " "suspicious activity, please take the necessary actions immediately." msgstr "請您稽核此登入行為,以確保資產的安全和正確使用。如果您未授權此次登入或發現任何可疑行為,請立即採取必要的行動。" -#: acls/templates/acls/asset_login_reminder.html:16 -#: acls/templates/acls/user_login_reminder.html:16 +#: acls/templates/acls/asset_login_reminder.html:18 +#: acls/templates/acls/user_login_reminder.html:17 +#: terminal/templates/terminal/_msg_command_warning.html:34 msgid "Thank you for your attention to this matter" msgstr "感謝您對此事的關注。" @@ -2594,7 +2597,7 @@ msgstr "收集資產資訊" msgid "Ping asset" msgstr "測試資產" -#: assets/models/base.py:17 terminal/notifications.py:243 +#: assets/models/base.py:17 terminal/notifications.py:247 msgid "Connectivity" msgstr "可連接性" @@ -3300,7 +3303,6 @@ msgid "Rename dir" msgstr "映射目錄" #: audits/const.py:23 rbac/tree.py:278 terminal/api/session/session.py:285 -#: terminal/templates/terminal/_msg_command_warning.html:18 #: terminal/templates/terminal/_msg_session_sharing.html:10 #: xpack/plugins/cloud/manager.py:102 msgid "View" @@ -3399,7 +3401,7 @@ msgstr "可下载" #: terminal/models/session/replay.py:9 terminal/models/session/sharing.py:20 #: terminal/models/session/sharing.py:95 terminal/serializers/command.py:19 #: terminal/templates/terminal/_msg_command_alert.html:10 -#: terminal/templates/terminal/_msg_command_warning.html:17 +#: terminal/templates/terminal/_msg_command_warning.html:25 #: tickets/models/ticket/command_confirm.py:16 msgid "Session" msgstr "會話" @@ -3674,7 +3676,7 @@ msgstr "資產登錄規則不支持當前資產" msgid "ACL action is face online" msgstr "ACL Action 係人臉在線" -#: authentication/api/connection_token.py:533 +#: authentication/api/connection_token.py:534 msgid "No available face feature" msgstr "沒有可用的人臉特徵" @@ -4119,6 +4121,7 @@ msgstr "自訂密碼" #: terminal/models/virtualapp/virtualapp.py:24 #: terminal/serializers/session.py:31 terminal/serializers/session.py:58 #: terminal/serializers/storage.py:71 +#: terminal/templates/terminal/_msg_command_warning.html:19 msgid "Protocol" msgstr "協議" @@ -5654,7 +5657,7 @@ msgid "Run as policy" msgstr "使用者策略" #: ops/models/job.py:221 ops/models/variable.py:28 ops/serializers/job.py:111 -#: terminal/notifications.py:182 +#: terminal/notifications.py:186 msgid "Job" msgstr "作業" @@ -5911,7 +5914,7 @@ msgstr "請選擇一個組織後再保存" #: orgs/mixins/models.py:57 orgs/mixins/serializers.py:25 orgs/models.py:91 #: rbac/const.py:7 rbac/models/rolebinding.py:56 #: rbac/serializers/rolebinding.py:44 settings/serializers/auth/base.py:53 -#: terminal/templates/terminal/_msg_command_warning.html:21 +#: terminal/templates/terminal/_msg_command_warning.html:27 #: terminal/templates/terminal/_msg_session_sharing.html:14 #: tickets/models/ticket/general.py:303 #: tickets/serializers/ticket/ticket.py:61 @@ -8167,7 +8170,7 @@ msgid "Output" msgstr "輸出" #: terminal/backends/command/models.py:24 terminal/serializers/command.py:22 -#: terminal/templates/terminal/_msg_command_warning.html:10 +#: terminal/templates/terminal/_msg_command_warning.html:21 msgid "Risk level" msgstr "風險等級" @@ -8504,6 +8507,7 @@ msgstr "帳號" #: terminal/models/session/session.py:41 #: terminal/models/session/sharing.py:118 +#: terminal/templates/terminal/_msg_command_warning.html:16 msgid "Login from" msgstr "登錄來源" @@ -8557,7 +8561,7 @@ msgid "Origin" msgstr "來源" #: terminal/models/session/sharing.py:42 -#: terminal/models/session/sharing.py:100 terminal/notifications.py:279 +#: terminal/models/session/sharing.py:100 terminal/notifications.py:283 msgid "Session sharing" msgstr "會話分享" @@ -8627,26 +8631,26 @@ msgstr "會話管理" msgid "Command warning" msgstr "命令告警" -#: terminal/notifications.py:128 terminal/notifications.py:183 +#: terminal/notifications.py:132 terminal/notifications.py:187 msgid "Command reject" msgstr "命令拒絕" -#: terminal/notifications.py:158 terminal/notifications.py:218 +#: terminal/notifications.py:162 terminal/notifications.py:222 msgid "Level" msgstr "級別" -#: terminal/notifications.py:242 +#: terminal/notifications.py:246 msgid "Command and replay storage" msgstr "命令及錄影儲存" -#: terminal/notifications.py:258 terminal/tasks.py:212 +#: terminal/notifications.py:262 terminal/tasks.py:212 #: xpack/plugins/cloud/api.py:182 #: xpack/plugins/cloud/serializers/account.py:137 #: xpack/plugins/cloud/serializers/account.py:139 msgid "Test failure: Account invalid" msgstr "測試失敗: 帳號無效" -#: terminal/notifications.py:268 +#: terminal/notifications.py:272 #: terminal/templates/terminal/_msg_check_command_replay_storage_connectivity.html:4 msgid "Invalid storage" msgstr "無效的儲存" @@ -9149,6 +9153,27 @@ msgstr "每天淩晨0點檢查命令及錄像外部存儲是否可連接,如 msgid "view" msgstr "查看" +#: terminal/templates/terminal/_msg_command_warning.html:5 +msgid "" +"We would like to inform you that a command alert has been triggered with the" +" following details:" +msgstr "我們想通知您,命令警報已觸發,內容如下::" + +#: terminal/templates/terminal/_msg_command_warning.html:7 +msgid "Alert details" +msgstr "警報詳細資訊" + +#: terminal/templates/terminal/_msg_command_warning.html:25 +msgid "View session" +msgstr "查看會話" + +#: terminal/templates/terminal/_msg_command_warning.html:32 +msgid "" +"Please review this command execution to ensure it complies with your " +"organization’s security policies. If you did not authorize this action or " +"notice anything unusual, please take the necessary actions immediately." +msgstr "請檢查此命令的執行情況,以確保其符合貴組織的安全政策。如果您未授權此操作或發現任何異常,請立即採取必要的措施。" + #: tickets/api/ticket.py:88 tickets/models/ticket/general.py:289 msgid "Applicant" msgstr "申請人"