bcgov / cass-frontend

The frontend for the Court Administration Scheduling Application
Apache License 2.0
0 stars 2 forks source link

Refine network security policy #2

Closed WadeBarnes closed 4 years ago

WadeBarnes commented 4 years ago

Test Results:

Test results were obtained using the testConnection script from openshift-developer-tools.

Before:

$ echo -e "frontend\napi\npostgres\n" | xargs -I {} testConnection -n apndkr-dev -f TestConnections.txt -p {}

Reading list of hosts and ports from TestConnections.txt ...

Testing connections from apndkr-dev/frontend ...
google.com:80 - Open
frontend:8080 - Open
api:8080 - Open
postgres:5432 - Open

Reading list of hosts and ports from TestConnections.txt ...

Testing connections from apndkr-dev/api ...
google.com:80 - Open
frontend:8080 - Open
api:8080 - Open
postgres:5432 - Open

Reading list of hosts and ports from TestConnections.txt ...

Testing connections from apndkr-dev/postgres ...
google.com:80 - Open
frontend:8080 - Open
api:8080 - Open
postgres:5432 - Open

After:

$ echo -e "frontend\napi\npostgres\n" | xargs -I {} testConnection -n apndkr-dev -f TestConnections.txt -p {}

Reading list of hosts and ports from TestConnections.txt ...

Testing connections from apndkr-dev/frontend ...
google.com:80 - Closed
frontend:8080 - Closed
api:8080 - Open
postgres:5432 - Closed

Reading list of hosts and ports from TestConnections.txt ...

Testing connections from apndkr-dev/api ...
google.com:80 - Closed
frontend:8080 - Closed
api:8080 - Open
postgres:5432 - Open

Reading list of hosts and ports from TestConnections.txt ...

Testing connections from apndkr-dev/postgres ...
google.com:80 - Closed
frontend:8080 - Closed
api:8080 - Closed
postgres:5432 - Open