Skip to content

Commit

Permalink
Create insecure-db.tf
Browse files Browse the repository at this point in the history
Add misconfigured Teraform template
  • Loading branch information
madhulsachdeva authored Jul 7, 2024
1 parent 9fd20d3 commit d08aaf4
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions findings/insecure-db.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
resource "aws_db_instance" "default" {
allocated_storage = 10
engine = "mysql"
engine_version = "5.7"
instance_class = "db.t3.micro"
name = "mydb"
username = "foo"
password = "foobarbaz"
parameter_group_name = "default.mysql5.7"
skip_final_snapshot = true
publicly_accessible = true
}

0 comments on commit d08aaf4

Please sign in to comment.