Skip to content

Commit 308b145

Browse files
committed
⚰️ Do not expose Guacamole container private IP address as traffic can be routed to any available IP by the ApplicationGateway backend pool
1 parent 6fbb889 commit 308b145

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

data_safe_haven/infrastructure/stacks/sre/remote_desktop.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
from data_safe_haven.external import AzureIPv4Range
1414
from data_safe_haven.infrastructure.common import (
1515
get_id_from_subnet,
16-
get_ip_address_from_container_group,
1716
)
1817
from data_safe_haven.infrastructure.components import (
1918
AzureADApplication,
@@ -421,9 +420,6 @@ def __init__(
421420
"connection_db_name": db_guacamole_connections,
422421
"connection_db_server_name": db_server_guacamole.db_server.name,
423422
"container_group_name": container_group.name,
424-
"container_ip_address": get_ip_address_from_container_group(
425-
container_group
426-
),
427423
"disable_copy": props.disable_copy,
428424
"disable_paste": props.disable_paste,
429425
"resource_group_name": resource_group.name,

data_safe_haven/provisioning/sre_provisioning_manager.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,7 @@ def restart_remote_desktop_containers(self) -> None:
8484
self.remote_desktop_params["resource_group_name"],
8585
self.subscription_name,
8686
)
87-
guacamole_provisioner.restart(
88-
self.remote_desktop_params["container_ip_address"]
89-
)
87+
guacamole_provisioner.restart()
9088

9189
def update_remote_desktop_connections(self) -> None:
9290
"""Update connection information on the Guacamole PostgreSQL server"""

0 commit comments

Comments
 (0)