From b87f5c3d09252b9da78c9b29805156d984f984d8 Mon Sep 17 00:00:00 2001 From: lvalentine6 Date: Sat, 20 Sep 2025 04:39:23 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=ED=98=B8=EC=8A=A4=ED=8A=B8=20=ED=97=A4?= =?UTF-8?q?=EB=8D=94=EB=A1=9C=EB=A7=8C=20=EC=A0=91=EA=B7=BC=EC=9D=84=20?= =?UTF-8?q?=ED=97=88=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 취약점 스캐닝, 크롤링이 확인되어 임시 조치함 --- terraform/common/alb/https-listener/main.tf | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/terraform/common/alb/https-listener/main.tf b/terraform/common/alb/https-listener/main.tf index 3e92bff4..3a055647 100644 --- a/terraform/common/alb/https-listener/main.tf +++ b/terraform/common/alb/https-listener/main.tf @@ -5,8 +5,13 @@ resource "aws_alb_listener" "https" { certificate_arn = var.https_listener.certificate_arn default_action { - type = var.https_listener.type - target_group_arn = var.https_listener.default_target_group_arn + type = "fixed-response" + + fixed_response { + content_type = "text/plain" + message_body = "Access Denied: Invalid Host" + status_code = "403" + } } }