From 7990b1828892bcde4ba1e8f58f257848fc07ac8c Mon Sep 17 00:00:00 2001 From: nimratcoderabbit Date: 2025年7月14日 15:02:19 -0400 Subject: [PATCH] Checkov files --- checkov/test.tf | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 checkov/test.tf diff --git a/checkov/test.tf b/checkov/test.tf new file mode 100644 index 0000000..6d15074 --- /dev/null +++ b/checkov/test.tf @@ -0,0 +1,26 @@ +provider "aws" { + region = "us-east-1" +} + +resource "aws_s3_bucket" "bad_bucket" { + bucket = "my-insecure-bucket" + acl = "public-read" +} + +resource "aws_security_group" "bad_sg" { + name = "open-sg" + description = "Security group with open ingress" + ingress { + from_port = 22 + to_port = 22 + protocol = "tcp" + cidr_blocks = ["0.0.0.0/0"] + } + egress { + from_port = 0 + to_port = 0 + protocol = "-1" + cidr_blocks = ["0.0.0.0/0"] + } +} +

AltStyle によって変換されたページ (->オリジナル) /