Global Accelerator flow logs disabled
이 페이지는 아직 한국어로 제공되지 않습니다. 번역 작업 중입니다.
현재 번역 프로젝트에 대한 질문이나 피드백이 있으신 경우
언제든지 연락주시기 바랍니다.Id: 96e8183b-e985-457b-90cd-61c0503a3369
Cloud Provider: AWS
Platform: Terraform
Severity: Medium
Category: Observability
Learn More
Description
Enabling flow logs for AWS Global Accelerator allows visibility into all traffic that traverses the accelerator, providing critical data for monitoring, security auditing, and detecting anomalous activity. If the Terraform attribute flow_logs_enabled is not set to true and related fields such as flow_logs_s3_bucket are not specified, administrators lose valuable insight into network events, significantly hindering threat detection and incident response. Without flow logs enabled, malicious or unauthorized activity could go undetected, increasing the risk of security breaches and data exfiltration.
Compliant Code Examples
resource "aws_globalaccelerator_accelerator" "negative1" {
name = "Example"
ip_address_type = "IPV4"
enabled = true
attributes {
flow_logs_enabled = true
flow_logs_s3_bucket = "example-bucket"
flow_logs_s3_prefix = "flow-logs/"
}
}
Non-Compliant Code Examples
resource "aws_globalaccelerator_accelerator" "positive2" {
name = "Example"
ip_address_type = "IPV4"
enabled = true
attributes {
flow_logs_s3_bucket = "example-bucket"
flow_logs_s3_prefix = "flow-logs/"
}
}
resource "aws_globalaccelerator_accelerator" "positive3" {
name = "Example"
ip_address_type = "IPV4"
enabled = true
attributes {
flow_logs_enabled = false
}
}
resource "aws_globalaccelerator_accelerator" "positive1" {
name = "Example"
ip_address_type = "IPV4"
enabled = true
}