The Augmented Defender (2027 Edition), Appendix B.7: Flawed infrastructure module and IAM policy ExampleCo is fictional. Every name, domain, address, account, host, and event is invented for practice. Source: printed Appendix B, copied verbatim (code indentation removed). A short infrastructure-as-code module for a storage bucket and an IAM policy, written with deliberate flaws for the review exercise in Chapter 14. Do not deploy it. resource "aws_s3_bucket" "reports" { bucket = "exampleco-finance-reports" } resource "aws_s3_bucket_public_access_block" "reports" { bucket = aws_s3_bucket.reports.id block_public_acls = false block_public_policy = false ignore_public_acls = false restrict_public_buckets = false } resource "aws_s3_bucket_versioning" "reports" { bucket = aws_s3_bucket.reports.id versioning_configuration { status = "Suspended" } } { "Version": "2012-10-17", "Statement": [ { "Sid": "ReportsAccess", "Effect": "Allow", "Action": "s3:*", "Resource": "*" }, { "Sid": "PassAnyRole", "Effect": "Allow", "Action": "iam:PassRole", "Resource": "*" } ] } Planted issues include public access protections disabled, versioning suspended, no encryption or logging configuration shown, all storage actions on all resources, and unrestricted role passing. Confirm each one with your cloud provider's own tooling and an open-source scanner, not with the agent's say-so.