Skip to content

Commit

Permalink
✏️ Fix minor typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jemrobinson committed Apr 19, 2024
1 parent 0c2d9e9 commit 4f187d0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions data_safe_haven/infrastructure/common/enums.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@ class NetworkingPriorities(int, Enum):

@verify(UNIQUE)
class Ports(str, Enum):
AZURE_BASTIAN_1 = (
AZURE_BASTION_1 = (
"8080" # https://learn.microsoft.com/en-us/azure/bastion/bastion-nsg
)
AZURE_BASTIAN_2 = "5701"
AZURE_BASTION_2 = "5701"
DNS = "53"
HTTP = "80"
HTTPS = "443"
Expand Down
8 changes: 4 additions & 4 deletions data_safe_haven/infrastructure/stacks/shm/networking.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ def __init__(
description="Allow inbound internal bastion host communication.",
destination_address_prefix="VirtualNetwork", # required by https://learn.microsoft.com/en-us/azure/bastion/bastion-nsg
destination_port_ranges=[
Ports.AZURE_BASTIAN_1,
Ports.AZURE_BASTIAN_2,
Ports.AZURE_BASTION_1,
Ports.AZURE_BASTION_2,
],
direction=network.SecurityRuleDirection.INBOUND,
name="AllowBastionHostInbound",
Expand Down Expand Up @@ -161,8 +161,8 @@ def __init__(
description="Allow outbound internal bastion host communication.",
destination_address_prefix="VirtualNetwork", # required by https://learn.microsoft.com/en-us/azure/bastion/bastion-nsg
destination_port_ranges=[
Ports.AZURE_BASTIAN_1,
Ports.AZURE_BASTIAN_2,
Ports.AZURE_BASTION_1,
Ports.AZURE_BASTION_2,
],
direction=network.SecurityRuleDirection.OUTBOUND,
name="AllowBastionHostOutbound",
Expand Down

0 comments on commit 4f187d0

Please sign in to comment.