This rule dictates that VPC flow logs must be enabled to ensure network traffic visibility and security.
Rule | VPC flow logs should be enabled |
Framework | RBI Cyber Security Framework |
Severity | ✔ High |
Rule/Policy Description:
VPC flow logs should be enabled for RBI (Reserve Bank of India) Cyber Security Framework compliance. VPC flow logs capture information about the IP traffic going to and from network interfaces in a VPC (Virtual Private Cloud). Enabling VPC flow logs is essential for monitoring and auditing network activity within the VPC and helps to detect potential security threats and analyze traffic patterns.
Troubleshooting Steps (if any):
If VPC flow logs are not enabled or not functioning properly, you may experience the following issues:
To troubleshoot VPC flow log issues, follow these steps:
Necessary Codes/Configurations (if any):
To enable VPC flow logs, you need to configure the VPC settings with the appropriate parameters. Here's an example of enabling VPC flow logs using the AWS Command Line Interface (CLI):
aws ec2 create-flow-logs --resource-type VPC --resource-ids <VPC_ID> --traffic-type ALL --log-destination <Destination> --log-format <Format>
Replace
<VPC_ID>
with the ID of the VPC for which you want to enable flow logs. Specify <Destination>
as the destination for the flow logs, such as an S3 bucket or CloudWatch Logs. <Format>
indicates the format in which the flow logs should be stored.Step-by-Step Guide for Remediation:
To enable VPC flow logs for RBI Cyber Security Framework compliance, follow these steps:
Step 1: Access your AWS Management Console
Log in to your AWS Management Console using your credentials.
Step 2: Navigate to VPC Management
Go to the VPC (Virtual Private Cloud) management page.
Step 3: Select the Desired VPC
Choose the VPC for which you want to enable flow logs from the list.
Step 4: Enable Flow Logs
Click on the "Actions" button and select "Create flow log."
Step 5: Configure Flow Log Settings
In the flow log creation wizard, specify the following:
Step 6: Review and Create
Review the configured settings and click on the "Create" button to enable flow logs for the selected VPC.
Step 7: Verify Flow Log Status
Wait for a few moments for the flow logs to be enabled. Once enabled, verify the status as "Active" for the corresponding VPC.
Conclusion:
Enabling VPC flow logs is crucial for RBI Cyber Security Framework compliance as it allows for monitoring and auditing of network activity within a VPC. Following the mentioned troubleshooting steps and using the provided codes and step-by-step guide, you can enable VPC flow logs to meet the compliance requirements and enhance the security posture of your VPC infrastructure.