Защита внутренних соединений и сервисных прав

This commit is contained in:
EgorAnti
2026-11-27 09:22:26 +03:00
parent 3c412926e5
commit a7463797e6
15 changed files with 453 additions and 54 deletions
+23
View File
@@ -0,0 +1,23 @@
# HTTPS smoke, persistence restart and API replica failover
Date: 2026-11-26
Stand: local Docker Desktop, compose project hla-lab7
Command:
powershell -NoProfile -ExecutionPolicy Bypass -File .\scripts\verify-https-resilience.ps1
Observed output:
PASS: ports, privileges, capabilities, filesystems and resource limits satisfy the local hardening contract.
PASS: 20 certificate/key bundles are valid; private/operator secrets are untracked; present SecretIDs are within TTL.
PASS: lab7 public API scenario; infrastructure and grading evidence remain separate.
PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.
{"observed_instances_before": 2, "successful_writes": 7, "failed_attempts": 0, "first_recovery_seconds": 5.042}
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
PASS: HTTPS smoke, persistence restart and one-replica failure completed with CA and hostname verification enabled.
Hook scope:
scripts/restart.cmd stops nginx, api, worker, redis, postgres, minio and rabbitmq,
then starts the stateful services, runs minio-init and rabbitmq-init, and restores
worker, two API replicas and nginx. Volumes are not removed.
scripts/stop-one.cmd resolves exactly one API container by instance ID and stops it.
No tokens, session cookies, private keys or message payloads are included.