CERT-In Directions in Practice: 6-Hour Reporting and 180-Day Logs as an Architecture (2026)


IaC without policy-as-code is a fast lane to misconfigured cloud: every engineer writes Terraform that passes terraform plan, no one writes the controls that say "S3 buckets must be encrypted with customer-managed KMS, must enforce TLS, must deny public read; security groups must not expose port 3389 to 0.0.0.0/0; IAM roles must not have wildcard trust principals". Policy-as-code, expressed as a versioned pattern library of OPA Rego rules evaluated against every Terraform plan in CI/CD, turns the cloud security model from "reviewer caught it" to "the pipeline refused to apply it". This article is the production architecture: the five orthogonal control patterns (required metadata, allowed configuration, exposure restriction, protection enforcement, privilege constraint) that compose into every IaC governance system, three production-grade Rego examples with the failure modes they catch, the pattern library directory layout with shared helpers and test fixtures, the six-stage gated CI/CD pipeline with structured violation reporting, the three-phase rollout (advisory → enforce → operationalize) that protects developer velocity, the OPA vs Checkov vs tfsec vs Conftest decision matrix, the drift bridge to AWS Config / Azure Policy / GCP Security Command Center, and the exception lifecycle with TTL and audit trail that keeps the process from becoming a permanent loophole.
A NIS2 compliance blueprint: map the Article 21 measures to cloud controls, engineer the 24h/72h reporting clock, and reuse one control set across GDPR, the EU AI Act, and DORA.
Webhooks are a distributed-systems problem in an HTTP-POST costume. The producer architecture for at-least-once delivery: retries, dead-letter, HMAC signing, idempotency, ordering.
Age assurance is an attribute-release problem, not identity collection: estimation with a buffer age, double-blind tokens and retention you can prove — the 2026 architecture.
Advertise and partner
Reach engineering leaders and CTOs reading about AI, mobile and cloud architecture.
Sponsored mentions and co-authored articles or technical deep-dives. Relevant products only, always disclosed.