More Info:

This rule checks if a stateless Network Firewall Rule Group contains rules. It ensures that there are rules defined in the stateless Network Firewall Rule Group. The rule is marked as non-compliant if there are no rules in the stateless Network Firewall Rule Group.

Risk Level

Medium

Address

Security

Compliance Standards

CBP

Triage and Remediation

Remediation

To remediate the non-empty stateless network firewall rule groups in AWS EC2 using AWS console, follow these steps:

  1. Open the Amazon VPC Console: Go to the AWS Management Console, navigate to the VPC service.

  2. Navigate to Security Groups: In the VPC dashboard, click on “Security Groups” in the left-hand menu.

  3. Identify the Security Group: Identify the security group that has non-empty stateless network firewall rule groups. You can check the rules defined in each security group to find the non-empty ones.

  4. Edit the Security Group: Select the security group that needs to be remediated and click on the “Inbound Rules” or “Outbound Rules” tab, depending on where the non-empty rule group is present.

  5. Remove Non-Empty Stateless Rules: Look for any rules that are not required or are unnecessarily broad. To remove a rule, select it and click on the “Delete” or “Remove” button.

  6. Add Necessary Rules: If any necessary rules were inadvertently removed, add them back in a way that follows the principle of least privilege. Click on the “Add Rule” button to define a new rule.

  7. Review and Save Changes: Once you have removed the non-empty stateless rules and added any necessary rules, review the changes to ensure they align with your security requirements. Click on the “Save” or “Apply” button to apply the changes.

  8. Verify the Security Group: After saving the changes, verify that the security group no longer contains any non-empty stateless network firewall rule groups.

By following these steps, you can successfully remediate the non-empty stateless network firewall rule groups in AWS EC2 using the AWS console.