Automating Cloud Security with Policy as Code: A Case Study on AWS S3 Buckets
Citation
Cox, Katlyn, Moazzam, Farzad. (2025.) Automating Cloud Security with Policy as Code: A Case Study on AWS S3 Buckets. International Telemetering Conference Proceedings, 60.Additional Links
https://telemetry.org/Abstract
As cloud adoption grows and threats evolve, enforcing consistent and scalable security policies is increasingly challenging. Policy as Code (PaC) ad dresses this by enabling the definition, management, and automation of security policies through code. This paper explores PaC’s role in automating cloud security, with a focus on AWS environments. It high lights how integrating PaC into DevSecOps pipelines reduces misconfigurations, enhances transparency, and supports real-time compliance. Using a case study of AWS S3 buckets—often mis configured in public and government sectors—this research demonstrates how tools like AWS Cloud Formation Guard, Open Policy Agent (OPA), and CI/CD pipelines can enforce policies for secure and compliant configurations. These include checks for public access, encryption, and role-based access. The paper proposes a practical framework for scalable, testable, and auditable cloud governance using Policy as Code.Type
Proceedingstext
Language
enISSN
0884-51231546-2188
