More Info:

VPC flow logs record all traffic flowing in to and out of a VPC. These logs are critical for auditing and review after security incidents.

Risk Level

Low

Address

Security

Compliance Standards

HIPAA, PCIDSS, GDPR, SOC2, CISAWS, CBP

Triage and Remediation

Remediation

To remediate the misconfiguration of not having Flow Logs enabled on VPC for AWS Security Groups, follow these steps using the AWS Management Console:

  1. Sign in to the AWS Management Console: Go to https://aws.amazon.com/ and sign in to your AWS account.

  2. Navigate to VPC Dashboard: Click on the “Services” dropdown at the top left corner, select “VPC” under the Networking & Content Delivery section.

  3. Select Your VPC: In the VPC Dashboard, locate and select the VPC for which you want to enable Flow Logs.

  4. Enable Flow Logs: Under the “VPC Dashboard”, on the left-hand side, click on “Flow Logs”.

  5. Create Flow Log: Click on the “Create Flow Log” button.

  6. Configure Flow Log:

    • Log Destination: Choose the destination where you want to store the flow logs. You can select either Amazon CloudWatch Logs or Amazon S3.
    • IAM Role: Create a new IAM role or choose an existing IAM role that grants necessary permissions for Flow Logs to publish logs.
    • Filter: Select the filter that includes the traffic you want to capture in the flow logs. For Security Groups, you can choose “All” to capture all traffic or create a custom filter based on your requirements.
    • Role Name: Provide a name for the Flow Log.
  7. Enable Flow Log: Click on “Create Flow Log” to enable Flow Logs for the selected VPC.

  8. Verify Flow Log: Once the Flow Log is created, verify that it is active and capturing the required traffic.

By following these steps, you will have successfully enabled Flow Logs on the VPC for AWS Security Groups, helping you monitor and analyze the network traffic for enhanced security and compliance.

Additional Reading: