Files
security-alert-center/deploy
PapaTramp 415d863b3b feat: SAC daily reports from DB aggregation (notif-32)
- Aggregate report.daily.ssh/rdp from 24h ingest; job and systemd timer

- notify_daily_report bypasses NOTIFY_MIN_SEVERITY; ingest routes agent reports

- HTML templates, env SAC_DAILY_REPORT_*, docs and tests (56 cases)

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-29 16:30:07 +10:00
..

Deploy

Production (native) — основной путь

  1. docs/install-ubuntu-24.04-native.md
  2. deploy/env.native.example/opt/security-alert-center/config/sac-api.env
  3. deploy/systemd/sac-api.service/etc/systemd/system/
  4. deploy/nginx/sac.conf.tls.example/etc/nginx/sites-available/sac (wildcard TLS)
    или sac.conf.example — только HTTP / отладка
  5. deploy/sac-deploy.sh/opt/sac-deploy.sh — полное обновление после git pull
sudo cp deploy/sac-deploy.sh /opt/sac-deploy.sh
sudo chmod 755 /opt/sac-deploy.sh
sudo /opt/sac-deploy.sh

Альтернатива: Docker

Только для стенда. См. docs/install-ubuntu-24.04-docker.md.

cp .env.example .env   # docker-only
docker compose up -d --build
docker compose run --rm migrate