Turbot Guardrails Hub 
Hub
  • Mods
  • Policy Packs
  • Docs
  • Home
ModsPolicy PacksDocsHome
Mods
AWS
Loading controls...

Control: AWS > PCI v3.2.1 > EC2 > 6 VPC flow logging should be enabled in all VPCs

This control checks whether VPC flow logs are found and enabled for VPCs. The traffic type is set to REJECT.

With VPC Flow Logs, you can capture information about the IP address traffic to and from network interfaces in your VPC. After you create a flow log, you can use CloudWatch Logs to view and retrieve the log data.

Security Hub recommends that you enable flow logging for packet rejects for VPCs. Flow logs provide visibility into network traffic that traverses the VPC. They can detect anomalous traffic and provide insight into security workflows.

By default, the record includes values for the different components of the IP address flow, including the source, destination, and protocol. For more information and descriptions of the log fields, see VPC Flow Logs in the Amazon VPC User Guide.

Remediation

To enable VPC flow logging

1. Open the Amazon VPC console. 2. In the navigation pane, under Virtual Private Cloud, choose Your VPCs. 3. Select a VPC to update. 4. At the bottom of the page, choose Flow Logs. 5. Choose Create flow log. 6. For Filter, choose Reject. 7. For Destination log group, choose the log group to use. 8. If you chose CloudWatch Logs for your destination log group, for IAM role, choose the IAM role to use. 9. Choose Create.

PCI requirement(s): 10.3.3, 10.3.4, 10.3.5, 10.3.6

Resource Types

This control targets the following resource types:

  • AWS > VPC > VPC

Policies

This control type relies on these other policies when running actions:

  • AWS > PCI v3.2.1

Category

  • Compliance > PCI

In Your Workspace

  • Controls by Resource report
  • Controls by Control Type report

Developers

    Control Type URI
    • tmod:@turbot/aws-pciv3-2-1#/control/types/vpcFlowLogsEnabled
  • Category URI
    • tmod:@turbot/turbot#/control/categories/compliancePci
  • GraphQL
    • query controlType(id: "tmod:@turbot/aws-pciv3-2-1#/control/types/vpcFlowLogsEnabled") { … }
    • query controls(filter: "controlTypeId:'tmod:@turbot/aws-pciv3-2-1#/control/types/vpcFlowLogsEnabled'") { … }
  • CLI
    • Get Controls
    • turbot graphql controls --filter "controlTypeId:tmod:@turbot/aws-pciv3-2-1#/control/types/vpcFlowLogsEnabled"
Guardrails
Guardrails Hub
  • Hub
  • Docs
  • Blog
  • Changelog
Products
  • GuardrailsGuardrails
  • PipesPipes
  • SteampipeSteampipe
  • PowerpipePowerpipe
  • FlowpipeFlowpipe
  • TailpipeTailpipe
Turbot
  • Home
  • About us
  • We're hiring!
  • Contact us
Community

Our community of practitioners love to discuss cloud governance & security.

Slack logoJoin us on Slack →

System StatusLegalSecurity
Terms of UseSecurityPrivacy
180
Mods
497
Resource Types
8,691
Policies
3,362
Controls
1,833
Quick Actions
540
IAM