Skip to content

Commit

Permalink
Also block HTTP
Browse files Browse the repository at this point in the history
  • Loading branch information
JimMadge committed Jun 28, 2024
1 parent 867ec85 commit 5fee5e9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions data_safe_haven/infrastructure/programs/sre/firewall.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,10 @@ def __init__(
description="Deny external Ubuntu Snap Store upload and login access",
name="DenyUbuntuSnapcraft",
protocols=[
network.AzureFirewallApplicationRuleProtocolArgs(
port=int(Ports.HTTP),
protocol_type=network.AzureFirewallApplicationRuleProtocolType.HTTP,
),
network.AzureFirewallApplicationRuleProtocolArgs(
port=int(Ports.HTTPS),
protocol_type=network.AzureFirewallApplicationRuleProtocolType.HTTPS,
Expand Down

0 comments on commit 5fee5e9

Please sign in to comment.