This rule ensures the security group does not allow inbound traffic from all to TCP 27017 (MongoDB).
Rule | Ensure Security Group attached to application load balancer instance does not allow inbound traffic from all to TCP 27017 (MongoDB) |
Framework | CloudDefense.AI Security |
Severity | ✔ High |
Rule Description:
The rule aims to enhance the security of the application load balancer by disallowing inbound traffic from all sources to TCP port 27017, which is commonly used by MongoDB. By implementing this rule, you prevent potential unauthorized access to the MongoDB service and ensure that the server is well protected.
Troubleshooting Steps (if applicable):
Necessary Code (if applicable):
There is no specific code required for this rule. However, you may need to access the command-line interface (CLI) of your cloud provider to make the necessary changes to the security group's inbound rules.
Step-by-Step Guide for Remediation:
Please follow the steps below to remediate the rule violation:
By following these steps, you have successfully remediated the rule violation, protecting your application load balancer by disallowing inbound traffic from all sources to TCP port 27017.