For the complete documentation index, see llms.txt. This page is also available as Markdown.
Cortex CloudApplication Security

Global Accelerator does not have Flow logs enabled misconfiguration detected in code

Rule Details

Cortex AppSec Rule ID

APPSEC_AWS_75

Category - Subcategory

Logging - Disabled or missing

Provider

AWS

Severity

LOW

Framework

Terraform, Terraform Plan

Impact

Global Accelerator is a networking service that sends traffic through AWS's global network enabling global access to your web apps. Flow logs allow capturing information about the IP address traffic going to and from network interfaces in the AWS Global Accelerator. Flow log data is published to Amazon S3, where it can be retrieved and viewed. Flow logs enable troubleshooting if specific traffic is not reaching an endpoint, helping you to diagnose overly restrictive security group rules. It can also be used to monitor the traffic that is reaching endpoints in a VPC and establish if they should be receiving that traffic.

How to Fix

Resource: aws_globalaccelerator_accelerator

  • Arguments: flow_logs_enabled - (Optional) Indicates whether flow logs are enabled. [source,go]


resource "aws_globalaccelerator_accelerator" "example" { 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/" } }


Last updated

Was this helpful?