Enhance security and reliability across SFTP workflows

This commit is contained in:
liumangmang
2026-03-10 16:15:46 +08:00
parent 56c40410dc
commit 0c443b029d
23 changed files with 1477 additions and 394 deletions

View File

@@ -27,10 +27,15 @@ spring:
max-request-size: 2GB
app:
cors:
allowed-origins: ${APP_CORS_ALLOWED_ORIGINS:http://localhost:48081}
sftp:
session-timeout: 60000
session-cleanup-interval: 60000
connection-timeout: 30000
max-retries: 5
strict-host-key-checking: ${SFTP_STRICT_HOST_KEY_CHECKING:false}
known-hosts-path: ${KNOWN_HOSTS_PATH:}
# Actuator 生产环境暴露健康与指标
management: