Skip to content

Commit

Permalink
Make rule collection names more consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
JimMadge committed Jan 8, 2025
1 parent 3127086 commit 357fc57
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions data_safe_haven/infrastructure/programs/sre/firewall.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def __init__(
action=network.AzureFirewallRCActionArgs(
type=network.AzureFirewallRCActionType.ALLOW
),
name="apt-proxy-server",
name="apt-proxy-server-allow",
priority=FirewallPriorities.SRE_APT_PROXY_SERVER,
rules=[
network.AzureFirewallApplicationRuleArgs(
Expand All @@ -144,7 +144,7 @@ def __init__(
action=network.AzureFirewallRCActionArgs(
type=network.AzureFirewallRCActionType.ALLOW
),
name="clamav-mirror",
name="clamav-mirror-allow",
priority=FirewallPriorities.SRE_CLAMAV_MIRROR,
rules=[
network.AzureFirewallApplicationRuleArgs(
Expand All @@ -169,7 +169,7 @@ def __init__(
action=network.AzureFirewallRCActionArgs(
type=network.AzureFirewallRCActionType.ALLOW
),
name="identity-server",
name="identity-server-allow",
priority=FirewallPriorities.SRE_IDENTITY_CONTAINERS,
rules=[
network.AzureFirewallApplicationRuleArgs(
Expand All @@ -190,7 +190,7 @@ def __init__(
action=network.AzureFirewallRCActionArgs(
type=network.AzureFirewallRCActionType.ALLOW
),
name="remote-desktop-gateway",
name="remote-desktop-gateway-allow",
priority=FirewallPriorities.SRE_GUACAMOLE_CONTAINERS,
rules=[
network.AzureFirewallApplicationRuleArgs(
Expand All @@ -211,7 +211,7 @@ def __init__(
action=network.AzureFirewallRCActionArgs(
type=network.AzureFirewallRCActionType.ALLOW
),
name="software-repositories",
name="software-repositories-allow",
priority=FirewallPriorities.SRE_USER_SERVICES_SOFTWARE_REPOSITORIES,
rules=[
network.AzureFirewallApplicationRuleArgs(
Expand Down Expand Up @@ -244,7 +244,7 @@ def __init__(
action=network.AzureFirewallRCActionArgs(
type=network.AzureFirewallRCActionType.ALLOW
),
name="workspaces",
name="workspaces-allow",
priority=FirewallPriorities.SRE_WORKSPACES,
rules=[
network.AzureFirewallApplicationRuleArgs(
Expand Down Expand Up @@ -318,7 +318,7 @@ def __init__(
action=network.AzureFirewallRCActionArgs(
type=network.AzureFirewallRCActionType.ALLOW
),
name="workspaces-all-allow",
name="workspaces-allow-all",
priority=FirewallPriorities.SRE_WORKSPACES,
rules=[
network.AzureFirewallNetworkRuleArgs(
Expand Down

0 comments on commit 357fc57

Please sign in to comment.