This rule ensures that the Security Group attached to EC2 instance restricts inbound traffic to TCP 27018 (MongoDB).
Rule | Ensure Security Group attached to EC2 instance does not allow inbound traffic from all to TCP 27018 (MongoDB) |
Framework | CloudDefense.AI Security |
Severity | ✔ High |
Rule Description:
The security group attached to the EC2 instance should not allow inbound traffic from all sources to TCP port 27018, which is commonly used for MongoDB, in order to maintain proper security and prevent unauthorized access.
Troubleshooting Steps (if applicable):
Necessary Codes (if applicable):
N/A
Step-by-step Guide for Remediation:
By ensuring that the security group attached to the EC2 instance does not allow inbound traffic from all to TCP port 27018, you enhance the security posture of your MongoDB server and reduce the risk of unauthorized access or attacks. This helps to maintain the integrity and confidentiality of your data.