SOC 2 & ISO 27001 Docker Compose & Billing Stack Hardening Auditor
“Enforce SOC 2 (CC6.1 / CC7.2 / CC8.1) & ISO 27001 Container Hardening Across Docker Compose & Reverse Proxies Automatically.”
Deterministic infrastructure-as-code auditor mapping Docker Compose services and reverse-proxy headers directly to SOC 2 Trust Services Criteria (CC6.1, CC7.2, CC8.1, A1.2) and ISO 27001 controls.
CLAIM: Automated SOC 2 (CC6.1, CC7.2, CC8.1, A1.2) Docker Compose and reverse-proxy hardening verification. PROOF: Deterministic Python auditor (skills/compliance-stack-hardening/compliance_compose_auditor.py --selftest PASS).
How do we prove our self-hosted Docker Compose stacks and billing portals meet SOC 2 network binding, digest pinning, and log retention controls?
Aria’s Compliance Stack Hardening Auditor deterministically inspects docker-compose.yml and reverse-proxy configurations to verify 127.0.0.1 loopback port bindings (CC6.1), block production debug flags (CC7.2), enforce immutable @sha256 image digests (CC8.1), and validate log rotation (A1.2).
Production Stack
Proven Production Guarantees
- Flags any container port exposed on 0.0.0.0 instead of 127.0.0.1 behind a hardened TLS reverse proxy.
- Blocks APP_DEBUG=true, unpinned mutable image tags, and missing json-file log rotation limits before deployment.
- Outputs a structured SOC 2 / ISO 27001 compliance matrix pass/fail report for executive and auditor sign-off.
Implementation & Verification Runbook
Execute the compliance compose auditor self-test to verify loopback binding, debug-flag blocking, @sha256 digest pinning, and log rotation checks.
python skills/compliance-stack-hardening/compliance_compose_auditor.py --selftest