HIGH
Source
CloudSploit
ID
open-postgresql

Open PostgreSQL

Ensure that security groups does not have TCP port 5432 for PostgreSQL open to the public.

While some ports such as HTTP and HTTPS are required to be open to the public to function properly, more sensitive services such as PostgreSQL should be restricted to known IP addresses.

Restrict TCP port 5432 for PostgreSQL to known IP addresses