feat: UseSAC sac-client.sh and --check-sac

This commit is contained in:
2026-05-26 21:46:35 +10:00
parent 44f8eb6103
commit dd971d80bc
3 changed files with 280 additions and 1 deletions
+8
View File
@@ -25,6 +25,14 @@ BACKUP_WEBHOOK_URL=""
# NOTIFY_ORDER="email"
NOTIFY_ORDER=""
# --- Security Alert Center (SAC) ---
# off | exclusive | dual | fallback — см. docs в security-alert-center (agent-integration.md)
UseSAC="off"
SAC_URL="https://sac.kalinamall.ru/api/v1/events"
SAC_API_KEY=""
SAC_SPOOL_DIR="/var/lib/ssh-monitor/sac-spool"
SAC_TIMEOUT_SEC="12"
# SMTP (python3). Для авто-режима почты нужны MAIL_SMTP_HOST, MAIL_FROM, MAIL_TO.
MAIL_SMTP_HOST=""
MAIL_SMTP_PORT="587"