feat: 改密计划支持数据库改密 (#6709)

* feat: 改密计划支持数据库改密

* fix: 将数据库账户信息不保存在资产信息里,保存到自己的存储中

* perf: 早餐村

* perf: 修改account

* perf: 修改app和系统用户

* perf: 优化系统用户和应用关系

* fix: 修复oracle不可连接问题

Co-authored-by: ibuler <ibuler@qq.com>
Co-authored-by: feng626 <1304903146@qq.com>
Co-authored-by: Michael Bai <baijiangjie@gmail.com>
This commit is contained in:
fit2cloud-jiangweidong
2021-09-09 04:04:54 -04:00
committed by GitHub
parent 3e51f4d616
commit 905014d441
22 changed files with 662 additions and 530 deletions

Binary file not shown.

View File

@@ -35,12 +35,12 @@ msgid "Name"
msgstr "名称"
#: acls/models/base.py:27 assets/models/cmd_filter.py:54
#: assets/models/user.py:203
#: assets/models/user.py:207
msgid "Priority"
msgstr "优先级"
#: acls/models/base.py:28 assets/models/cmd_filter.py:54
#: assets/models/user.py:203
#: assets/models/user.py:207
msgid "1-100, the lower the value will be match first"
msgstr "优先级可选范围为 1-100 (数值越小越优先)"
@@ -51,8 +51,6 @@ msgstr "优先级可选范围为 1-100 (数值越小越优先)"
msgid "Active"
msgstr "激活中"
# msgid "Date created"
# msgstr "创建日期"
#: acls/models/base.py:32 applications/models/application.py:179
#: assets/models/asset.py:144 assets/models/asset.py:220
#: assets/models/base.py:180 assets/models/cluster.py:29
@@ -62,7 +60,7 @@ msgstr "激活中"
#: orgs/models.py:27 perms/models/base.py:53 settings/models.py:34
#: terminal/models/storage.py:26 terminal/models/terminal.py:114
#: tickets/models/ticket.py:71 users/models/group.py:16
#: users/models/user.py:590 xpack/plugins/change_auth_plan/models.py:88
#: users/models/user.py:590 xpack/plugins/change_auth_plan/models/base.py:41
#: xpack/plugins/cloud/models.py:35 xpack/plugins/cloud/models.py:113
#: xpack/plugins/gathered_user/models.py:26
msgid "Comment"
@@ -114,20 +112,16 @@ msgstr "用户"
msgid "Login confirm"
msgstr "登录复核"
#: acls/models/login_asset_acl.py:21
msgid "System User"
msgstr "系统用户"
#: acls/models/login_asset_acl.py:22
#: applications/serializers/attrs/application_category/remote_app.py:37
#: assets/models/asset.py:357 assets/models/authbook.py:15
#: assets/models/gathered_user.py:14 assets/serializers/system_user.py:200
#: assets/models/gathered_user.py:14 assets/serializers/system_user.py:201
#: audits/models.py:38 perms/models/asset_permission.py:99
#: templates/index.html:82 terminal/backends/command/models.py:19
#: terminal/backends/command/serializers.py:13 terminal/models/session.py:40
#: users/templates/users/user_asset_permission.html:40
#: users/templates/users/user_asset_permission.html:70
#: xpack/plugins/change_auth_plan/models.py:315
#: xpack/plugins/change_auth_plan/models/asset.py:195
#: xpack/plugins/cloud/models.py:217
msgid "Asset"
msgstr "资产"
@@ -173,7 +167,6 @@ msgstr "格式为逗号分隔的字符串, * 表示匹配所有. "
#: acls/serializers/login_asset_acl.py:17
#: acls/serializers/login_asset_acl.py:51
#: applications/serializers/application.py:74
#: applications/serializers/attrs/application_type/chrome.py:20
#: applications/serializers/attrs/application_type/custom.py:21
#: applications/serializers/attrs/application_type/mysql_workbench.py:30
@@ -182,8 +175,8 @@ msgstr "格式为逗号分隔的字符串, * 表示匹配所有. "
#: audits/models.py:105 authentication/forms.py:15 authentication/forms.py:17
#: ops/models/adhoc.py:148 users/forms/profile.py:31 users/models/user.py:555
#: users/templates/users/_select_user_modal.html:14
#: xpack/plugins/change_auth_plan/models.py:51
#: xpack/plugins/change_auth_plan/models.py:311
#: xpack/plugins/change_auth_plan/models/asset.py:35
#: xpack/plugins/change_auth_plan/models/asset.py:191
#: xpack/plugins/cloud/serializers.py:67
msgid "Username"
msgstr "用户名"
@@ -212,7 +205,7 @@ msgid ""
msgstr "格式为逗号分隔的字符串, * 表示匹配所有. 可选的协议有: {}"
#: acls/serializers/login_asset_acl.py:55 assets/models/asset.py:184
#: assets/models/domain.py:63 assets/models/user.py:204
#: assets/models/domain.py:63 assets/models/user.py:208
#: terminal/serializers/session.py:30 terminal/serializers/storage.py:69
msgid "Protocol"
msgstr "协议"
@@ -234,9 +227,11 @@ msgstr "所有复核人都不属于组织 `{}`"
msgid "My applications"
msgstr "我的应用"
#: applications/const.py:8
#: applications/const.py:8 applications/models/account.py:10
#: applications/serializers/attrs/application_category/db.py:14
#: applications/serializers/attrs/application_type/mysql_workbench.py:26
#: xpack/plugins/change_auth_plan/models/app.py:32
#: xpack/plugins/change_auth_plan/models/app.py:139
msgid "Database"
msgstr "数据库"
@@ -248,25 +243,44 @@ msgstr "远程应用"
msgid "Custom"
msgstr "自定义"
#: applications/models/account.py:11 assets/models/authbook.py:16
#: assets/models/user.py:281 audits/models.py:39
#: perms/models/application_permission.py:31
#: perms/models/asset_permission.py:101 templates/_nav.html:45
#: terminal/backends/command/models.py:20
#: terminal/backends/command/serializers.py:14 terminal/models/session.py:42
#: users/templates/users/_granted_assets.html:27
#: users/templates/users/user_asset_permission.html:42
#: users/templates/users/user_asset_permission.html:76
#: users/templates/users/user_asset_permission.html:159
#: users/templates/users/user_database_app_permission.html:40
#: users/templates/users/user_database_app_permission.html:67
#: xpack/plugins/change_auth_plan/models/app.py:36
msgid "System user"
msgstr "系统用户"
#: applications/models/application.py:50 templates/_nav.html:60
msgid "Applications"
msgstr "应用管理"
#: applications/models/application.py:168
#: applications/serializers/application.py:80 assets/models/label.py:21
#: applications/serializers/application.py:82 assets/models/label.py:21
#: perms/models/application_permission.py:20
#: perms/serializers/application/user_permission.py:33
#: tickets/serializers/ticket/meta/ticket_type/apply_application.py:20
#: xpack/plugins/change_auth_plan/models/app.py:25
msgid "Category"
msgstr "类别"
#: applications/models/application.py:171
#: applications/serializers/application.py:82 assets/models/cmd_filter.py:53
#: assets/models/user.py:202 perms/models/application_permission.py:23
#: applications/serializers/application.py:84 assets/models/cmd_filter.py:53
#: assets/models/user.py:206 perms/models/application_permission.py:23
#: perms/serializers/application/user_permission.py:34
#: terminal/models/storage.py:55 terminal/models/storage.py:116
#: tickets/models/flow.py:50 tickets/models/ticket.py:48
#: tickets/serializers/ticket/meta/ticket_type/apply_application.py:27
#: xpack/plugins/change_auth_plan/models/app.py:28
#: xpack/plugins/change_auth_plan/models/app.py:148
msgid "Type"
msgstr "类型"
@@ -279,15 +293,15 @@ msgstr "网域"
msgid "Attrs"
msgstr ""
#: applications/serializers/application.py:50
#: applications/serializers/application.py:81 assets/serializers/label.py:13
#: applications/serializers/application.py:59
#: applications/serializers/application.py:83 assets/serializers/label.py:13
#: perms/serializers/application/permission.py:18
#: tickets/serializers/ticket/meta/ticket_type/apply_application.py:24
msgid "Category display"
msgstr "类别名称"
#: applications/serializers/application.py:51
#: applications/serializers/application.py:83
#: applications/serializers/application.py:60
#: applications/serializers/application.py:85
#: assets/serializers/system_user.py:26 audits/serializers.py:29
#: perms/serializers/application/permission.py:19
#: tickets/serializers/ticket/meta/ticket_type/apply_application.py:31
@@ -300,46 +314,6 @@ msgstr "类型名称"
msgid "Id"
msgstr ""
#: applications/serializers/application.py:75
#: applications/serializers/application.py:110
#: applications/serializers/attrs/application_type/chrome.py:23
#: applications/serializers/attrs/application_type/custom.py:25
#: applications/serializers/attrs/application_type/mysql_workbench.py:34
#: applications/serializers/attrs/application_type/vmware_client.py:30
#: assets/models/base.py:177 audits/signals_handler.py:63
#: authentication/forms.py:22
#: authentication/templates/authentication/login.html:164
#: settings/serializers/auth/ldap.py:44 users/forms/profile.py:21
#: users/templates/users/user_otp_check_password.html:13
#: users/templates/users/user_password_update.html:43
#: users/templates/users/user_password_verify.html:18
#: xpack/plugins/change_auth_plan/models.py:72
#: xpack/plugins/change_auth_plan/models.py:207
#: xpack/plugins/change_auth_plan/models.py:318
#: xpack/plugins/cloud/serializers.py:69
msgid "Password"
msgstr "密码"
#: applications/serializers/application.py:76 assets/models/authbook.py:16
#: assets/models/user.py:277 audits/models.py:39
#: perms/models/application_permission.py:31
#: perms/models/asset_permission.py:101 templates/_nav.html:45
#: terminal/backends/command/models.py:20
#: terminal/backends/command/serializers.py:14 terminal/models/session.py:42
#: users/templates/users/_granted_assets.html:27
#: users/templates/users/user_asset_permission.html:42
#: users/templates/users/user_asset_permission.html:76
#: users/templates/users/user_asset_permission.html:159
#: users/templates/users/user_database_app_permission.html:40
#: users/templates/users/user_database_app_permission.html:67
msgid "System user"
msgstr "系统用户"
#: applications/serializers/application.py:77 assets/serializers/account.py:31
#: assets/serializers/account.py:52
msgid "System user display"
msgstr "系统用户名称"
#: applications/serializers/application.py:78
msgid "App"
msgstr "应用"
@@ -348,21 +322,6 @@ msgstr "应用"
msgid "Application name"
msgstr "应用名称"
#: applications/serializers/application.py:84
msgid "Union id"
msgstr "联合ID"
#: applications/serializers/application.py:85 orgs/mixins/models.py:46
#: orgs/mixins/serializers.py:25 orgs/models.py:37 orgs/models.py:432
#: orgs/serializers.py:106 tickets/serializers/ticket/ticket.py:77
msgid "Organization"
msgstr "组织"
#: applications/serializers/application.py:86 assets/serializers/asset.py:98
#: assets/serializers/system_user.py:217 orgs/mixins/serializers.py:26
msgid "Org name"
msgstr "组织名称"
#: applications/serializers/attrs/application_category/cloud.py:9
#: assets/models/cluster.py:40
msgid "Cluster"
@@ -400,6 +359,24 @@ msgstr "该字段是必填项。"
msgid "Target URL"
msgstr "目标URL"
#: applications/serializers/attrs/application_type/chrome.py:23
#: applications/serializers/attrs/application_type/custom.py:25
#: applications/serializers/attrs/application_type/mysql_workbench.py:34
#: applications/serializers/attrs/application_type/vmware_client.py:30
#: assets/models/base.py:177 audits/signals_handler.py:63
#: authentication/forms.py:22
#: authentication/templates/authentication/login.html:164
#: settings/serializers/settings.py:95 users/forms/profile.py:21
#: users/templates/users/user_otp_check_password.html:13
#: users/templates/users/user_password_update.html:43
#: users/templates/users/user_password_verify.html:18
#: xpack/plugins/change_auth_plan/models/base.py:39
#: xpack/plugins/change_auth_plan/models/base.py:114
#: xpack/plugins/change_auth_plan/models/base.py:182
#: xpack/plugins/cloud/serializers.py:69
msgid "Password"
msgstr "密码"
#: applications/serializers/attrs/application_type/custom.py:13
msgid "Operating parameter"
msgstr "运行参数"
@@ -452,9 +429,9 @@ msgstr "系统平台"
msgid "Protocols"
msgstr "协议组"
#: assets/models/asset.py:189 assets/models/user.py:194
#: assets/models/asset.py:189 assets/models/user.py:198
#: perms/models/asset_permission.py:100
#: xpack/plugins/change_auth_plan/models.py:60
#: xpack/plugins/change_auth_plan/models/asset.py:44
#: xpack/plugins/gathered_user/models.py:24
msgid "Nodes"
msgstr "节点"
@@ -466,7 +443,7 @@ msgid "Is active"
msgstr "激活"
#: assets/models/asset.py:193 assets/models/cluster.py:19
#: assets/models/user.py:191 assets/models/user.py:326 templates/_nav.html:44
#: assets/models/user.py:195 assets/models/user.py:330 templates/_nav.html:44
msgid "Admin user"
msgstr "特权用户"
@@ -543,13 +520,12 @@ msgstr "标签管理"
#: assets/models/cmd_filter.py:67 assets/models/group.py:21
#: common/db/models.py:70 common/mixins/models.py:49 orgs/models.py:25
#: orgs/models.py:437 perms/models/base.py:51 users/models/user.py:598
#: users/serializers/group.py:33 xpack/plugins/change_auth_plan/models.py:92
#: users/serializers/group.py:33
#: xpack/plugins/change_auth_plan/models/base.py:45
#: xpack/plugins/cloud/models.py:119 xpack/plugins/gathered_user/models.py:30
msgid "Created by"
msgstr "创建者"
# msgid "Created by"
# msgstr "创建者"
#: assets/models/asset.py:219 assets/models/base.py:181
#: assets/models/cluster.py:26 assets/models/domain.py:27
#: assets/models/gathered_user.py:19 assets/models/group.py:22
@@ -589,15 +565,15 @@ msgstr "可连接性"
msgid "Date verified"
msgstr "校验日期"
#: assets/models/base.py:178 xpack/plugins/change_auth_plan/models.py:82
#: xpack/plugins/change_auth_plan/models.py:214
#: xpack/plugins/change_auth_plan/models.py:325
#: assets/models/base.py:178 xpack/plugins/change_auth_plan/models/asset.py:54
#: xpack/plugins/change_auth_plan/models/asset.py:126
#: xpack/plugins/change_auth_plan/models/asset.py:202
msgid "SSH private key"
msgstr "SSH密钥"
#: assets/models/base.py:179 xpack/plugins/change_auth_plan/models.py:85
#: xpack/plugins/change_auth_plan/models.py:210
#: xpack/plugins/change_auth_plan/models.py:321
#: assets/models/base.py:179 xpack/plugins/change_auth_plan/models/asset.py:57
#: xpack/plugins/change_auth_plan/models/asset.py:122
#: xpack/plugins/change_auth_plan/models/asset.py:198
msgid "SSH public key"
msgstr "SSH公钥"
@@ -649,7 +625,7 @@ msgstr "系统"
msgid "Default Cluster"
msgstr "默认Cluster"
#: assets/models/cmd_filter.py:33 assets/models/user.py:209
#: assets/models/cmd_filter.py:33 assets/models/user.py:213
msgid "Command filter"
msgstr "命令过滤器"
@@ -751,7 +727,7 @@ msgstr "全称"
msgid "Parent key"
msgstr "ssh私钥"
#: assets/models/node.py:559 assets/serializers/system_user.py:199
#: assets/models/node.py:559 assets/serializers/system_user.py:200
#: users/templates/users/user_asset_permission.html:41
#: users/templates/users/user_asset_permission.html:73
#: users/templates/users/user_asset_permission.html:158
@@ -759,65 +735,65 @@ msgstr "ssh私钥"
msgid "Node"
msgstr "节点"
#: assets/models/user.py:185
#: assets/models/user.py:189
msgid "Automatic managed"
msgstr "托管密码"
#: assets/models/user.py:186
#: assets/models/user.py:190
msgid "Manually input"
msgstr "手动输入"
#: assets/models/user.py:190
#: assets/models/user.py:194
msgid "Common user"
msgstr "普通用户"
#: assets/models/user.py:193
#: assets/models/user.py:197
msgid "Username same with user"
msgstr "用户名与用户相同"
#: assets/models/user.py:196 assets/serializers/domain.py:28
#: templates/_nav.html:39 xpack/plugins/change_auth_plan/models.py:56
#: assets/models/user.py:200 assets/serializers/domain.py:28
#: templates/_nav.html:39 xpack/plugins/change_auth_plan/models/asset.py:40
msgid "Assets"
msgstr "资产"
#: assets/models/user.py:200 templates/_nav.html:17
#: assets/models/user.py:204 templates/_nav.html:17
#: users/views/profile/pubkey.py:37
msgid "Users"
msgstr "用户管理"
#: assets/models/user.py:201
#: assets/models/user.py:205
msgid "User groups"
msgstr "用户组"
#: assets/models/user.py:205
#: assets/models/user.py:209
msgid "Auto push"
msgstr "自动推送"
#: assets/models/user.py:206
#: assets/models/user.py:210
msgid "Sudo"
msgstr "Sudo"
#: assets/models/user.py:207
#: assets/models/user.py:211
msgid "Shell"
msgstr "Shell"
#: assets/models/user.py:208
#: assets/models/user.py:212
msgid "Login mode"
msgstr "认证方式"
#: assets/models/user.py:210
#: assets/models/user.py:214
msgid "SFTP Root"
msgstr "SFTP根路径"
#: assets/models/user.py:211 authentication/models.py:94
#: assets/models/user.py:215 authentication/models.py:94
msgid "Token"
msgstr ""
#: assets/models/user.py:212
#: assets/models/user.py:216
msgid "Home"
msgstr "家目录"
#: assets/models/user.py:213
#: assets/models/user.py:217
msgid "System groups"
msgstr "用户组"
@@ -826,6 +802,10 @@ msgstr "用户组"
msgid "%(value)s is not an even number"
msgstr "%(value)s is not an even number"
#: assets/serializers/account.py:31 assets/serializers/account.py:52
msgid "System user display"
msgstr "系统用户名称"
#: assets/serializers/asset.py:20
msgid "Protocol format should {}/{}"
msgstr "协议格式 {}/{}"
@@ -846,6 +826,11 @@ msgstr "节点名称"
msgid "Hardware info"
msgstr "硬件信息"
#: assets/serializers/asset.py:98 assets/serializers/system_user.py:218
#: orgs/mixins/serializers.py:26
msgid "Org name"
msgstr "用户名"
#: assets/serializers/asset.py:99
msgid "Admin user display"
msgstr "特权用户名称"
@@ -890,7 +875,7 @@ msgstr "密钥指纹"
msgid "Nodes amount"
msgstr "节点数量"
#: assets/serializers/system_user.py:53 assets/serializers/system_user.py:201
#: assets/serializers/system_user.py:53 assets/serializers/system_user.py:202
msgid "Login mode display"
msgstr "认证方式名称"
@@ -898,27 +883,31 @@ msgstr "认证方式名称"
msgid "Ad domain"
msgstr "Ad 网域"
#: assets/serializers/system_user.py:95
#: assets/serializers/system_user.py:56
msgid "Is asset protocol"
msgstr ""
#: assets/serializers/system_user.py:96
msgid "Username same with user with protocol {} only allow 1"
msgstr "用户名和用户相同的一种协议只允许存在一个"
#: assets/serializers/system_user.py:109
#: assets/serializers/system_user.py:110
msgid "* Automatic login mode must fill in the username."
msgstr "自动登录模式,必须填写用户名"
#: assets/serializers/system_user.py:123
#: assets/serializers/system_user.py:124
msgid "Path should starts with /"
msgstr "路径应该以 / 开头"
#: assets/serializers/system_user.py:148
#: assets/serializers/system_user.py:149
msgid "Password or private key required"
msgstr "密码或密钥密码需要一个"
#: assets/serializers/system_user.py:216
#: assets/serializers/system_user.py:217
msgid "System user name"
msgstr "系统用户名称"
#: assets/serializers/system_user.py:226
#: assets/serializers/system_user.py:227
msgid "Asset hostname"
msgstr "资产主机名"
@@ -1092,8 +1081,8 @@ msgstr "成功"
#: terminal/models/session.py:52
#: tickets/serializers/ticket/meta/ticket_type/apply_application.py:53
#: tickets/serializers/ticket/meta/ticket_type/apply_asset.py:45
#: xpack/plugins/change_auth_plan/models.py:194
#: xpack/plugins/change_auth_plan/models.py:340
#: xpack/plugins/change_auth_plan/models/base.py:105
#: xpack/plugins/change_auth_plan/models/base.py:189
#: xpack/plugins/gathered_user/models.py:76
msgid "Date start"
msgstr "开始日期"
@@ -2123,7 +2112,7 @@ msgid "Regularly perform"
msgstr "定期执行"
#: ops/mixin.py:106 ops/mixin.py:147
#: xpack/plugins/change_auth_plan/serializers.py:60
#: xpack/plugins/change_auth_plan/serializers/base.py:42
msgid "Periodic perform"
msgstr "定时执行"
@@ -2202,8 +2191,8 @@ msgstr "开始时间"
msgid "End time"
msgstr "完成时间"
#: ops/models/adhoc.py:246 xpack/plugins/change_auth_plan/models.py:197
#: xpack/plugins/change_auth_plan/models.py:343
#: ops/models/adhoc.py:246 xpack/plugins/change_auth_plan/models/base.py:108
#: xpack/plugins/change_auth_plan/models/base.py:190
#: xpack/plugins/gathered_user/models.py:79
msgid "Time"
msgstr "时间"
@@ -2285,6 +2274,12 @@ msgstr "当前组织 ({}) 不能被删除"
msgid "The organization have resource ({}) cannot be deleted"
msgstr "组织存在资源 ({}) 不能被删除"
#: orgs/mixins/models.py:46 orgs/mixins/serializers.py:25 orgs/models.py:37
#: orgs/models.py:432 orgs/serializers.py:106
#: tickets/serializers/ticket/ticket.py:77
msgid "Organization"
msgstr "组织审计员"
#: orgs/models.py:17 users/const.py:12
msgid "Organization administrator"
msgstr "组织管理员"
@@ -2935,6 +2930,7 @@ msgstr "仅管理员"
msgid "Global MFA auth"
msgstr "全局启用 MFA 认证"
#: settings/serializers/security.py:33
msgid "Limit the number of login failures"
msgstr "限制登录失败次数"
@@ -2947,6 +2943,7 @@ msgstr "禁止登录时间间隔"
msgid ""
"Unit: minute, If the user has failed to log in for a limited number of "
"times, no login is allowed during this time interval."
msgstr "单位:分, 当用户登录失败次数达到限制后,那么在此时间间隔内禁止登录"
#: settings/serializers/security.py:45
@@ -4311,7 +4308,7 @@ msgstr "工单受理人"
#: tickets/models/ticket.py:45
msgid "Title"
msgstr "标题"
msgstr ""
#: tickets/models/ticket.py:53
msgid "State"
@@ -4624,8 +4621,9 @@ msgstr "两次密码不一致"
msgid "Is first login"
msgstr "首次登录"
#: users/serializers/user.py:22 xpack/plugins/change_auth_plan/models.py:65
#: xpack/plugins/change_auth_plan/serializers.py:33
#: users/serializers/user.py:22
#: xpack/plugins/change_auth_plan/models/base.py:32
#: xpack/plugins/change_auth_plan/serializers/base.py:24
msgid "Password strategy"
msgstr "密码策略"
@@ -5263,84 +5261,111 @@ msgstr "* 新密码不能是最近 {} 次的密码"
msgid "Reset password success, return to login page"
msgstr "重置密码成功,返回到登录页面"
#: xpack/plugins/change_auth_plan/api/asset.py:83
#: xpack/plugins/change_auth_plan/api/asset.py:141
msgid "The parameter 'action' must be [{}]"
msgstr ""
#: xpack/plugins/change_auth_plan/meta.py:9
#: xpack/plugins/change_auth_plan/models.py:100
#: xpack/plugins/change_auth_plan/models.py:201
#: xpack/plugins/change_auth_plan/models/asset.py:63
#: xpack/plugins/change_auth_plan/models/asset.py:119
msgid "Change auth plan"
msgstr "改密计划"
#: xpack/plugins/change_auth_plan/models.py:40
msgid "Custom password"
msgstr "自定义密码"
#: xpack/plugins/change_auth_plan/models/app.py:41
#: xpack/plugins/change_auth_plan/models/app.py:90
msgid "Database Change auth plan"
msgstr "改密计划"
#: xpack/plugins/change_auth_plan/models.py:41
msgid "All assets use the same random password"
msgstr "所有资产使用相同的随机密码"
#: xpack/plugins/change_auth_plan/models/app.py:94
#: xpack/plugins/change_auth_plan/models/app.py:146
msgid "Database Change auth plan execution"
msgstr "改密计划执行"
#: xpack/plugins/change_auth_plan/models.py:42
msgid "All assets use different random password"
msgstr "所有资产使用不同的随机密码"
#: xpack/plugins/change_auth_plan/models/app.py:142
msgid "SystemUser"
msgstr "系统用户"
#: xpack/plugins/change_auth_plan/models.py:46
#: xpack/plugins/change_auth_plan/models/app.py:151
msgid "Database Change auth plan task"
msgstr "改密计划任务"
#: xpack/plugins/change_auth_plan/models/asset.py:30
msgid "Append SSH KEY"
msgstr "追加新密钥"
#: xpack/plugins/change_auth_plan/models.py:47
#: xpack/plugins/change_auth_plan/models/asset.py:31
msgid "Empty and append SSH KEY"
msgstr "清空所有密钥再追加新密钥"
#: xpack/plugins/change_auth_plan/models.py:48
#: xpack/plugins/change_auth_plan/models/asset.py:32
msgid "Empty current user and append SSH KEY"
msgstr "清空当前账号密钥再追加新密钥"
#: xpack/plugins/change_auth_plan/models.py:69
msgid "Password rules"
msgstr "密码规则"
#: xpack/plugins/change_auth_plan/models.py:78
#: xpack/plugins/change_auth_plan/serializers.py:35
#: xpack/plugins/change_auth_plan/models/asset.py:50
#: xpack/plugins/change_auth_plan/serializers/asset.py:34
msgid "SSH Key strategy"
msgstr "SSH Key 策略"
#: xpack/plugins/change_auth_plan/models.py:189
msgid "Manual trigger"
msgstr "手动触发"
#: xpack/plugins/change_auth_plan/models.py:190
msgid "Timing trigger"
msgstr "定时触发"
#: xpack/plugins/change_auth_plan/models.py:204
msgid "Change auth plan snapshot"
msgstr "改密计划快照"
#: xpack/plugins/change_auth_plan/models.py:218
#: xpack/plugins/change_auth_plan/serializers.py:166
msgid "Trigger mode"
msgstr "触发模式"
#: xpack/plugins/change_auth_plan/models.py:223
#: xpack/plugins/change_auth_plan/models.py:329
#: xpack/plugins/change_auth_plan/models/asset.py:130
#: xpack/plugins/change_auth_plan/models/asset.py:206
msgid "Change auth plan execution"
msgstr "改密计划执行"
#: xpack/plugins/change_auth_plan/models.py:302
#: xpack/plugins/change_auth_plan/models/asset.py:213
msgid "Change auth plan task"
msgstr "改密计划任务"
#: xpack/plugins/change_auth_plan/models/base.py:24
msgid "Custom password"
msgstr "自定义密码"
#: xpack/plugins/change_auth_plan/models/base.py:25
msgid "All assets use the same random password"
msgstr "使用相同的随机密码"
#: xpack/plugins/change_auth_plan/models/base.py:26
msgid "All assets use different random password"
msgstr "使用不同的随机密码"
#: xpack/plugins/change_auth_plan/models/base.py:36
msgid "Password rules"
msgstr "密码规则"
#: xpack/plugins/change_auth_plan/models/base.py:100
msgid "Manual trigger"
msgstr "手动触发"
#: xpack/plugins/change_auth_plan/models/base.py:101
msgid "Timing trigger"
msgstr "定时触发"
#: xpack/plugins/change_auth_plan/models/base.py:111
msgid "Change auth plan snapshot"
msgstr "改密计划快照"
#: xpack/plugins/change_auth_plan/models/base.py:118
#: xpack/plugins/change_auth_plan/serializers/base.py:70
msgid "Trigger mode"
msgstr "触发模式"
#: xpack/plugins/change_auth_plan/models/base.py:173
msgid "Ready"
msgstr "准备"
#: xpack/plugins/change_auth_plan/models.py:303
#: xpack/plugins/change_auth_plan/models/base.py:174
msgid "Preflight check"
msgstr "改密前的校验"
#: xpack/plugins/change_auth_plan/models.py:304
#: xpack/plugins/change_auth_plan/models/base.py:175
msgid "Change auth"
msgstr "执行改密"
#: xpack/plugins/change_auth_plan/models.py:305
#: xpack/plugins/change_auth_plan/models/base.py:176
msgid "Verify auth"
msgstr "验证密码/密钥"
#: xpack/plugins/change_auth_plan/models.py:306
#: xpack/plugins/change_auth_plan/models/base.py:177
msgid "Keep auth"
msgstr "保存密码/密钥"
@@ -5348,55 +5373,51 @@ msgstr "保存密码/密钥"
msgid "Step"
msgstr "步骤"
#: xpack/plugins/change_auth_plan/models.py:350
msgid "Change auth plan task"
msgstr "改密计划任务"
#: xpack/plugins/change_auth_plan/serializers.py:29
#: xpack/plugins/change_auth_plan/serializers/asset.py:31
msgid "Change Password"
msgstr "修改密码"
#: xpack/plugins/change_auth_plan/serializers.py:30
#: xpack/plugins/change_auth_plan/serializers/asset.py:32
msgid "Change SSH Key"
msgstr "修改密钥"
#: xpack/plugins/change_auth_plan/serializers.py:61
msgid "Run times"
msgstr "执行次数"
#: xpack/plugins/change_auth_plan/serializers.py:79
#: xpack/plugins/change_auth_plan/serializers/asset.py:65
msgid "Require password strategy perform setting"
msgstr "需要密码策略执行设置"
#: xpack/plugins/change_auth_plan/serializers.py:82
#: xpack/plugins/change_auth_plan/serializers/asset.py:68
msgid "Require password perform setting"
msgstr "需要密码执行设置"
#: xpack/plugins/change_auth_plan/serializers.py:85
#: xpack/plugins/change_auth_plan/serializers/asset.py:71
msgid "Require password rule perform setting"
msgstr "需要密码规则执行设置"
#: xpack/plugins/change_auth_plan/serializers.py:97
msgid "* Please enter the correct password length"
msgstr "* 请输入正确的密码长度"
#: xpack/plugins/change_auth_plan/serializers.py:100
msgid "* Password length range 6-30 bits"
msgstr "* 密码长度范围 6-30 位"
#: xpack/plugins/change_auth_plan/serializers.py:118
#: xpack/plugins/change_auth_plan/serializers/asset.py:87
msgid "Require ssh key strategy or ssh key perform setting"
msgstr "需要ssh密钥策略或ssh密钥执行设置"
#: xpack/plugins/change_auth_plan/utils.py:485
#: xpack/plugins/change_auth_plan/serializers/base.py:43
msgid "Run times"
msgstr "执行次数"
#: xpack/plugins/change_auth_plan/serializers/base.py:54
msgid "* Please enter the correct password length"
msgstr "* 请输入正确的密码长度"
#: xpack/plugins/change_auth_plan/serializers/base.py:57
msgid "* Password length range 6-30 bits"
msgstr "* 密码长度范围 6-30 位"
#: xpack/plugins/change_auth_plan/task_handlers/base/handler.py:248
msgid "Invalid/incorrect password"
msgstr "无效/错误 密码"
#: xpack/plugins/change_auth_plan/utils.py:487
#: xpack/plugins/change_auth_plan/task_handlers/base/handler.py:250
msgid "Failed to connect to the host"
msgstr "连接主机失败"
#: xpack/plugins/change_auth_plan/utils.py:489
#: xpack/plugins/change_auth_plan/task_handlers/base/handler.py:252
msgid "Data could not be sent to remote"
msgstr "无法将数据发送到远程"
@@ -5492,10 +5513,6 @@ msgstr "云服务商"
msgid "Cloud account"
msgstr "云账号"
#: xpack/plugins/cloud/models.py:82 xpack/plugins/cloud/serializers.py:207
msgid "Account"
msgstr "账户"
#: xpack/plugins/cloud/models.py:85 xpack/plugins/cloud/serializers.py:179
msgid "Regions"
msgstr "地域"
@@ -5816,135 +5833,3 @@ msgstr "旗舰版"
#: xpack/plugins/license/models.py:77
msgid "Community edition"
msgstr "社区版"
#~ msgid "Approval level"
#~ msgstr "同意"
#~ msgid "Login challenge enabled"
#~ msgstr "登录页面开启CHALLENGE输入框"
#~ msgid "Login captcha enabled"
#~ msgstr "登录页面开启验证码"
#~ msgid "Insecure command level"
#~ msgstr "不安全命令等级"
#~ msgid "Encrypt password"
#~ msgstr "密码加密"
#~ msgid "Create User"
#~ msgstr "创建用户"
#~ msgid "Apply attr to use"
#~ msgstr "申请可用属性"
#~ msgid "User login only in users"
#~ msgstr "仅在用户列表中用户认证"
#~ msgid "Approved applications"
#~ msgstr "批准的应用"
#~ msgid "Approved system users"
#~ msgstr "批准的系统用户"
#~ msgid "Approved date expired"
#~ msgstr "批准的失效日期"
#~ msgid "Applied IP group"
#~ msgstr "申请的IP组"
#~ msgid "Approved assets"
#~ msgstr "批准的资产"
#~ msgid "Approved actions"
#~ msgstr "批准的动作"
#~ msgid "Ticket action"
#~ msgstr "工单动作"
#~ msgid "Ticket processor"
#~ msgstr "工单处理人"
#~ msgid "Processor display"
#~ msgstr "处理人名称"
#~ msgid "Application group"
#~ msgstr "应用组"
#~ msgid "System user group"
#~ msgstr "系统用户组"
#~ msgid "Permission name"
#~ msgstr "授权名称"
#~ msgid "Approve applications"
#~ msgstr "批准的应用"
#~ msgid "No `Application` are found under Organization `{}`"
#~ msgstr "在组织 `{}` 下没有发现 `应用`"
#~ msgid "No `SystemUser` are found under Organization `{}`"
#~ msgstr "在组织 `{}` 下没有发现 `系统用户`"
#~ msgid "IP group"
#~ msgstr "IP组"
#~ msgid "Hostname group"
#~ msgstr "主机名组"
#~ msgid "Approve assets"
#~ msgstr "批准的资产"
#~ msgid "No `Asset` are found under Organization `{}`"
#~ msgstr "在组织 `{}` 下没有发现 `资产`"
#~ msgid "Action display"
#~ msgstr "动作名称"
#~ msgid "None of the assignees belong to Organization `{}` admins"
#~ msgstr "所有受理人都不属于组织 `{}` 下的管理员"
#~ msgid "* Please enter custom password"
#~ msgstr "* 请输入自定义密码"
#~ msgid "FeiShu Error, Please contact your system administrator"
#~ msgstr "飞书错误,请联系系统管理员"
#~ msgid "Category(Display)"
#~ msgstr "类别 (显示名称)"
#~ msgid "Type(Dispaly)"
#~ msgstr "类型 (显示名称)"
#~ msgid "Users name"
#~ msgstr "用户名"
#~ msgid "User groups name"
#~ msgstr "用户组名称"
#~ msgid "Assets name"
#~ msgstr "资产名称"
#~ msgid "System users name"
#~ msgstr "系统用户名称"
#~ msgid "Admin user MFA auth"
#~ msgstr "所有管理员启用 MFA"
#~ msgid "Admin user enable MFA"
#~ msgstr "强制管理员启用 MFA"
#~ msgid "Password update"
#~ msgstr "密码更新"
#~ msgid "All user enable MFA"
#~ msgstr "强制所有用户启用 MFA"
#~ msgid "Application category"
#~ msgstr "应用类别"
#~ msgid "Application type"
#~ msgstr "应用类型"
#~ msgid "Trigger"
#~ msgstr "触发"