This rule ensures that VPC flow logs are enabled to enhance visibility and security.
Rule | VPC flow logs should be enabled |
Framework | NIST 800-53 Revision 5 |
Severity | ✔ High |
Rule: VPC Flow Logs should be enabled for NIST 800-53 Rev. 5
Description:
VPC Flow Logs are a feature provided by AWS that capture information about the IP traffic going to and from network interfaces in your Virtual Private Cloud (VPC). Enabling VPC Flow Logs is essential to meet the security requirements outlined in the NIST 800-53 Revision 5 guidelines. By enabling the VPC Flow Logs, you can collect and analyze network flow data, allowing you to monitor and analyze network traffic for security and operational purposes.
Troubleshooting:
Issue 1: VPC Flow Logs are not enabled.
Remediation:
Issue 2: VPC Flow Logs are not capturing all required traffic.
Remediation:
Additional Notes:
Example CLI Commands:
aws ec2 create-flow-logs --resource-ids <vpc-id> --traffic-type all --log-destination-type <destination-type> --log-destination <destination>
aws ec2 modify-flow-log --flow-log-id <flow-log-id> --traffic-type <traffic-type> --log-destination-type <destination-type> --log-destination <destination>