415d863b3b
- 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>
Deploy
Production (native) — основной путь
- docs/install-ubuntu-24.04-native.md
deploy/env.native.example→/opt/security-alert-center/config/sac-api.envdeploy/systemd/sac-api.service→/etc/systemd/system/deploy/nginx/sac.conf.tls.example→/etc/nginx/sites-available/sac(wildcard TLS)
илиsac.conf.example— только HTTP / отладка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