Interview Prep/DevSecOps/Cloud Security, CIS and Compliance

What should a security logging architecture look like in the cloud?

IntermediateConceptCloud Security, CIS and Compliance
Answer

Collect CloudTrail (all accounts and regions), VPC Flow Logs, DNS query logs, load balancer and WAF logs, Kubernetes audit logs, IdP sign-in logs and application auth events. Ship them to a dedicated log-archive account that workload accounts can write to but not delete from, with S3 Object Lock in compliance mode and lifecycle tiering.

From there feed a SIEM or a data lake (Security Lake with OCSF format) for detection. Retention is driven by compliance: PCI DSS requires one year, with three months immediately available.

All DevSecOps questions Roadmap: Policy as code

More on Cloud Security, CIS and Compliance