Risk Level: Medium
Cloud Entity: Amazon EC2 Instance
CloudGuard Rule ID: D9.AWS.NET.AG2.9.Instance.27017.TCP
Covered by Spectral: No
Instance where inboundRules contain [port <= 27017 and portTo >= 27017 and protocol in ('TCP','ALL')] should not have inboundRules contain [port <= 27017 and portTo >= 27017 and protocol in ('TCP','ALL') and scope numberOfHosts() > 32 and scope numberOfHosts() <= 256]
Limit the access scope for Instance with service 'Mongo to only allow access in internal networks and limited scope.
If public interface exists, remove it and limit the access scope within the VPC only to applications or instances that requires access.
As a further protection step, Use CloudGuard 'Tamper Protection' (Full Protection mode) and region lock to prevent unauthorized changes to network access settings, refer to https://sc1.checkpoint.com/documents/CloudGuard_Dome9/Documentation/Network-Security/DynAccessLease.html?Highlight=dynamic%20access for more details.
Amazon Elastic Compute Cloud (Amazon EC2) is a web service that provides secure, resizable compute capacity in the cloud. It is designed to make web-scale cloud computing easier for developers.
Updated 16 days ago