Security Group attached to EC2 instance allows inbound traffic from all to TCP port 5601 (Kibana)
Description
AWS Elasticsearch should not be publicly accessible from the internet to protect data from unauthorized user access, data loss and possible leakage of sensitive data.
Fix - Runtime
Procedure
- Make necessary changes to the access control policy and security groups to make the ES endpoint private.
- Allow only a specific list of IP addresses.
- Once the ElasticSearch endpoint is not publicly accessible Prowler will automatically close the issue.
- You can also request exception from the policy violation details page.
- SecOps will review and involve DSO if required and grant exception; Prowler will automatically ignore this resource until the expiry of exception.