feat: Optimize the export page of the operation and maintenance report (#12850)

This commit is contained in:
2026-05-26 10:26:34 +08:00
committed by GitHub
parent 1a0de94489
commit 483a2a867b
12 changed files with 153 additions and 90 deletions

View File

@@ -83,10 +83,12 @@ require (
github.com/ncruces/go-strftime v1.0.0 // indirect github.com/ncruces/go-strftime v1.0.0 // indirect
github.com/pelletier/go-toml/v2 v2.3.0 // indirect github.com/pelletier/go-toml/v2 v2.3.0 // indirect
github.com/philhofer/fwd v1.2.0 // indirect github.com/philhofer/fwd v1.2.0 // indirect
github.com/phpdave11/gofpdi v1.0.14-0.20211212211723-1f10f9844311 // indirect
github.com/quic-go/qpack v0.6.0 // indirect github.com/quic-go/qpack v0.6.0 // indirect
github.com/quic-go/quic-go v0.59.0 // indirect github.com/quic-go/quic-go v0.59.0 // indirect
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
github.com/sagikazarmark/locafero v0.12.0 // indirect github.com/sagikazarmark/locafero v0.12.0 // indirect
github.com/signintech/gopdf v0.36.1
github.com/spf13/afero v1.15.0 // indirect github.com/spf13/afero v1.15.0 // indirect
github.com/spf13/cast v1.10.0 // indirect github.com/spf13/cast v1.10.0 // indirect
github.com/spf13/pflag v1.0.10 // indirect github.com/spf13/pflag v1.0.10 // indirect

View File

@@ -145,6 +145,9 @@ github.com/pelletier/go-toml/v2 v2.3.0 h1:k59bC/lIZREW0/iVaQR8nDHxVq8OVlIzYCOJf4
github.com/pelletier/go-toml/v2 v2.3.0/go.mod h1:2gIqNv+qfxSVS7cM2xJQKtLSTLUE9V8t9Stt+h56mCY= github.com/pelletier/go-toml/v2 v2.3.0/go.mod h1:2gIqNv+qfxSVS7cM2xJQKtLSTLUE9V8t9Stt+h56mCY=
github.com/philhofer/fwd v1.2.0 h1:e6DnBTl7vGY+Gz322/ASL4Gyp1FspeMvx1RNDoToZuM= github.com/philhofer/fwd v1.2.0 h1:e6DnBTl7vGY+Gz322/ASL4Gyp1FspeMvx1RNDoToZuM=
github.com/philhofer/fwd v1.2.0/go.mod h1:RqIHx9QI14HlwKwm98g9Re5prTQ6LdeRQn+gXJFxsJM= github.com/philhofer/fwd v1.2.0/go.mod h1:RqIHx9QI14HlwKwm98g9Re5prTQ6LdeRQn+gXJFxsJM=
github.com/phpdave11/gofpdi v1.0.14-0.20211212211723-1f10f9844311 h1:zyWXQ6vu27ETMpYsEMAsisQ+GqJ4e1TPvSNfdOPF0no=
github.com/phpdave11/gofpdi v1.0.14-0.20211212211723-1f10f9844311/go.mod h1:vBmVV0Do6hSBHC8uKUQ71JGW+ZGQq74llk/7bXwjDoI=
github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pkg/sftp v1.13.10 h1:+5FbKNTe5Z9aspU88DPIKJ9z2KZoaGCu6Sr6kKR/5mU= github.com/pkg/sftp v1.13.10 h1:+5FbKNTe5Z9aspU88DPIKJ9z2KZoaGCu6Sr6kKR/5mU=
@@ -164,6 +167,8 @@ github.com/rogpeppe/go-internal v1.10.0/go.mod h1:UQnix2H7Ngw/k4C5ijL5+65zddjncj
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
github.com/sagikazarmark/locafero v0.12.0 h1:/NQhBAkUb4+fH1jivKHWusDYFjMOOKU88eegjfxfHb4= github.com/sagikazarmark/locafero v0.12.0 h1:/NQhBAkUb4+fH1jivKHWusDYFjMOOKU88eegjfxfHb4=
github.com/sagikazarmark/locafero v0.12.0/go.mod h1:sZh36u/YSZ918v0Io+U9ogLYQJ9tLLBmM4eneO6WwsI= github.com/sagikazarmark/locafero v0.12.0/go.mod h1:sZh36u/YSZ918v0Io+U9ogLYQJ9tLLBmM4eneO6WwsI=
github.com/signintech/gopdf v0.36.1 h1:cGpvEKvvqCV+ZXB9R2SQoWgouW91JpwsgoQEhLxIdp0=
github.com/signintech/gopdf v0.36.1/go.mod h1:d23eO35GpEliSrF22eJ4bsM3wVeQJTjXTHq5x5qGKjA=
github.com/sirupsen/logrus v1.9.4 h1:TsZE7l11zFCLZnZ+teH4Umoq5BhEIfIzfRDZ1Uzql2w= github.com/sirupsen/logrus v1.9.4 h1:TsZE7l11zFCLZnZ+teH4Umoq5BhEIfIzfRDZ1Uzql2w=
github.com/sirupsen/logrus v1.9.4/go.mod h1:ftWc9WdOfJ0a92nsE2jF5u5ZwH8Bv2zdeOC42RjbV2g= github.com/sirupsen/logrus v1.9.4/go.mod h1:ftWc9WdOfJ0a92nsE2jF5u5ZwH8Bv2zdeOC42RjbV2g=
github.com/skip2/go-qrcode v0.0.0-20200617195104-da1b6568686e h1:MRM5ITcdelLK2j1vwZ3Je0FKVCfqOLp5zO6trqMLYs0= github.com/skip2/go-qrcode v0.0.0-20200617195104-da1b6568686e h1:MRM5ITcdelLK2j1vwZ3Je0FKVCfqOLp5zO6trqMLYs0=

View File

@@ -3955,7 +3955,7 @@ const message = {
enterprise: 'Enterprise', enterprise: 'Enterprise',
scoreMeta: '{0} points deducted · {1} risks', scoreMeta: '{0} points deducted · {1} risks',
hostAddress: 'Host Address', hostAddress: 'Host Address',
panelVersion: '1Panel Version', panelVersion: 'Panel Version',
cpuCores: 'Physical Cores', cpuCores: 'Physical Cores',
coreUnit: '{0} cores', coreUnit: '{0} cores',
memoryTotal: 'Memory Total', memoryTotal: 'Memory Total',
@@ -3984,12 +3984,12 @@ const message = {
scoreResourceMedium: '{0} current usage is {1}%', scoreResourceMedium: '{0} current usage is {1}%',
scoreLoadMedium: 'Current load is {0}', scoreLoadMedium: 'Current load is {0}',
scoreMonitorDisabled: 'Host monitoring is disabled', scoreMonitorDisabled: 'Host monitoring is disabled',
scorePanelLoginFailedHigh: '1Panel login failed {0} times', scorePanelLoginFailedHigh: 'Panel login failed {0} times',
scorePanelLoginFailedMedium: '1Panel login failed {0} times', scorePanelLoginFailedMedium: 'Panel login failed {0} times',
scoreSSHLoginFailedHigh: 'SSH login failed {0} times', scoreSSHLoginFailedHigh: 'SSH login failed {0} times',
scoreSSHLoginFailedMedium: 'SSH login failed {0} times', scoreSSHLoginFailedMedium: 'SSH login failed {0} times',
scoreMFADisabled: 'MFA is disabled', scoreMFADisabled: 'MFA is disabled',
scoreAllowIPsOpen: 'Allowed IPs are not configured or too broad', scoreAllowIPsOpen: 'Allowed IPs and bound domain are not configured or access is unrestricted',
scorePasswordExpired: 'Panel password has expired', scorePasswordExpired: 'Panel password has expired',
scorePasswordExpiring: 'Panel password expires in {0} days', scorePasswordExpiring: 'Panel password expires in {0} days',
scorePanelHTTPSDisabled: 'Panel HTTPS is disabled', scorePanelHTTPSDisabled: 'Panel HTTPS is disabled',
@@ -4046,7 +4046,7 @@ const message = {
container: 'Containers', container: 'Containers',
sslCertificate: 'SSL Certificates', sslCertificate: 'SSL Certificates',
loginSecurity: 'Login Security', loginSecurity: 'Login Security',
panelLogin: '1Panel Login', panelLogin: 'Panel Login',
sshLogin: 'SSH Login', sshLogin: 'SSH Login',
failedRecord: 'Failed Records', failedRecord: 'Failed Records',
expiredDays: 'Expired {0} days ago', expiredDays: 'Expired {0} days ago',
@@ -4069,9 +4069,9 @@ const message = {
memory: 'Memory', memory: 'Memory',
load: 'Load', load: 'Load',
maxDiskUsage: 'Max Disk Usage', maxDiskUsage: 'Max Disk Usage',
panelLoginSecurity: '1Panel Login Security', panelLoginSecurity: 'Panel Login Security',
sshSecurity: 'Linux Server SSH Security', sshSecurity: 'Linux Server SSH Security',
panelFailedRecords: '1Panel Failed Login Records', panelFailedRecords: 'Panel Failed Login Records',
sshFailedRecords: 'SSH Failed Login Records', sshFailedRecords: 'SSH Failed Login Records',
location: 'Location', location: 'Location',
configItem: 'Config Item', configItem: 'Config Item',
@@ -4085,6 +4085,7 @@ const message = {
restricted: 'Restricted', restricted: 'Restricted',
unrestricted: 'Unrestricted', unrestricted: 'Unrestricted',
bindDomain: 'Bound Domain', bindDomain: 'Bound Domain',
accessRestriction: 'Access Restriction',
panelHTTPS: 'Panel HTTPS', panelHTTPS: 'Panel HTTPS',
passwordComplexity: 'Password Complexity', passwordComplexity: 'Password Complexity',
sshService: 'SSH Service', sshService: 'SSH Service',
@@ -4095,7 +4096,7 @@ const message = {
rootLogin: 'Root Login', rootLogin: 'Root Login',
passwordAuth: 'Password Auth', passwordAuth: 'Password Auth',
keyAuth: 'Key Auth', keyAuth: 'Key Auth',
panelLoginFailed: '1Panel Failed Logins', panelLoginFailed: 'Panel Failed Logins',
sshLoginFailed: 'SSH Failed Logins', sshLoginFailed: 'SSH Failed Logins',
panelSecurityItems: 'Panel Security Items', panelSecurityItems: 'Panel Security Items',
sshSecurityItems: 'SSH Security Items', sshSecurityItems: 'SSH Security Items',
@@ -4118,10 +4119,15 @@ const message = {
loginHealthNormalReason: 'Login security is normal', loginHealthNormalReason: 'Login security is normal',
securityEntranceConfiguredDesc: 'Security entrance is configured to reduce default entry exposure', securityEntranceConfiguredDesc: 'Security entrance is configured to reduce default entry exposure',
securityEntranceRiskDesc: 'Security entrance is disabled. Hide the default login entry', securityEntranceRiskDesc: 'Security entrance is disabled. Hide the default login entry',
allowIPsRestrictedDesc: 'Allowed IPs are restricted for 1Panel access', allowIPsRestrictedDesc: 'Allowed IPs are restricted for Panel access',
allowIPsRiskDesc: 'Access IPs are unrestricted. Configure allowed IPs for public environments', allowIPsRiskDesc: 'Access IPs are unrestricted. Configure allowed IPs for public environments',
bindDomainRestrictedDesc: 'Access domain is bound', bindDomainRestrictedDesc: 'Access domain is bound',
bindDomainRiskDesc: 'Access domain is not bound. Restrict access to a fixed domain', bindDomainRiskDesc: 'Access domain is not bound. Restrict access to a fixed domain',
accessRestrictionValue: 'Allowed IPs: {0} / Bound Domain: {1}',
accessRestrictionNormalDesc:
'Allowed IPs or bound domain is configured to restrict Panel access sources',
accessRestrictionRiskDesc:
'Allowed IPs and bound domain are not configured or access is unrestricted. Configure at least one',
panelHTTPSNormalDesc: 'Panel HTTPS is enabled', panelHTTPSNormalDesc: 'Panel HTTPS is enabled',
panelHTTPSRiskDesc: 'Panel HTTPS is disabled. Login traffic may be exposed', panelHTTPSRiskDesc: 'Panel HTTPS is disabled. Login traffic may be exposed',
passwordComplexityNormalDesc: 'Password complexity verification is enabled', passwordComplexityNormalDesc: 'Password complexity verification is enabled',

View File

@@ -4013,7 +4013,7 @@ const message = {
enterprise: 'Enterprise', enterprise: 'Enterprise',
scoreMeta: '{0} points deducted · {1} risks', scoreMeta: '{0} points deducted · {1} risks',
hostAddress: 'Host Address', hostAddress: 'Host Address',
panelVersion: '1Panel Version', panelVersion: 'Panel Version',
cpuCores: 'Physical Cores', cpuCores: 'Physical Cores',
coreUnit: '{0} cores', coreUnit: '{0} cores',
memoryTotal: 'Memory Total', memoryTotal: 'Memory Total',
@@ -4041,12 +4041,12 @@ const message = {
scoreResourceMedium: '{0} current usage is {1}%', scoreResourceMedium: '{0} current usage is {1}%',
scoreLoadMedium: 'Current load is {0}', scoreLoadMedium: 'Current load is {0}',
scoreMonitorDisabled: 'Host monitoring is disabled', scoreMonitorDisabled: 'Host monitoring is disabled',
scorePanelLoginFailedHigh: '1Panel login failed {0} times', scorePanelLoginFailedHigh: 'Panel login failed {0} times',
scorePanelLoginFailedMedium: '1Panel login failed {0} times', scorePanelLoginFailedMedium: 'Panel login failed {0} times',
scoreSSHLoginFailedHigh: 'SSH login failed {0} times', scoreSSHLoginFailedHigh: 'SSH login failed {0} times',
scoreSSHLoginFailedMedium: 'SSH login failed {0} times', scoreSSHLoginFailedMedium: 'SSH login failed {0} times',
scoreMFADisabled: 'MFA is disabled', scoreMFADisabled: 'MFA is disabled',
scoreAllowIPsOpen: 'Allowed IPs are not configured or too broad', scoreAllowIPsOpen: 'Allowed IPs and bound domain are not configured or access is unrestricted',
scorePasswordExpired: 'Panel password has expired', scorePasswordExpired: 'Panel password has expired',
scorePasswordExpiring: 'Panel password expires in {0} days', scorePasswordExpiring: 'Panel password expires in {0} days',
scorePanelHTTPSDisabled: 'Panel HTTPS is disabled', scorePanelHTTPSDisabled: 'Panel HTTPS is disabled',
@@ -4094,7 +4094,7 @@ const message = {
container: 'Containers', container: 'Containers',
sslCertificate: 'SSL Certificates', sslCertificate: 'SSL Certificates',
loginSecurity: 'Login Security', loginSecurity: 'Login Security',
panelLogin: '1Panel Login', panelLogin: 'Panel Login',
sshLogin: 'SSH Login', sshLogin: 'SSH Login',
failedRecord: 'Failed Records', failedRecord: 'Failed Records',
expiredDays: 'Expired {0} days ago', expiredDays: 'Expired {0} days ago',
@@ -4117,9 +4117,9 @@ const message = {
memory: 'Memory', memory: 'Memory',
load: 'Load', load: 'Load',
maxDiskUsage: 'Max Disk Usage', maxDiskUsage: 'Max Disk Usage',
panelLoginSecurity: '1Panel Login Security', panelLoginSecurity: 'Panel Login Security',
sshSecurity: 'Linux Server SSH Security', sshSecurity: 'Linux Server SSH Security',
panelFailedRecords: '1Panel Failed Login Records', panelFailedRecords: 'Panel Failed Login Records',
sshFailedRecords: 'SSH Failed Login Records', sshFailedRecords: 'SSH Failed Login Records',
location: 'Location', location: 'Location',
configItem: 'Config Item', configItem: 'Config Item',
@@ -4133,6 +4133,7 @@ const message = {
restricted: 'Restricted', restricted: 'Restricted',
unrestricted: 'Unrestricted', unrestricted: 'Unrestricted',
bindDomain: 'Bound Domain', bindDomain: 'Bound Domain',
accessRestriction: 'Access Restriction',
panelHTTPS: 'Panel HTTPS', panelHTTPS: 'Panel HTTPS',
passwordComplexity: 'Password Complexity', passwordComplexity: 'Password Complexity',
sshService: 'SSH Service', sshService: 'SSH Service',
@@ -4143,7 +4144,7 @@ const message = {
rootLogin: 'Root Login', rootLogin: 'Root Login',
passwordAuth: 'Password Auth', passwordAuth: 'Password Auth',
keyAuth: 'Key Auth', keyAuth: 'Key Auth',
panelLoginFailed: '1Panel Failed Logins', panelLoginFailed: 'Panel Failed Logins',
sshLoginFailed: 'SSH Failed Logins', sshLoginFailed: 'SSH Failed Logins',
panelSecurityItems: 'Panel Security Items', panelSecurityItems: 'Panel Security Items',
sshSecurityItems: 'SSH Security Items', sshSecurityItems: 'SSH Security Items',
@@ -4166,10 +4167,15 @@ const message = {
loginHealthNormalReason: 'Login security is normal', loginHealthNormalReason: 'Login security is normal',
securityEntranceConfiguredDesc: 'Security entrance is configured to reduce default entry exposure', securityEntranceConfiguredDesc: 'Security entrance is configured to reduce default entry exposure',
securityEntranceRiskDesc: 'Security entrance is disabled. Hide the default login entry', securityEntranceRiskDesc: 'Security entrance is disabled. Hide the default login entry',
allowIPsRestrictedDesc: 'Allowed IPs are restricted for 1Panel access', allowIPsRestrictedDesc: 'Allowed IPs are restricted for Panel access',
allowIPsRiskDesc: 'Access IPs are unrestricted. Configure allowed IPs for public environments', allowIPsRiskDesc: 'Access IPs are unrestricted. Configure allowed IPs for public environments',
bindDomainRestrictedDesc: 'Access domain is bound', bindDomainRestrictedDesc: 'Access domain is bound',
bindDomainRiskDesc: 'Access domain is not bound. Restrict access to a fixed domain', bindDomainRiskDesc: 'Access domain is not bound. Restrict access to a fixed domain',
accessRestrictionValue: 'Allowed IPs: {0} / Bound Domain: {1}',
accessRestrictionNormalDesc:
'Allowed IPs or bound domain is configured to restrict Panel access sources',
accessRestrictionRiskDesc:
'Allowed IPs and bound domain are not configured or access is unrestricted. Configure at least one',
panelHTTPSNormalDesc: 'Panel HTTPS is enabled', panelHTTPSNormalDesc: 'Panel HTTPS is enabled',
panelHTTPSRiskDesc: 'Panel HTTPS is disabled. Login traffic may be exposed', panelHTTPSRiskDesc: 'Panel HTTPS is disabled. Login traffic may be exposed',
passwordComplexityNormalDesc: 'Password complexity verification is enabled', passwordComplexityNormalDesc: 'Password complexity verification is enabled',

View File

@@ -3995,7 +3995,7 @@ const message = {
enterprise: 'Enterprise', enterprise: 'Enterprise',
scoreMeta: '{0} points deducted · {1} risks', scoreMeta: '{0} points deducted · {1} risks',
hostAddress: 'Host Address', hostAddress: 'Host Address',
panelVersion: '1Panel Version', panelVersion: 'Panel Version',
cpuCores: 'Physical Cores', cpuCores: 'Physical Cores',
coreUnit: '{0} cores', coreUnit: '{0} cores',
memoryTotal: 'Memory Total', memoryTotal: 'Memory Total',
@@ -4023,12 +4023,12 @@ const message = {
scoreResourceMedium: '{0} current usage is {1}%', scoreResourceMedium: '{0} current usage is {1}%',
scoreLoadMedium: 'Current load is {0}', scoreLoadMedium: 'Current load is {0}',
scoreMonitorDisabled: 'Host monitoring is disabled', scoreMonitorDisabled: 'Host monitoring is disabled',
scorePanelLoginFailedHigh: '1Panel login failed {0} times', scorePanelLoginFailedHigh: 'Panel login failed {0} times',
scorePanelLoginFailedMedium: '1Panel login failed {0} times', scorePanelLoginFailedMedium: 'Panel login failed {0} times',
scoreSSHLoginFailedHigh: 'SSH login failed {0} times', scoreSSHLoginFailedHigh: 'SSH login failed {0} times',
scoreSSHLoginFailedMedium: 'SSH login failed {0} times', scoreSSHLoginFailedMedium: 'SSH login failed {0} times',
scoreMFADisabled: 'MFA is disabled', scoreMFADisabled: 'MFA is disabled',
scoreAllowIPsOpen: 'Allowed IPs are not configured or too broad', scoreAllowIPsOpen: 'Allowed IPs and bound domain are not configured or access is unrestricted',
scorePasswordExpired: 'Panel password has expired', scorePasswordExpired: 'Panel password has expired',
scorePasswordExpiring: 'Panel password expires in {0} days', scorePasswordExpiring: 'Panel password expires in {0} days',
scorePanelHTTPSDisabled: 'Panel HTTPS is disabled', scorePanelHTTPSDisabled: 'Panel HTTPS is disabled',
@@ -4076,7 +4076,7 @@ const message = {
container: 'Containers', container: 'Containers',
sslCertificate: 'SSL Certificates', sslCertificate: 'SSL Certificates',
loginSecurity: 'Login Security', loginSecurity: 'Login Security',
panelLogin: '1Panel Login', panelLogin: 'Panel Login',
sshLogin: 'SSH Login', sshLogin: 'SSH Login',
failedRecord: 'Failed Records', failedRecord: 'Failed Records',
expiredDays: 'Expired {0} days ago', expiredDays: 'Expired {0} days ago',
@@ -4099,9 +4099,9 @@ const message = {
memory: 'Memory', memory: 'Memory',
load: 'Load', load: 'Load',
maxDiskUsage: 'Max Disk Usage', maxDiskUsage: 'Max Disk Usage',
panelLoginSecurity: '1Panel Login Security', panelLoginSecurity: 'Panel Login Security',
sshSecurity: 'Linux Server SSH Security', sshSecurity: 'Linux Server SSH Security',
panelFailedRecords: '1Panel Failed Login Records', panelFailedRecords: 'Panel Failed Login Records',
sshFailedRecords: 'SSH Failed Login Records', sshFailedRecords: 'SSH Failed Login Records',
location: 'Location', location: 'Location',
configItem: 'Config Item', configItem: 'Config Item',
@@ -4115,6 +4115,7 @@ const message = {
restricted: 'Restricted', restricted: 'Restricted',
unrestricted: 'Unrestricted', unrestricted: 'Unrestricted',
bindDomain: 'Bound Domain', bindDomain: 'Bound Domain',
accessRestriction: 'Access Restriction',
panelHTTPS: 'Panel HTTPS', panelHTTPS: 'Panel HTTPS',
passwordComplexity: 'Password Complexity', passwordComplexity: 'Password Complexity',
sshService: 'SSH Service', sshService: 'SSH Service',
@@ -4125,7 +4126,7 @@ const message = {
rootLogin: 'Root Login', rootLogin: 'Root Login',
passwordAuth: 'Password Auth', passwordAuth: 'Password Auth',
keyAuth: 'Key Auth', keyAuth: 'Key Auth',
panelLoginFailed: '1Panel Failed Logins', panelLoginFailed: 'Panel Failed Logins',
sshLoginFailed: 'SSH Failed Logins', sshLoginFailed: 'SSH Failed Logins',
panelSecurityItems: 'Panel Security Items', panelSecurityItems: 'Panel Security Items',
sshSecurityItems: 'SSH Security Items', sshSecurityItems: 'SSH Security Items',
@@ -4148,10 +4149,15 @@ const message = {
loginHealthNormalReason: 'Login security is normal', loginHealthNormalReason: 'Login security is normal',
securityEntranceConfiguredDesc: 'Security entrance is configured to reduce default entry exposure', securityEntranceConfiguredDesc: 'Security entrance is configured to reduce default entry exposure',
securityEntranceRiskDesc: 'Security entrance is disabled. Hide the default login entry', securityEntranceRiskDesc: 'Security entrance is disabled. Hide the default login entry',
allowIPsRestrictedDesc: 'Allowed IPs are restricted for 1Panel access', allowIPsRestrictedDesc: 'Allowed IPs are restricted for Panel access',
allowIPsRiskDesc: 'Access IPs are unrestricted. Configure allowed IPs for public environments', allowIPsRiskDesc: 'Access IPs are unrestricted. Configure allowed IPs for public environments',
bindDomainRestrictedDesc: 'Access domain is bound', bindDomainRestrictedDesc: 'Access domain is bound',
bindDomainRiskDesc: 'Access domain is not bound. Restrict access to a fixed domain', bindDomainRiskDesc: 'Access domain is not bound. Restrict access to a fixed domain',
accessRestrictionValue: 'Allowed IPs: {0} / Bound Domain: {1}',
accessRestrictionNormalDesc:
'Allowed IPs or bound domain is configured to restrict Panel access sources',
accessRestrictionRiskDesc:
'Allowed IPs and bound domain are not configured or access is unrestricted. Configure at least one',
panelHTTPSNormalDesc: 'Panel HTTPS is enabled', panelHTTPSNormalDesc: 'Panel HTTPS is enabled',
panelHTTPSRiskDesc: 'Panel HTTPS is disabled. Login traffic may be exposed', panelHTTPSRiskDesc: 'Panel HTTPS is disabled. Login traffic may be exposed',
passwordComplexityNormalDesc: 'Password complexity verification is enabled', passwordComplexityNormalDesc: 'Password complexity verification is enabled',

View File

@@ -3907,7 +3907,7 @@ const message = {
enterprise: 'Enterprise', enterprise: 'Enterprise',
scoreMeta: '{0} points deducted · {1} risks', scoreMeta: '{0} points deducted · {1} risks',
hostAddress: 'Host Address', hostAddress: 'Host Address',
panelVersion: '1Panel Version', panelVersion: 'Panel Version',
cpuCores: 'Physical Cores', cpuCores: 'Physical Cores',
coreUnit: '{0} cores', coreUnit: '{0} cores',
memoryTotal: 'Memory Total', memoryTotal: 'Memory Total',
@@ -3935,12 +3935,12 @@ const message = {
scoreResourceMedium: '{0} current usage is {1}%', scoreResourceMedium: '{0} current usage is {1}%',
scoreLoadMedium: 'Current load is {0}', scoreLoadMedium: 'Current load is {0}',
scoreMonitorDisabled: 'Host monitoring is disabled', scoreMonitorDisabled: 'Host monitoring is disabled',
scorePanelLoginFailedHigh: '1Panel login failed {0} times', scorePanelLoginFailedHigh: 'Panel login failed {0} times',
scorePanelLoginFailedMedium: '1Panel login failed {0} times', scorePanelLoginFailedMedium: 'Panel login failed {0} times',
scoreSSHLoginFailedHigh: 'SSH login failed {0} times', scoreSSHLoginFailedHigh: 'SSH login failed {0} times',
scoreSSHLoginFailedMedium: 'SSH login failed {0} times', scoreSSHLoginFailedMedium: 'SSH login failed {0} times',
scoreMFADisabled: 'MFA is disabled', scoreMFADisabled: 'MFA is disabled',
scoreAllowIPsOpen: 'Allowed IPs are not configured or too broad', scoreAllowIPsOpen: 'Allowed IPs and bound domain are not configured or access is unrestricted',
scorePasswordExpired: 'Panel password has expired', scorePasswordExpired: 'Panel password has expired',
scorePasswordExpiring: 'Panel password expires in {0} days', scorePasswordExpiring: 'Panel password expires in {0} days',
scorePanelHTTPSDisabled: 'Panel HTTPS is disabled', scorePanelHTTPSDisabled: 'Panel HTTPS is disabled',
@@ -3988,7 +3988,7 @@ const message = {
container: 'Containers', container: 'Containers',
sslCertificate: 'SSL Certificates', sslCertificate: 'SSL Certificates',
loginSecurity: 'Login Security', loginSecurity: 'Login Security',
panelLogin: '1Panel Login', panelLogin: 'Panel Login',
sshLogin: 'SSH Login', sshLogin: 'SSH Login',
failedRecord: 'Failed Records', failedRecord: 'Failed Records',
expiredDays: 'Expired {0} days ago', expiredDays: 'Expired {0} days ago',
@@ -4011,9 +4011,9 @@ const message = {
memory: 'Memory', memory: 'Memory',
load: 'Load', load: 'Load',
maxDiskUsage: 'Max Disk Usage', maxDiskUsage: 'Max Disk Usage',
panelLoginSecurity: '1Panel Login Security', panelLoginSecurity: 'Panel Login Security',
sshSecurity: 'Linux Server SSH Security', sshSecurity: 'Linux Server SSH Security',
panelFailedRecords: '1Panel Failed Login Records', panelFailedRecords: 'Panel Failed Login Records',
sshFailedRecords: 'SSH Failed Login Records', sshFailedRecords: 'SSH Failed Login Records',
location: 'Location', location: 'Location',
configItem: 'Config Item', configItem: 'Config Item',
@@ -4027,6 +4027,7 @@ const message = {
restricted: 'Restricted', restricted: 'Restricted',
unrestricted: 'Unrestricted', unrestricted: 'Unrestricted',
bindDomain: 'Bound Domain', bindDomain: 'Bound Domain',
accessRestriction: 'Access Restriction',
panelHTTPS: 'Panel HTTPS', panelHTTPS: 'Panel HTTPS',
passwordComplexity: 'Password Complexity', passwordComplexity: 'Password Complexity',
sshService: 'SSH Service', sshService: 'SSH Service',
@@ -4037,7 +4038,7 @@ const message = {
rootLogin: 'Root Login', rootLogin: 'Root Login',
passwordAuth: 'Password Auth', passwordAuth: 'Password Auth',
keyAuth: 'Key Auth', keyAuth: 'Key Auth',
panelLoginFailed: '1Panel Failed Logins', panelLoginFailed: 'Panel Failed Logins',
sshLoginFailed: 'SSH Failed Logins', sshLoginFailed: 'SSH Failed Logins',
panelSecurityItems: 'Panel Security Items', panelSecurityItems: 'Panel Security Items',
sshSecurityItems: 'SSH Security Items', sshSecurityItems: 'SSH Security Items',
@@ -4060,10 +4061,15 @@ const message = {
loginHealthNormalReason: 'Login security is normal', loginHealthNormalReason: 'Login security is normal',
securityEntranceConfiguredDesc: 'Security entrance is configured to reduce default entry exposure', securityEntranceConfiguredDesc: 'Security entrance is configured to reduce default entry exposure',
securityEntranceRiskDesc: 'Security entrance is disabled. Hide the default login entry', securityEntranceRiskDesc: 'Security entrance is disabled. Hide the default login entry',
allowIPsRestrictedDesc: 'Allowed IPs are restricted for 1Panel access', allowIPsRestrictedDesc: 'Allowed IPs are restricted for Panel access',
allowIPsRiskDesc: 'Access IPs are unrestricted. Configure allowed IPs for public environments', allowIPsRiskDesc: 'Access IPs are unrestricted. Configure allowed IPs for public environments',
bindDomainRestrictedDesc: 'Access domain is bound', bindDomainRestrictedDesc: 'Access domain is bound',
bindDomainRiskDesc: 'Access domain is not bound. Restrict access to a fixed domain', bindDomainRiskDesc: 'Access domain is not bound. Restrict access to a fixed domain',
accessRestrictionValue: 'Allowed IPs: {0} / Bound Domain: {1}',
accessRestrictionNormalDesc:
'Allowed IPs or bound domain is configured to restrict Panel access sources',
accessRestrictionRiskDesc:
'Allowed IPs and bound domain are not configured or access is unrestricted. Configure at least one',
panelHTTPSNormalDesc: 'Panel HTTPS is enabled', panelHTTPSNormalDesc: 'Panel HTTPS is enabled',
panelHTTPSRiskDesc: 'Panel HTTPS is disabled. Login traffic may be exposed', panelHTTPSRiskDesc: 'Panel HTTPS is disabled. Login traffic may be exposed',
passwordComplexityNormalDesc: 'Password complexity verification is enabled', passwordComplexityNormalDesc: 'Password complexity verification is enabled',

View File

@@ -4050,7 +4050,7 @@ const message = {
enterprise: 'Enterprise', enterprise: 'Enterprise',
scoreMeta: '{0} points deducted · {1} risks', scoreMeta: '{0} points deducted · {1} risks',
hostAddress: 'Host Address', hostAddress: 'Host Address',
panelVersion: '1Panel Version', panelVersion: 'Panel Version',
cpuCores: 'Physical Cores', cpuCores: 'Physical Cores',
coreUnit: '{0} cores', coreUnit: '{0} cores',
memoryTotal: 'Memory Total', memoryTotal: 'Memory Total',
@@ -4078,12 +4078,12 @@ const message = {
scoreResourceMedium: '{0} current usage is {1}%', scoreResourceMedium: '{0} current usage is {1}%',
scoreLoadMedium: 'Current load is {0}', scoreLoadMedium: 'Current load is {0}',
scoreMonitorDisabled: 'Host monitoring is disabled', scoreMonitorDisabled: 'Host monitoring is disabled',
scorePanelLoginFailedHigh: '1Panel login failed {0} times', scorePanelLoginFailedHigh: 'Panel login failed {0} times',
scorePanelLoginFailedMedium: '1Panel login failed {0} times', scorePanelLoginFailedMedium: 'Panel login failed {0} times',
scoreSSHLoginFailedHigh: 'SSH login failed {0} times', scoreSSHLoginFailedHigh: 'SSH login failed {0} times',
scoreSSHLoginFailedMedium: 'SSH login failed {0} times', scoreSSHLoginFailedMedium: 'SSH login failed {0} times',
scoreMFADisabled: 'MFA is disabled', scoreMFADisabled: 'MFA is disabled',
scoreAllowIPsOpen: 'Allowed IPs are not configured or too broad', scoreAllowIPsOpen: 'Allowed IPs and bound domain are not configured or access is unrestricted',
scorePasswordExpired: 'Panel password has expired', scorePasswordExpired: 'Panel password has expired',
scorePasswordExpiring: 'Panel password expires in {0} days', scorePasswordExpiring: 'Panel password expires in {0} days',
scorePanelHTTPSDisabled: 'Panel HTTPS is disabled', scorePanelHTTPSDisabled: 'Panel HTTPS is disabled',
@@ -4131,7 +4131,7 @@ const message = {
container: 'Containers', container: 'Containers',
sslCertificate: 'SSL Certificates', sslCertificate: 'SSL Certificates',
loginSecurity: 'Login Security', loginSecurity: 'Login Security',
panelLogin: '1Panel Login', panelLogin: 'Panel Login',
sshLogin: 'SSH Login', sshLogin: 'SSH Login',
failedRecord: 'Failed Records', failedRecord: 'Failed Records',
expiredDays: 'Expired {0} days ago', expiredDays: 'Expired {0} days ago',
@@ -4154,9 +4154,9 @@ const message = {
memory: 'Memory', memory: 'Memory',
load: 'Load', load: 'Load',
maxDiskUsage: 'Max Disk Usage', maxDiskUsage: 'Max Disk Usage',
panelLoginSecurity: '1Panel Login Security', panelLoginSecurity: 'Panel Login Security',
sshSecurity: 'Linux Server SSH Security', sshSecurity: 'Linux Server SSH Security',
panelFailedRecords: '1Panel Failed Login Records', panelFailedRecords: 'Panel Failed Login Records',
sshFailedRecords: 'SSH Failed Login Records', sshFailedRecords: 'SSH Failed Login Records',
location: 'Location', location: 'Location',
configItem: 'Config Item', configItem: 'Config Item',
@@ -4170,6 +4170,7 @@ const message = {
restricted: 'Restricted', restricted: 'Restricted',
unrestricted: 'Unrestricted', unrestricted: 'Unrestricted',
bindDomain: 'Bound Domain', bindDomain: 'Bound Domain',
accessRestriction: 'Access Restriction',
panelHTTPS: 'Panel HTTPS', panelHTTPS: 'Panel HTTPS',
passwordComplexity: 'Password Complexity', passwordComplexity: 'Password Complexity',
sshService: 'SSH Service', sshService: 'SSH Service',
@@ -4180,7 +4181,7 @@ const message = {
rootLogin: 'Root Login', rootLogin: 'Root Login',
passwordAuth: 'Password Auth', passwordAuth: 'Password Auth',
keyAuth: 'Key Auth', keyAuth: 'Key Auth',
panelLoginFailed: '1Panel Failed Logins', panelLoginFailed: 'Panel Failed Logins',
sshLoginFailed: 'SSH Failed Logins', sshLoginFailed: 'SSH Failed Logins',
panelSecurityItems: 'Panel Security Items', panelSecurityItems: 'Panel Security Items',
sshSecurityItems: 'SSH Security Items', sshSecurityItems: 'SSH Security Items',
@@ -4203,10 +4204,15 @@ const message = {
loginHealthNormalReason: 'Login security is normal', loginHealthNormalReason: 'Login security is normal',
securityEntranceConfiguredDesc: 'Security entrance is configured to reduce default entry exposure', securityEntranceConfiguredDesc: 'Security entrance is configured to reduce default entry exposure',
securityEntranceRiskDesc: 'Security entrance is disabled. Hide the default login entry', securityEntranceRiskDesc: 'Security entrance is disabled. Hide the default login entry',
allowIPsRestrictedDesc: 'Allowed IPs are restricted for 1Panel access', allowIPsRestrictedDesc: 'Allowed IPs are restricted for Panel access',
allowIPsRiskDesc: 'Access IPs are unrestricted. Configure allowed IPs for public environments', allowIPsRiskDesc: 'Access IPs are unrestricted. Configure allowed IPs for public environments',
bindDomainRestrictedDesc: 'Access domain is bound', bindDomainRestrictedDesc: 'Access domain is bound',
bindDomainRiskDesc: 'Access domain is not bound. Restrict access to a fixed domain', bindDomainRiskDesc: 'Access domain is not bound. Restrict access to a fixed domain',
accessRestrictionValue: 'Allowed IPs: {0} / Bound Domain: {1}',
accessRestrictionNormalDesc:
'Allowed IPs or bound domain is configured to restrict Panel access sources',
accessRestrictionRiskDesc:
'Allowed IPs and bound domain are not configured or access is unrestricted. Configure at least one',
panelHTTPSNormalDesc: 'Panel HTTPS is enabled', panelHTTPSNormalDesc: 'Panel HTTPS is enabled',
panelHTTPSRiskDesc: 'Panel HTTPS is disabled. Login traffic may be exposed', panelHTTPSRiskDesc: 'Panel HTTPS is disabled. Login traffic may be exposed',
passwordComplexityNormalDesc: 'Password complexity verification is enabled', passwordComplexityNormalDesc: 'Password complexity verification is enabled',

View File

@@ -4189,7 +4189,7 @@ const message = {
enterprise: 'Enterprise', enterprise: 'Enterprise',
scoreMeta: '{0} points deducted · {1} risks', scoreMeta: '{0} points deducted · {1} risks',
hostAddress: 'Host Address', hostAddress: 'Host Address',
panelVersion: '1Panel Version', panelVersion: 'Panel Version',
cpuCores: 'Physical Cores', cpuCores: 'Physical Cores',
coreUnit: '{0} cores', coreUnit: '{0} cores',
memoryTotal: 'Memory Total', memoryTotal: 'Memory Total',
@@ -4217,12 +4217,12 @@ const message = {
scoreResourceMedium: '{0} current usage is {1}%', scoreResourceMedium: '{0} current usage is {1}%',
scoreLoadMedium: 'Current load is {0}', scoreLoadMedium: 'Current load is {0}',
scoreMonitorDisabled: 'Host monitoring is disabled', scoreMonitorDisabled: 'Host monitoring is disabled',
scorePanelLoginFailedHigh: '1Panel login failed {0} times', scorePanelLoginFailedHigh: 'Panel login failed {0} times',
scorePanelLoginFailedMedium: '1Panel login failed {0} times', scorePanelLoginFailedMedium: 'Panel login failed {0} times',
scoreSSHLoginFailedHigh: 'SSH login failed {0} times', scoreSSHLoginFailedHigh: 'SSH login failed {0} times',
scoreSSHLoginFailedMedium: 'SSH login failed {0} times', scoreSSHLoginFailedMedium: 'SSH login failed {0} times',
scoreMFADisabled: 'MFA is disabled', scoreMFADisabled: 'MFA is disabled',
scoreAllowIPsOpen: 'Allowed IPs are not configured or too broad', scoreAllowIPsOpen: 'Allowed IPs and bound domain are not configured or access is unrestricted',
scorePasswordExpired: 'Panel password has expired', scorePasswordExpired: 'Panel password has expired',
scorePasswordExpiring: 'Panel password expires in {0} days', scorePasswordExpiring: 'Panel password expires in {0} days',
scorePanelHTTPSDisabled: 'Panel HTTPS is disabled', scorePanelHTTPSDisabled: 'Panel HTTPS is disabled',
@@ -4270,7 +4270,7 @@ const message = {
container: 'Containers', container: 'Containers',
sslCertificate: 'SSL Certificates', sslCertificate: 'SSL Certificates',
loginSecurity: 'Login Security', loginSecurity: 'Login Security',
panelLogin: '1Panel Login', panelLogin: 'Panel Login',
sshLogin: 'SSH Login', sshLogin: 'SSH Login',
failedRecord: 'Failed Records', failedRecord: 'Failed Records',
expiredDays: 'Expired {0} days ago', expiredDays: 'Expired {0} days ago',
@@ -4293,9 +4293,9 @@ const message = {
memory: 'Memory', memory: 'Memory',
load: 'Load', load: 'Load',
maxDiskUsage: 'Max Disk Usage', maxDiskUsage: 'Max Disk Usage',
panelLoginSecurity: '1Panel Login Security', panelLoginSecurity: 'Panel Login Security',
sshSecurity: 'Linux Server SSH Security', sshSecurity: 'Linux Server SSH Security',
panelFailedRecords: '1Panel Failed Login Records', panelFailedRecords: 'Panel Failed Login Records',
sshFailedRecords: 'SSH Failed Login Records', sshFailedRecords: 'SSH Failed Login Records',
location: 'Location', location: 'Location',
configItem: 'Config Item', configItem: 'Config Item',
@@ -4309,6 +4309,7 @@ const message = {
restricted: 'Restricted', restricted: 'Restricted',
unrestricted: 'Unrestricted', unrestricted: 'Unrestricted',
bindDomain: 'Bound Domain', bindDomain: 'Bound Domain',
accessRestriction: 'Access Restriction',
panelHTTPS: 'Panel HTTPS', panelHTTPS: 'Panel HTTPS',
passwordComplexity: 'Password Complexity', passwordComplexity: 'Password Complexity',
sshService: 'SSH Service', sshService: 'SSH Service',
@@ -4319,7 +4320,7 @@ const message = {
rootLogin: 'Root Login', rootLogin: 'Root Login',
passwordAuth: 'Password Auth', passwordAuth: 'Password Auth',
keyAuth: 'Key Auth', keyAuth: 'Key Auth',
panelLoginFailed: '1Panel Failed Logins', panelLoginFailed: 'Panel Failed Logins',
sshLoginFailed: 'SSH Failed Logins', sshLoginFailed: 'SSH Failed Logins',
panelSecurityItems: 'Panel Security Items', panelSecurityItems: 'Panel Security Items',
sshSecurityItems: 'SSH Security Items', sshSecurityItems: 'SSH Security Items',
@@ -4342,10 +4343,15 @@ const message = {
loginHealthNormalReason: 'Login security is normal', loginHealthNormalReason: 'Login security is normal',
securityEntranceConfiguredDesc: 'Security entrance is configured to reduce default entry exposure', securityEntranceConfiguredDesc: 'Security entrance is configured to reduce default entry exposure',
securityEntranceRiskDesc: 'Security entrance is disabled. Hide the default login entry', securityEntranceRiskDesc: 'Security entrance is disabled. Hide the default login entry',
allowIPsRestrictedDesc: 'Allowed IPs are restricted for 1Panel access', allowIPsRestrictedDesc: 'Allowed IPs are restricted for Panel access',
allowIPsRiskDesc: 'Access IPs are unrestricted. Configure allowed IPs for public environments', allowIPsRiskDesc: 'Access IPs are unrestricted. Configure allowed IPs for public environments',
bindDomainRestrictedDesc: 'Access domain is bound', bindDomainRestrictedDesc: 'Access domain is bound',
bindDomainRiskDesc: 'Access domain is not bound. Restrict access to a fixed domain', bindDomainRiskDesc: 'Access domain is not bound. Restrict access to a fixed domain',
accessRestrictionValue: 'Allowed IPs: {0} / Bound Domain: {1}',
accessRestrictionNormalDesc:
'Allowed IPs or bound domain is configured to restrict Panel access sources',
accessRestrictionRiskDesc:
'Allowed IPs and bound domain are not configured or access is unrestricted. Configure at least one',
panelHTTPSNormalDesc: 'Panel HTTPS is enabled', panelHTTPSNormalDesc: 'Panel HTTPS is enabled',
panelHTTPSRiskDesc: 'Panel HTTPS is disabled. Login traffic may be exposed', panelHTTPSRiskDesc: 'Panel HTTPS is disabled. Login traffic may be exposed',
passwordComplexityNormalDesc: 'Password complexity verification is enabled', passwordComplexityNormalDesc: 'Password complexity verification is enabled',

View File

@@ -4041,7 +4041,7 @@ const message = {
enterprise: 'Enterprise', enterprise: 'Enterprise',
scoreMeta: '{0} points deducted · {1} risks', scoreMeta: '{0} points deducted · {1} risks',
hostAddress: 'Host Address', hostAddress: 'Host Address',
panelVersion: '1Panel Version', panelVersion: 'Panel Version',
cpuCores: 'Physical Cores', cpuCores: 'Physical Cores',
coreUnit: '{0} cores', coreUnit: '{0} cores',
memoryTotal: 'Memory Total', memoryTotal: 'Memory Total',
@@ -4069,12 +4069,12 @@ const message = {
scoreResourceMedium: '{0} current usage is {1}%', scoreResourceMedium: '{0} current usage is {1}%',
scoreLoadMedium: 'Current load is {0}', scoreLoadMedium: 'Current load is {0}',
scoreMonitorDisabled: 'Host monitoring is disabled', scoreMonitorDisabled: 'Host monitoring is disabled',
scorePanelLoginFailedHigh: '1Panel login failed {0} times', scorePanelLoginFailedHigh: 'Panel login failed {0} times',
scorePanelLoginFailedMedium: '1Panel login failed {0} times', scorePanelLoginFailedMedium: 'Panel login failed {0} times',
scoreSSHLoginFailedHigh: 'SSH login failed {0} times', scoreSSHLoginFailedHigh: 'SSH login failed {0} times',
scoreSSHLoginFailedMedium: 'SSH login failed {0} times', scoreSSHLoginFailedMedium: 'SSH login failed {0} times',
scoreMFADisabled: 'MFA is disabled', scoreMFADisabled: 'MFA is disabled',
scoreAllowIPsOpen: 'Allowed IPs are not configured or too broad', scoreAllowIPsOpen: 'Allowed IPs and bound domain are not configured or access is unrestricted',
scorePasswordExpired: 'Panel password has expired', scorePasswordExpired: 'Panel password has expired',
scorePasswordExpiring: 'Panel password expires in {0} days', scorePasswordExpiring: 'Panel password expires in {0} days',
scorePanelHTTPSDisabled: 'Panel HTTPS is disabled', scorePanelHTTPSDisabled: 'Panel HTTPS is disabled',
@@ -4122,7 +4122,7 @@ const message = {
container: 'Containers', container: 'Containers',
sslCertificate: 'SSL Certificates', sslCertificate: 'SSL Certificates',
loginSecurity: 'Login Security', loginSecurity: 'Login Security',
panelLogin: '1Panel Login', panelLogin: 'Panel Login',
sshLogin: 'SSH Login', sshLogin: 'SSH Login',
failedRecord: 'Failed Records', failedRecord: 'Failed Records',
expiredDays: 'Expired {0} days ago', expiredDays: 'Expired {0} days ago',
@@ -4145,9 +4145,9 @@ const message = {
memory: 'Memory', memory: 'Memory',
load: 'Load', load: 'Load',
maxDiskUsage: 'Max Disk Usage', maxDiskUsage: 'Max Disk Usage',
panelLoginSecurity: '1Panel Login Security', panelLoginSecurity: 'Panel Login Security',
sshSecurity: 'Linux Server SSH Security', sshSecurity: 'Linux Server SSH Security',
panelFailedRecords: '1Panel Failed Login Records', panelFailedRecords: 'Panel Failed Login Records',
sshFailedRecords: 'SSH Failed Login Records', sshFailedRecords: 'SSH Failed Login Records',
location: 'Location', location: 'Location',
configItem: 'Config Item', configItem: 'Config Item',
@@ -4161,6 +4161,7 @@ const message = {
restricted: 'Restricted', restricted: 'Restricted',
unrestricted: 'Unrestricted', unrestricted: 'Unrestricted',
bindDomain: 'Bound Domain', bindDomain: 'Bound Domain',
accessRestriction: 'Access Restriction',
panelHTTPS: 'Panel HTTPS', panelHTTPS: 'Panel HTTPS',
passwordComplexity: 'Password Complexity', passwordComplexity: 'Password Complexity',
sshService: 'SSH Service', sshService: 'SSH Service',
@@ -4171,7 +4172,7 @@ const message = {
rootLogin: 'Root Login', rootLogin: 'Root Login',
passwordAuth: 'Password Auth', passwordAuth: 'Password Auth',
keyAuth: 'Key Auth', keyAuth: 'Key Auth',
panelLoginFailed: '1Panel Failed Logins', panelLoginFailed: 'Panel Failed Logins',
sshLoginFailed: 'SSH Failed Logins', sshLoginFailed: 'SSH Failed Logins',
panelSecurityItems: 'Panel Security Items', panelSecurityItems: 'Panel Security Items',
sshSecurityItems: 'SSH Security Items', sshSecurityItems: 'SSH Security Items',
@@ -4194,10 +4195,15 @@ const message = {
loginHealthNormalReason: 'Login security is normal', loginHealthNormalReason: 'Login security is normal',
securityEntranceConfiguredDesc: 'Security entrance is configured to reduce default entry exposure', securityEntranceConfiguredDesc: 'Security entrance is configured to reduce default entry exposure',
securityEntranceRiskDesc: 'Security entrance is disabled. Hide the default login entry', securityEntranceRiskDesc: 'Security entrance is disabled. Hide the default login entry',
allowIPsRestrictedDesc: 'Allowed IPs are restricted for 1Panel access', allowIPsRestrictedDesc: 'Allowed IPs are restricted for Panel access',
allowIPsRiskDesc: 'Access IPs are unrestricted. Configure allowed IPs for public environments', allowIPsRiskDesc: 'Access IPs are unrestricted. Configure allowed IPs for public environments',
bindDomainRestrictedDesc: 'Access domain is bound', bindDomainRestrictedDesc: 'Access domain is bound',
bindDomainRiskDesc: 'Access domain is not bound. Restrict access to a fixed domain', bindDomainRiskDesc: 'Access domain is not bound. Restrict access to a fixed domain',
accessRestrictionValue: 'Allowed IPs: {0} / Bound Domain: {1}',
accessRestrictionNormalDesc:
'Allowed IPs or bound domain is configured to restrict Panel access sources',
accessRestrictionRiskDesc:
'Allowed IPs and bound domain are not configured or access is unrestricted. Configure at least one',
panelHTTPSNormalDesc: 'Panel HTTPS is enabled', panelHTTPSNormalDesc: 'Panel HTTPS is enabled',
panelHTTPSRiskDesc: 'Panel HTTPS is disabled. Login traffic may be exposed', panelHTTPSRiskDesc: 'Panel HTTPS is disabled. Login traffic may be exposed',
passwordComplexityNormalDesc: 'Password complexity verification is enabled', passwordComplexityNormalDesc: 'Password complexity verification is enabled',

View File

@@ -4042,7 +4042,7 @@ const message = {
enterprise: 'Enterprise', enterprise: 'Enterprise',
scoreMeta: '{0} points deducted · {1} risks', scoreMeta: '{0} points deducted · {1} risks',
hostAddress: 'Host Address', hostAddress: 'Host Address',
panelVersion: '1Panel Version', panelVersion: 'Panel Version',
cpuCores: 'Physical Cores', cpuCores: 'Physical Cores',
coreUnit: '{0} cores', coreUnit: '{0} cores',
memoryTotal: 'Memory Total', memoryTotal: 'Memory Total',
@@ -4070,12 +4070,12 @@ const message = {
scoreResourceMedium: '{0} current usage is {1}%', scoreResourceMedium: '{0} current usage is {1}%',
scoreLoadMedium: 'Current load is {0}', scoreLoadMedium: 'Current load is {0}',
scoreMonitorDisabled: 'Host monitoring is disabled', scoreMonitorDisabled: 'Host monitoring is disabled',
scorePanelLoginFailedHigh: '1Panel login failed {0} times', scorePanelLoginFailedHigh: 'Panel login failed {0} times',
scorePanelLoginFailedMedium: '1Panel login failed {0} times', scorePanelLoginFailedMedium: 'Panel login failed {0} times',
scoreSSHLoginFailedHigh: 'SSH login failed {0} times', scoreSSHLoginFailedHigh: 'SSH login failed {0} times',
scoreSSHLoginFailedMedium: 'SSH login failed {0} times', scoreSSHLoginFailedMedium: 'SSH login failed {0} times',
scoreMFADisabled: 'MFA is disabled', scoreMFADisabled: 'MFA is disabled',
scoreAllowIPsOpen: 'Allowed IPs are not configured or too broad', scoreAllowIPsOpen: 'Allowed IPs and bound domain are not configured or access is unrestricted',
scorePasswordExpired: 'Panel password has expired', scorePasswordExpired: 'Panel password has expired',
scorePasswordExpiring: 'Panel password expires in {0} days', scorePasswordExpiring: 'Panel password expires in {0} days',
scorePanelHTTPSDisabled: 'Panel HTTPS is disabled', scorePanelHTTPSDisabled: 'Panel HTTPS is disabled',
@@ -4123,7 +4123,7 @@ const message = {
container: 'Containers', container: 'Containers',
sslCertificate: 'SSL Certificates', sslCertificate: 'SSL Certificates',
loginSecurity: 'Login Security', loginSecurity: 'Login Security',
panelLogin: '1Panel Login', panelLogin: 'Panel Login',
sshLogin: 'SSH Login', sshLogin: 'SSH Login',
failedRecord: 'Failed Records', failedRecord: 'Failed Records',
expiredDays: 'Expired {0} days ago', expiredDays: 'Expired {0} days ago',
@@ -4146,9 +4146,9 @@ const message = {
memory: 'Memory', memory: 'Memory',
load: 'Load', load: 'Load',
maxDiskUsage: 'Max Disk Usage', maxDiskUsage: 'Max Disk Usage',
panelLoginSecurity: '1Panel Login Security', panelLoginSecurity: 'Panel Login Security',
sshSecurity: 'Linux Server SSH Security', sshSecurity: 'Linux Server SSH Security',
panelFailedRecords: '1Panel Failed Login Records', panelFailedRecords: 'Panel Failed Login Records',
sshFailedRecords: 'SSH Failed Login Records', sshFailedRecords: 'SSH Failed Login Records',
location: 'Location', location: 'Location',
configItem: 'Config Item', configItem: 'Config Item',
@@ -4162,6 +4162,7 @@ const message = {
restricted: 'Restricted', restricted: 'Restricted',
unrestricted: 'Unrestricted', unrestricted: 'Unrestricted',
bindDomain: 'Bound Domain', bindDomain: 'Bound Domain',
accessRestriction: 'Access Restriction',
panelHTTPS: 'Panel HTTPS', panelHTTPS: 'Panel HTTPS',
passwordComplexity: 'Password Complexity', passwordComplexity: 'Password Complexity',
sshService: 'SSH Service', sshService: 'SSH Service',
@@ -4172,7 +4173,7 @@ const message = {
rootLogin: 'Root Login', rootLogin: 'Root Login',
passwordAuth: 'Password Auth', passwordAuth: 'Password Auth',
keyAuth: 'Key Auth', keyAuth: 'Key Auth',
panelLoginFailed: '1Panel Failed Logins', panelLoginFailed: 'Panel Failed Logins',
sshLoginFailed: 'SSH Failed Logins', sshLoginFailed: 'SSH Failed Logins',
panelSecurityItems: 'Panel Security Items', panelSecurityItems: 'Panel Security Items',
sshSecurityItems: 'SSH Security Items', sshSecurityItems: 'SSH Security Items',
@@ -4195,10 +4196,15 @@ const message = {
loginHealthNormalReason: 'Login security is normal', loginHealthNormalReason: 'Login security is normal',
securityEntranceConfiguredDesc: 'Security entrance is configured to reduce default entry exposure', securityEntranceConfiguredDesc: 'Security entrance is configured to reduce default entry exposure',
securityEntranceRiskDesc: 'Security entrance is disabled. Hide the default login entry', securityEntranceRiskDesc: 'Security entrance is disabled. Hide the default login entry',
allowIPsRestrictedDesc: 'Allowed IPs are restricted for 1Panel access', allowIPsRestrictedDesc: 'Allowed IPs are restricted for Panel access',
allowIPsRiskDesc: 'Access IPs are unrestricted. Configure allowed IPs for public environments', allowIPsRiskDesc: 'Access IPs are unrestricted. Configure allowed IPs for public environments',
bindDomainRestrictedDesc: 'Access domain is bound', bindDomainRestrictedDesc: 'Access domain is bound',
bindDomainRiskDesc: 'Access domain is not bound. Restrict access to a fixed domain', bindDomainRiskDesc: 'Access domain is not bound. Restrict access to a fixed domain',
accessRestrictionValue: 'Allowed IPs: {0} / Bound Domain: {1}',
accessRestrictionNormalDesc:
'Allowed IPs or bound domain is configured to restrict Panel access sources',
accessRestrictionRiskDesc:
'Allowed IPs and bound domain are not configured or access is unrestricted. Configure at least one',
panelHTTPSNormalDesc: 'Panel HTTPS is enabled', panelHTTPSNormalDesc: 'Panel HTTPS is enabled',
panelHTTPSRiskDesc: 'Panel HTTPS is disabled. Login traffic may be exposed', panelHTTPSRiskDesc: 'Panel HTTPS is disabled. Login traffic may be exposed',
passwordComplexityNormalDesc: 'Password complexity verification is enabled', passwordComplexityNormalDesc: 'Password complexity verification is enabled',

View File

@@ -3682,7 +3682,7 @@ const message = {
enterprise: '企業版', enterprise: '企業版',
scoreMeta: '扣分 {0} 分 · 風險 {1} 項', scoreMeta: '扣分 {0} 分 · 風險 {1} 項',
hostAddress: '主機地址', hostAddress: '主機地址',
panelVersion: '1Panel 版本', panelVersion: '面板版本',
cpuCores: '實體核心', cpuCores: '實體核心',
coreUnit: '{0} 核', coreUnit: '{0} 核',
memoryTotal: '記憶體總量', memoryTotal: '記憶體總量',
@@ -3709,12 +3709,12 @@ const message = {
scoreResourceMedium: '{0} 當前使用率 {1}%', scoreResourceMedium: '{0} 當前使用率 {1}%',
scoreLoadMedium: '負載當前值 {0}', scoreLoadMedium: '負載當前值 {0}',
scoreMonitorDisabled: '主機監控未開啟', scoreMonitorDisabled: '主機監控未開啟',
scorePanelLoginFailedHigh: '1Panel 登入失敗 {0} 次', scorePanelLoginFailedHigh: '面板登入失敗 {0} 次',
scorePanelLoginFailedMedium: '1Panel 登入失敗 {0} 次', scorePanelLoginFailedMedium: '面板登入失敗 {0} 次',
scoreSSHLoginFailedHigh: 'SSH 登入失敗 {0} 次', scoreSSHLoginFailedHigh: 'SSH 登入失敗 {0} 次',
scoreSSHLoginFailedMedium: 'SSH 登入失敗 {0} 次', scoreSSHLoginFailedMedium: 'SSH 登入失敗 {0} 次',
scoreMFADisabled: 'MFA 未開啟', scoreMFADisabled: 'MFA 未開啟',
scoreAllowIPsOpen: '授權 IP 未配置或範圍過大', scoreAllowIPsOpen: '授權 IP 與綁定域名均未配置或未限制訪問',
scorePasswordExpired: '面板密碼已過期', scorePasswordExpired: '面板密碼已過期',
scorePasswordExpiring: '面板密碼剩餘 {0} 天到期', scorePasswordExpiring: '面板密碼剩餘 {0} 天到期',
scorePanelHTTPSDisabled: '面板 HTTPS 未啟用', scorePanelHTTPSDisabled: '面板 HTTPS 未啟用',
@@ -3762,7 +3762,7 @@ const message = {
container: '容器', container: '容器',
sslCertificate: 'SSL 憑證', sslCertificate: 'SSL 憑證',
loginSecurity: '登入安全', loginSecurity: '登入安全',
panelLogin: '1Panel 登入', panelLogin: '面板登入',
sshLogin: 'SSH 登入', sshLogin: 'SSH 登入',
failedRecord: '失敗記錄', failedRecord: '失敗記錄',
expiredDays: '已過期 {0} 天', expiredDays: '已過期 {0} 天',
@@ -3785,9 +3785,9 @@ const message = {
memory: '記憶體', memory: '記憶體',
load: '負載', load: '負載',
maxDiskUsage: '磁碟最高使用率', maxDiskUsage: '磁碟最高使用率',
panelLoginSecurity: '1Panel 登入安全配置', panelLoginSecurity: '面板登入安全配置',
sshSecurity: 'Linux 伺服器 SSH 安全配置', sshSecurity: 'Linux 伺服器 SSH 安全配置',
panelFailedRecords: '1Panel 登入失敗記錄', panelFailedRecords: '面板登入失敗記錄',
sshFailedRecords: 'SSH 登入失敗記錄', sshFailedRecords: 'SSH 登入失敗記錄',
location: '歸屬地', location: '歸屬地',
configItem: '配置項', configItem: '配置項',
@@ -3801,6 +3801,7 @@ const message = {
restricted: '已限制', restricted: '已限制',
unrestricted: '未限制', unrestricted: '未限制',
bindDomain: '綁定網域', bindDomain: '綁定網域',
accessRestriction: '訪問限制',
panelHTTPS: '面板 HTTPS', panelHTTPS: '面板 HTTPS',
passwordComplexity: '密碼複雜度', passwordComplexity: '密碼複雜度',
sshService: 'SSH 服務', sshService: 'SSH 服務',
@@ -3811,7 +3812,7 @@ const message = {
rootLogin: 'Root 登入', rootLogin: 'Root 登入',
passwordAuth: '密碼認證', passwordAuth: '密碼認證',
keyAuth: '金鑰認證', keyAuth: '金鑰認證',
panelLoginFailed: '1Panel 登入失敗', panelLoginFailed: '面板登入失敗',
sshLoginFailed: 'SSH 登入失敗', sshLoginFailed: 'SSH 登入失敗',
panelSecurityItems: '面板安全項', panelSecurityItems: '面板安全項',
sshSecurityItems: 'SSH 安全項', sshSecurityItems: 'SSH 安全項',
@@ -3833,10 +3834,13 @@ const message = {
loginHealthNormalReason: '登入安全配置正常', loginHealthNormalReason: '登入安全配置正常',
securityEntranceConfiguredDesc: '已配置安全入口,降低預設入口暴露風險', securityEntranceConfiguredDesc: '已配置安全入口,降低預設入口暴露風險',
securityEntranceRiskDesc: '未開啟安全入口,建議隱藏預設登入入口', securityEntranceRiskDesc: '未開啟安全入口,建議隱藏預設登入入口',
allowIPsRestrictedDesc: '已限制允許訪問 1Panel 的 IP', allowIPsRestrictedDesc: '已限制允許訪問面板的 IP',
allowIPsRiskDesc: '未限制訪問 IP公網環境建議配置授權 IP', allowIPsRiskDesc: '未限制訪問 IP公網環境建議配置授權 IP',
bindDomainRestrictedDesc: '已綁定訪問域名', bindDomainRestrictedDesc: '已綁定訪問域名',
bindDomainRiskDesc: '未綁定訪問域名,建議限制固定域名訪問', bindDomainRiskDesc: '未綁定訪問域名,建議限制固定域名訪問',
accessRestrictionValue: '授權 IP{0} / 綁定域名:{1}',
accessRestrictionNormalDesc: '已配置授權 IP 或綁定域名,面板訪問來源受限',
accessRestrictionRiskDesc: '授權 IP 與綁定域名均未配置或未限制訪問,建議至少配置一項',
panelHTTPSNormalDesc: '面板已啟用 HTTPS', panelHTTPSNormalDesc: '面板已啟用 HTTPS',
panelHTTPSRiskDesc: '面板未啟用 HTTPS登入鏈路存在明文風險', panelHTTPSRiskDesc: '面板未啟用 HTTPS登入鏈路存在明文風險',
passwordComplexityNormalDesc: '已開啟密碼複雜度校驗', passwordComplexityNormalDesc: '已開啟密碼複雜度校驗',

View File

@@ -4270,7 +4270,7 @@ const message = {
enterprise: '企业版', enterprise: '企业版',
scoreMeta: '扣分 {0} · 风险 {1} ', scoreMeta: '扣分 {0} · 风险 {1} ',
hostAddress: '主机地址', hostAddress: '主机地址',
panelVersion: '1Panel 版本', panelVersion: '面板版本',
cpuCores: '物理核心', cpuCores: '物理核心',
coreUnit: '{0} ', coreUnit: '{0} ',
memoryTotal: '内存总量', memoryTotal: '内存总量',
@@ -4298,12 +4298,12 @@ const message = {
scoreResourceMedium: '{0} 当前使用率 {1}%', scoreResourceMedium: '{0} 当前使用率 {1}%',
scoreLoadMedium: '负载当前值 {0}', scoreLoadMedium: '负载当前值 {0}',
scoreMonitorDisabled: '主机监控未开启', scoreMonitorDisabled: '主机监控未开启',
scorePanelLoginFailedHigh: '1Panel 登录失败 {0} ', scorePanelLoginFailedHigh: '面板登录失败 {0} ',
scorePanelLoginFailedMedium: '1Panel 登录失败 {0} ', scorePanelLoginFailedMedium: '面板登录失败 {0} ',
scoreSSHLoginFailedHigh: 'SSH 登录失败 {0} ', scoreSSHLoginFailedHigh: 'SSH 登录失败 {0} ',
scoreSSHLoginFailedMedium: 'SSH 登录失败 {0} ', scoreSSHLoginFailedMedium: 'SSH 登录失败 {0} ',
scoreMFADisabled: 'MFA 未开启', scoreMFADisabled: 'MFA 未开启',
scoreAllowIPsOpen: '授权 IP 未配置或范围过大', scoreAllowIPsOpen: '授权 IP 与绑定域名均未配置或未限制访问',
scorePasswordExpired: '面板密码已过期', scorePasswordExpired: '面板密码已过期',
scorePasswordExpiring: '面板密码剩余 {0} 天到期', scorePasswordExpiring: '面板密码剩余 {0} 天到期',
scorePanelHTTPSDisabled: '面板 HTTPS 未启用', scorePanelHTTPSDisabled: '面板 HTTPS 未启用',
@@ -4360,7 +4360,7 @@ const message = {
container: '容器', container: '容器',
sslCertificate: 'SSL 证书', sslCertificate: 'SSL 证书',
loginSecurity: '登录安全', loginSecurity: '登录安全',
panelLogin: '1Panel 登录', panelLogin: '面板登录',
sshLogin: 'SSH 登录', sshLogin: 'SSH 登录',
failedRecord: '失败记录', failedRecord: '失败记录',
expiredDays: '已过期 {0} ', expiredDays: '已过期 {0} ',
@@ -4383,9 +4383,9 @@ const message = {
memory: '内存', memory: '内存',
load: '负载', load: '负载',
maxDiskUsage: '磁盘最高使用率', maxDiskUsage: '磁盘最高使用率',
panelLoginSecurity: '1Panel 登录安全配置', panelLoginSecurity: '面板登录安全配置',
sshSecurity: 'Linux 服务器 SSH 安全配置', sshSecurity: 'Linux 服务器 SSH 安全配置',
panelFailedRecords: '1Panel 登录失败记录', panelFailedRecords: '面板登录失败记录',
sshFailedRecords: 'SSH 登录失败记录', sshFailedRecords: 'SSH 登录失败记录',
location: '归属地', location: '归属地',
configItem: '配置项', configItem: '配置项',
@@ -4399,6 +4399,7 @@ const message = {
restricted: '已限制', restricted: '已限制',
unrestricted: '未限制', unrestricted: '未限制',
bindDomain: '绑定域名', bindDomain: '绑定域名',
accessRestriction: '访问限制',
panelHTTPS: '面板 HTTPS', panelHTTPS: '面板 HTTPS',
passwordComplexity: '密码复杂度', passwordComplexity: '密码复杂度',
sshService: 'SSH 服务', sshService: 'SSH 服务',
@@ -4409,7 +4410,7 @@ const message = {
rootLogin: 'Root 登录', rootLogin: 'Root 登录',
passwordAuth: '密码认证', passwordAuth: '密码认证',
keyAuth: '密钥认证', keyAuth: '密钥认证',
panelLoginFailed: '1Panel 登录失败', panelLoginFailed: '面板登录失败',
sshLoginFailed: 'SSH 登录失败', sshLoginFailed: 'SSH 登录失败',
panelSecurityItems: '面板安全项', panelSecurityItems: '面板安全项',
sshSecurityItems: 'SSH 安全项', sshSecurityItems: 'SSH 安全项',
@@ -4431,10 +4432,13 @@ const message = {
loginHealthNormalReason: '登录安全配置正常', loginHealthNormalReason: '登录安全配置正常',
securityEntranceConfiguredDesc: '已配置安全入口降低默认入口暴露风险', securityEntranceConfiguredDesc: '已配置安全入口降低默认入口暴露风险',
securityEntranceRiskDesc: '未开启安全入口建议隐藏默认登录入口', securityEntranceRiskDesc: '未开启安全入口建议隐藏默认登录入口',
allowIPsRestrictedDesc: '已限制允许访问 1Panel IP', allowIPsRestrictedDesc: '已限制允许访问面板 IP',
allowIPsRiskDesc: '未限制访问 IP公网环境建议配置授权 IP', allowIPsRiskDesc: '未限制访问 IP公网环境建议配置授权 IP',
bindDomainRestrictedDesc: '已绑定访问域名', bindDomainRestrictedDesc: '已绑定访问域名',
bindDomainRiskDesc: '未绑定访问域名建议限制固定域名访问', bindDomainRiskDesc: '未绑定访问域名建议限制固定域名访问',
accessRestrictionValue: '授权 IP{0} / 绑定域名{1}',
accessRestrictionNormalDesc: '已配置授权 IP 或绑定域名面板访问来源受限',
accessRestrictionRiskDesc: '授权 IP 与绑定域名均未配置或未限制访问建议至少配置一项',
panelHTTPSNormalDesc: '面板已启用 HTTPS', panelHTTPSNormalDesc: '面板已启用 HTTPS',
panelHTTPSRiskDesc: '面板未启用 HTTPS登录链路存在明文风险', panelHTTPSRiskDesc: '面板未启用 HTTPS登录链路存在明文风险',
passwordComplexityNormalDesc: '已开启密码复杂度校验', passwordComplexityNormalDesc: '已开启密码复杂度校验',