Back to controls

Ensure VPC Flow Logs are enabled for production VPCs

VPC Flow Logs capture network metadata that is essential for incident response and threat hunting.

Category

Controls

Medium

Applies to

AWS

Coverage

null controls, 1 queries

Asset types

1 covered

Overview

VPC Flow Logs capture network metadata that is essential for incident response and threat hunting.

Why this matters

Without Flow Logs, you have reduced visibility into suspicious east-west and north-south traffic patterns.

What this control should detect

Production VPCs that do not have VPC Flow Logs enabled to a central logging destination.

Remediation guidance

AWS Remediation

Service-Wide (Recommended)

Enable organization-level guardrails requiring VPC Flow Logs for all production VPCs and account onboarding pipelines.

Console (Asset-Level)

  1. Open Amazon VPC Console.
  2. Select the affected VPC.
  3. Go to Flow logs and choose Create flow log.
  4. Send logs to CloudWatch Logs or S3 and set required IAM role.
  5. Save and verify log delivery.

AWS CLI (Asset-Level)

aws ec2 create-flow-logs --resource-type VPC --resource-ids <vpc-id> --traffic-type ALL --log-destination-type cloud-watch-logs --log-group-name <log-group-name> --deliver-logs-permission-arn <iam-role-arn>

References

  • https://docs.aws.amazon.com/vpc/latest/userguide/flow-logs.html

Query logic

These are the stored checks tied to this control.

VPCs without flow logs

Connectors

AWS

Covered asset types

VPC

Expected check: eq []

{ vpcs(where: { cloudProvider: "aws", OR: [{ hasFlowLog: null }, { hasFlowLog_NONE: { flowLogStatus: "ACTIVE" } }] }) { ...AssetFragment } }
Cyscale Logo
Cyscale is an agentless cloud-native application protection platform (CNAPP) that automates the contextual analysis of cloud misconfigurations, vulnerabilities, access, and data, to provide an accurate and actionable assessment of risk.

Stay connected

Receive new blog posts and product updates from Cyscale

By clicking Subscribe, I agree to Cyscale’s Privacy Policy


© 2026 Cyscale Limited

LinkedIn icon
Twitter icon
Facebook icon
crunch base icon
angel icon