diff --git a/apps/assets/serializers/platform.py b/apps/assets/serializers/platform.py
index 7f50513e2..50587071a 100644
--- a/apps/assets/serializers/platform.py
+++ b/apps/assets/serializers/platform.py
@@ -30,35 +30,42 @@ class PlatformAutomationSerializer(serializers.ModelSerializer):
]
extra_kwargs = {
# 启用资产探测
- "ping_enabled": {"label": _("Ping enabled"), },
- "ping_method": {"label": _("Ping method"), "help_text": _("Enable asset detection")},
- "gather_facts_enabled": {"label": _("Gather facts enabled"), },
+ "ping_enabled": {"label": _("Ping enabled"), "help_text": _("Enable asset detection")},
+ "ping_method": {"label": _("Ping method")},
+ "gather_facts_enabled": {
+ "label": _("Gather facts enabled"),
+ "help_text": _("Enable asset information collection")
+ },
"gather_facts_method": {
"label": _("Gather facts method"),
- "help_text": _("Enable asset information collection")
+ },
+ "verify_account_enabled": {
+ "label": _("Verify account enabled"),
+ "help_text": _("Enable account verification")
},
"verify_account_method": {
"label": _("Verify account method"),
- "help_text": _("Enable account verification")
},
"change_secret_enabled": {
"label": _("Change secret enabled"),
+ "help_text": _("Enable account secret auto change")
},
"change_secret_method": {
"label": _("Change secret method"),
- "help_text": _("Enable account secret auto change")
},
- "push_account_enabled": {"label": _("Push account enabled"), },
+ "push_account_enabled": {
+ "label": _("Push account enabled"),
+ "help_text": _("Enable account auto push")
+ },
"push_account_method": {
"label": _("Push account method"),
- "help_text": _("Enable account auto push")
},
"gather_accounts_enabled": {
"label": _("Gather accounts enabled"),
+ "help_text": _("Enable account collection")
},
"gather_accounts_method": {
"label": _("Gather accounts method"),
- "help_text": _("Enable account collection")
},
}
diff --git a/apps/i18n/lina/en.json b/apps/i18n/lina/en.json
index 137232aba..47587b9b0 100644
--- a/apps/i18n/lina/en.json
+++ b/apps/i18n/lina/en.json
@@ -314,7 +314,9 @@
"CreatedBy": "Creator",
"CriticalLoad": "Serious",
"CronExpression": "Complete crontab expression",
- "CrontabOfCreateUpdatePage": "For example: Perform every Sunday at 03:05 <5 3 * * 0>
Use 5-digit Linux crontab expressions (Online Tool)
If both regular execution and cycle execution are set, regular execution is prioritized",
+ "CrontabOfCreateUpdatePage": "",
+ "CrontabHelpText": "If both interval and crontab are set, crontab is prioritized",
+ "CrontabHelpTip": "For example: Perform every Sunday at 03:05 <5 3 * * 0>
Use 5-digit Linux crontab expressions (Online Tool)
",
"CurrentConnectionUsers": "Online Users",
"CurrentConnections": "Current Connections",
"CurrentUserVerify": "Verify Current User",