Network Security Guidelines
These rules apply to every ION V3 resource and team. They use RFC 2119 keywords. Deployed behavior that does not yet meet a rule is tracked in the NET gap register. A gap does not relax a rule.
Identity first
- Every data-plane call MUST be authorized by identity (managed identity, Entra OAuth, Azure RBAC). Network position MUST NOT grant access.
- Local authentication (access keys, SAS, connection strings, admin users) MUST be disabled where the service supports it.
- A source inside a VNet, behind ZPA, or on an allow-list MUST NOT be treated as trusted.
Resource access restrictions
- Every Azure PaaS resource with public network access enabled MUST set its firewall default action to Deny and allow only named sources.
- App Service and Function App access restrictions MUST use a Deny default.
The SCM site MUST be restricted with the same or a narrower rule set
(
scm_ip_restriction, orscm_use_main_ip_restriction = true). - Allow-list entries MUST come from the shared
tf-modules/azure/zpa-prerequisite-ipsoutputs or resource data sources. Teams MUST NOT copy IP addresses or subnet IDs into service code. - Allow-lists MUST contain only sources that are real callers of that resource: ZPA connectors (engineers), runner subnets (pipelines), APIM, the outbound addresses of the platform’s own compute, or a reviewed partner.
- Resource firewalls and NSGs MUST NOT allow
0.0.0.0/0,Any, orInternetas a source, except for a public listener whose purpose is to be public (Front Door origin, Application Gateway listener, APIM gateway). - The SQL “Allow Azure services and resources” rule (
0.0.0.0–0.0.0.0) MAY be used only when the server enforces Entra-only authentication (SQL authentication disabled) and callers use managed identity. This is the accepted NET-17 trade-off; identity is the compensating control. - Region-wide Azure Switzerland North ranges MAY be allowed only on resources whose callers have no stable IP set or usable service tag, and only when local authentication is disabled. This is the accepted NET-01 trade-off; new uses MUST be listed in the resource matrix.
- An allow-list MUST NOT include another environment’s sources. Every resource accesses data only within its own environment, so no exception is needed. Existing entries are tracked for removal as NET-18.
- A resource with public access enabled MUST NOT be documented as private. Only a resource reached through a private endpoint or VNet injection, with public access disabled, may be called private.
- New data-plane resources SHOULD use a private endpoint where the service supports it and the callers can reach it (Phase 2 target).
NSGs
- Every new spoke subnet MUST have an NSG, except where Azure forbids one.
- NSG rules MUST name the exact source, destination, port, and protocol.
- NSG and resource firewall changes MUST be made in Terraform and reviewed.
ZPA
- ZPA MUST be used only for human (engineering team) access.
- User ingress, service-to-service calls, and pipelines MUST NOT depend on ZPA. A ZPA outage MUST NOT affect the platform runtime.
- Engineer access MUST follow ZPA identity-aware policy and approved application segments. ZPA group membership is owned by Ontinue IT.
- ZPA connector public IPs MUST be Standard SKU (NET-04).
Pipelines
- Pipelines that reach a restricted data plane MUST run on the environment’s
VNet-injected runners (
<env>-linux,<env>-windows) or static-IP runners (<env>-linux-static), and MUST authenticate with workload identity federation. - Runner subnets MUST be allowed through VNet rules, not by widening a resource to region-wide ranges.
Egress
- Outbound calls MUST go to explicit, configured destinations over TLS with identity or partner authentication.
- Wildcard destinations MUST NOT be used where the vendor publishes fixed endpoints.
- A stable egress IP SHOULD be used only when a partner requires an IP allow-list. It MUST come from the spoke NAT gateway or static-IP runners, not a new public IP.
- Teams MUST NOT assume a central egress filter exists (NET-16).
DNS
- Workloads MUST use the hub private DNS zones. They MUST NOT create conflicting zones, custom DNS servers, or host-file overrides.
Edge
- Public HTTP traffic MUST follow Front Door, Application Gateway, APIM, then a BFF or integration service. The only exceptions are those in ADR-0015.
- WAF, DDoS, TLS, and origin-protection rules are owned by Azure Front Door security and Application Gateway security.
Monitoring and change
- Diagnostic settings for network resources MUST stay enabled; they are applied by Azure Policy.
- VNet flow logs SHOULD be enabled on the hub and spoke VNets (NET-11).
- ZPA connector health and network-control changes SHOULD raise alerts (NET-05).
- Network changes MUST be deployed through IaC. Emergency changes MUST be reconciled to IaC immediately.
- Tests SHOULD prove both an allowed path and a representative denied path.