A Unified Framework for Secure Cloud Infrastructure Deployment, Policy Enforcement, and Configuration Governance
Cloud infrastructure is increasingly defined and managed through code. This improves consistency and makes changes easier to review, but configuration errors can still be introduced through the same development workflow. This paper presents an implemented workflow for validating selected Amazon Web Services (AWS) infrastructure configurations before deployment. Terraform defines the infrastructure, Checkov scans the configuration for security issues, and Open Policy Agent (OPA) evaluates Rego policies against a Terraform execution plan. GitHub Actions connects these validation stages, while GitHub OpenID Connect (OIDC) provides federated authen-tication to AWS. The implemented S3 configuration includes public-access blocking, AES256 server-side encryption, versioning, bucket-ownership enforcement, secure-transport enforcement, and lifecycle rules. In the recorded Checkov scan, 64 checks passed, zero checks failed, and five checks were skipped with documented explanations. The tested Terraform plan produced no reported OPA policy violations, and the associated GitHub Actions workflow completed successfully in approximately 46 seconds. The findings are limited to the tested configuration and the policy conditions implemented in the prototype.
Authors
- S. Hima Teja
- K. Thanoj Kumar
- L. Lakshmi Prasanna Kumar
- YENUGU SRINIVAS THARUN
Institutions
- Koneru Lakshmaiah Education Foundation (IN)
Publication Details
- Journal
- Research Square
- Published
- 2026-12-01
- DOI
- https://doi.org/10.21203/rs.3.rs-11887350/v1
- Primary Topic
- Cloud Data Security Solutions
- Type
- preprint