ION DocsV3
  • Architecture
    • ION Architecture V2
      • ION V2 — Architecture Overview
      • V2 context
        • V2 capacity model
        • V2 constraints
        • V2 integration boundaries
        • V2 requirements
        • V2 solution strategy
      • V2 Structural Design
        • ION V2 Landscape
        • ION V2 Platform Views
          • ION V2 Delivery and Runway
          • ION V2 Incident-Processing Pipelines
          • ION V2 Platform Networking
          • ION V2 Platform Observability
          • ION V2 Platform Security
        • ION V2 System Context
        • ION V2 Systems
          • Alya System Topology
          • Cogs System Topology
          • Ion IQ System Topology
          • Kingsman System Topology
          • Pigeon System Topology
          • Veritas System Topology
          • Watchtower System Topology
      • V2 evolution and platform lineage
        • Tiberium Origins
          • Tiberium Architecture Overview
          • Tiberium Components Architecture Overview
        • Voyager and the V2 Merge
          • Voyager Architecture Overview
          • Voyager Identity Architecture Overview
          • Voyager Services Architecture Overview
      • V2 Platform Architecture
        • Alya Workbench
          • Mission Brief: Alya (Workbench for Cyber Defenders)
        • Asset Discovery
        • Automation
        • Customer Communications
          • Notification and Escalation Design
        • Reporting and Dashboards
        • Vulnerability Mitigations
      • V2 Well-Architected
        • V2 Reliability
          • Availability Architecture
        • V2 Security
          • API Management
            • API Management Architecture
            • API Management Guidelines
            • API Management Implementation
              • APIM Deployment and Debugging
              • APIM Global Policy Implementation
              • APIM Platform Provisioning
              • APIM Policy Authoring
              • APIM Service Onboarding
              • APIM Webhook Flow Implementation
            • API Management Policy Model
          • V2 Security Architecture
          • Teams Notification Security
          • Customer Data and PII
          • V2 Identity
            • Applications and Authorization
            • V2 Identity Architecture
            • Microsoft Entra ID
            • V2 Identity Standard
            • V2 Identity Implementation
              • Application Registration
              • Application Roles
              • Customer Identity Onboarding
              • Identity Lifecycle and Operations
              • Managed Identity
            • V2 Identity Workflows
              • Alya Workbench Identity Workflow
              • Customer Portal Identity Workflow
              • Microservices Identity Workflow
              • ServiceNow Inbound Identity Workflow
              • Microsoft Teams Identity Workflow
          • Customer Environment Access
            • Customer Environment Access Architecture
            • Customer Environment Access Guidelines
            • Customer Environment Access How-to
    • ION Architecture V3
      • ION V3 Architecture Overview
      • V3 context
        • V3 capacity model
        • V3 constraints
        • V3 integration boundaries
        • V3 requirements
        • V3 solution strategy
      • V3 Structural Design
        • Data and events
          • Archival and retention
          • Event model
          • Event sourcing
          • Event store
          • Micro-frontend interaction
          • Recovery and disaster recovery
          • Replay and reconstruction
          • Reporting and customer analytics
          • Event-sourcing requirements
          • Snapshots
          • UI interaction
        • ION v3 domains
          • Assets domain
            • Assets domain flows
            • Assets domain implementation
            • Assets domain model
          • Customer Collaboration domain
            • Customer Collaboration domain flows
            • Customer Collaboration domain implementation
            • Customer Collaboration domain model
          • Incident domain
            • Incident domain flows
            • Incident domain implementation
            • Incident domain model
          • Investigation domain
            • Investigation domain flows
            • Investigation domain implementation
            • Investigation domain model
          • Remediation domain
            • Remediation domain implementation
            • Remediation domain model
          • Ticket domain
            • Ticket domain flows
            • Ticket domain implementation
            • Ticket domain model
        • ION V3 Landscape
        • ION V3 Platform Views
          • Internal API
            • Internal API architecture
            • Internal API consumer guide
            • Internal API identity and access
            • Internal API implementation
          • Micro-Frontends
            • Micro-Frontends architecture
            • Micro-Frontends capability service (Signet)
            • Micro-Frontends composition
            • Micro-Frontends identity and access
            • Micro-Frontends implementation
            • Micro-Frontends real-time (SignalR)
            • Micro-Frontends routing and ingress
            • Shells and MFEs
          • SOAR Integration
            • SOAR Integration architecture
            • SOAR Integration customer onboarding
            • SOAR Integration Identity and Access Design
            • SOAR Integration implementation
            • SOAR Integration operations
        • ION V3 System Context
        • ION V3 systems
          • Alya
          • Cogs
          • ION IQ
          • Kingsman
          • Pigeon
          • Veritas
          • Watchtower
      • V2 to V3 evolution
        • V2 to V3 architecture delta
        • V2 to V3 decision changes
        • V2 to V3 migration guidance
        • V2 to V3 service impact
      • Well-Architected
        • Cost Optimization
          • Cost Governance
            • Cost Governance Architecture
            • Cost Governance Guidelines
            • Cost Governance Implementation
          • SKU Strategy
            • SKU Strategy Architecture
            • SKU Strategy Guidelines
            • SKU Strategy Implementation
        • Operational excellence
          • Audit Logs
            • Audit Logs Architecture
            • Audit Logs Guidelines
            • Audit Logs Implementation
          • CI/CD Runway
            • CI/CD Runway Architecture
            • CI/CD Runway Guidelines
            • CI/CD Runway Implementation
          • Feature Flags
            • Feature Flags Architecture
            • Feature Flags Guidelines
            • Feature Flags Implementation
          • Incident management
            • Incident management architecture
            • Incident management guidelines
            • Incident management implementation
          • Azure Landing Zone
            • Azure Landing Zone Architecture
            • Azure Landing Zone Guidelines
            • Azure Landing Zone Implementation
          • Notifications
            • Notifications Architecture
            • Notifications Guidelines
            • Notifications Implementation
          • Observability
            • Observability Architecture
            • Observability Guidelines
            • Observability Implementation
        • Performance efficiency
          • Capacity, sizing, and scaling
            • Capacity, sizing, and scaling architecture
            • Capacity, sizing, and scaling guidelines
            • Implement capacity, sizing, and scaling
          • UI responsiveness
            • UI responsiveness architecture
            • UI responsiveness guidelines
            • Implement UI responsiveness
        • V3 reliability
          • Application resilience patterns
          • Critical flows
          • Customer reliability assurance
            • ION Platform reliability and service continuity
            • Customer reliability slides
          • Disaster recovery
            • Disaster recovery architecture
            • Disaster recovery guidelines
            • Disaster recovery implementation
              • DR implementation: API Management
              • DR implementation: App Configuration
              • DR implementation: Application Gateway
              • DR implementation: Azure SQL Database
              • DR implementation: Container Apps
              • DR implementation: Container Registry
              • DR implementation: Cosmos DB
              • DR implementation: Event Hubs
              • DR implementation: Azure Front Door
              • DR implementation: Function Apps
              • DR implementation: Key Vault
              • DR implementation: Log Analytics and Application Insights
              • DR implementation: MySQL Flexible Server (Temporal)
              • DR implementation: PostgreSQL Flexible Server
              • DR implementation: Azure Managed Redis
              • DR implementation: Service Bus
              • DR implementation: SignalR
              • DR implementation: Storage accounts
            • Operational-data replication
            • Disaster recovery operations
          • Edge and routing
            • Azure Application Gateway
              • Azure Application Gateway architecture
              • Azure Application Gateway guidelines
              • Azure Application Gateway implementation
              • Azure Application Gateway resiliency
              • Azure Application Gateway security
            • Azure Front Door
              • Azure Front Door architecture
              • Azure Front Door guidelines
              • Azure Front Door implementation
              • Azure Front Door resiliency
              • Azure Front Door security
          • Event-store disaster recovery (moved)
          • Failure mode analysis
          • Graceful degradation
            • Graceful degradation architecture
            • Graceful degradation guidelines
            • Graceful degradation implementation
          • V3 reliability maturity model
            • V3 reliability maturity assessment
            • Maturity level 2: self-preservation
            • Maturity level 3: recovery readiness
            • Maturity level 4: maintain stability
            • Maturity level 5: stay resilient
          • Multi-region replication
            • Multi-region replication architecture
            • Multi-region replication guidelines
            • Multi-region replication implementation assessment
          • Reliability testing
          • Scaling and headroom
          • Targets and health model
          • Trade-offs and accepted risks
        • V3 Security
          • API Management
            • API Management Architecture
            • API Management Guidelines
            • API Management Implementation
              • API Contracts and Asynchronous Operations
              • APIM Deployment and Debugging
              • APIM Global Policy Implementation
              • APIM Platform Provisioning
              • APIM Policy Authoring
              • APIM Service Onboarding
              • APIM Webhook Flow Implementation
            • API Management Policy Model
          • V3 Security Architecture
          • Data protection
            • Data protection architecture
            • Data protection guidelines
            • Data protection implementation guidelines
              • API Management
              • Application Gateway
              • Azure SQL Database
              • Azure Container Apps
              • Azure Cosmos DB
              • Azure Front Door
              • Azure Function Apps
              • Azure Database for MySQL
              • Azure Database for PostgreSQL
              • Data protection procedures
          • V3 Security Guidelines
          • V3 Identity
            • Applications and Authorization in ION V3
            • V3 Identity Architecture
            • Capabilities
            • Microsoft Entra ID for ION V3
            • V3 Identity Standard
            • V3 Identity Implementation
              • App Service Authentication
              • Application Registration
              • Application Roles
              • Customer Azure RBAC
              • Customer Identity Onboarding
              • Identity Lifecycle and Operations
              • Mailbox-Scoped Access
              • Managed Identity
              • Workload Identity Federation
            • V3 Identity Workflows
              • Alya Workbench Identity Workflow
              • Customer Azure RBAC Identity Workflow
              • Customer Portal Identity Workflow
              • Mailbox Access Identity Workflow
              • Microservices Identity Workflow
              • ServiceNow Inbound Identity Workflow
              • Shell and MFE Identity Workflow
              • Microsoft Teams Identity Workflow
          • Customer Environment Access
            • Azure Lighthouse
              • Azure Lighthouse implementation
            • GDAP and Tenant Governance
              • Access Packages (legacy)
              • GDAP human access implementation
            • Customer environment access guidelines
            • Multi-tenant Entra apps
              • Multi-tenant Entra apps implementation
            • Teams B2B Direct Connect
              • Teams B2B Direct Connect implementation
          • Network Security
            • Network Security Architecture
            • Network Security Guidelines
            • Network Security Implementation
              • Egress and Static IPs
              • Resource Access Restrictions
          • V3 Security Patterns
    • ION Architecture V4
      • How V4 evolves from V3
  • Principles
  • Patterns
    • Application Permissions Only
    • Async REST
    • Audit Logs (Pattern)
    • Auth / AuthZ
    • Dead Letter Queue (DLQ)
    • Dual Writes (and how to avoid them)
    • ECST — Event-Carried State Transfer
    • Event Hubs Throttling
    • Feature Flags (Pattern)
    • Idempotent Write
    • MFE UI Interaction
    • Notifications (Pattern)
    • Private Data Store Access
    • Schema Evolution
    • Service Bus Topic Throttling
    • UI Interaction with an Event-Sourced Backend
  • Standards
    • API Standard
    • API Standards
    • Coding Standard
    • Coding Standards
    • Documentation Standard
    • Documentation Standards
    • Microservice Standard
    • Microservice Checklist
    • Operational Readiness Standard
    • ORR — Operational Readiness Review Checklist
  • Decisions
    • ADR-0001
    • ADR-0002
    • ADR-0003
    • ADR-0004
    • ADR-0005
    • ADR-0006
    • ADR-0007
    • ADR-0008
    • ADR-0009
    • ADR-0010
    • ADR-0011
    • ADR-0012
    • ADR-0013
    • ADR-0014
    • ADR-0015
    • ADR-0016
    • ADR-0017
    • ADR-0018
    • ADR-0019
    • ADR-0020
    • ADR-0021
    • ADR-0022
    • ADR-0023
    • ADR-0024
    • ADR-0025
    • ADR-0026
    • ADR-0027
    • ADR-0028
    • ADR-0029
    • ADR-0030
    • ADR-0031
    • ADR-0032
    • ADR-0033
    • ADR-0034
  • Services
  • Governance
    • Assumptions
    • Discrepancies
    • V3 reference coverage and conflict matrix
OntinueION Docs
  1. Architecture
  2. ION Architecture V3
  3. Well-Architected
  4. V3 reliability
  5. Edge and routing
  6. Azure Front Door
  7. Azure Front Door security

Azure Front Door security

reliability
architecturev3

Azure Front Door security

Front Door is ION’s internet-facing security boundary. It terminates TLS, runs the platform WAF, adds browser security headers, answers CORS, and is the only public path to most origins. It does not authenticate users or authorize requests: APIM, the BFFs, and the domain services do that. This page is the source for Front Door security guidance. The security pillar links here.

Request pipeline

WAF policy

Each stack creates its own azurerm_cdn_frontdoor_firewall_policy. The hub stack’s policy covers the hub endpoints, and each service stack’s policy covers its own endpoint. Every policy has the same settings:

SettingValue
SKUPremium_AzureFrontDoor
ModePrevention
Managed rule setMicrosoft_DefaultRuleSet 2.1, action Block
Managed rule setMicrosoft_BotManagerRuleSet 1.0, action Block
Custom rulesNone
AssociationSecurity policy fdsp-<short>-<hubenv>-glb-<nn>, patterns /*
Verify custom-domain coverage

Front Door applies a security policy per associated domain. Both Terraform modules associate the endpoint resource (the *.azurefd.net default domain). They do not associate the azurerm_cdn_frontdoor_custom_domain resources. Before you rely on WAF coverage for a hostname such as portal.alya.<domain>, confirm in the profile’s Security policies blade that the custom domain is listed. If it is not, add the custom-domain ID to the association in Terraform. This check is a MUST in the guidelines.

Exclusions and false positives

  • Exclusions are per service policy, as narrow as possible (one rule ID, one match variable, one selector), and added through a PR with the WAF log entry that justifies them.
  • Do not switch a policy to Detection to work around a false positive.
  • A single shared policy definition with per-service exclusion overlays is the target, because six or more identical copies drift over time.

Rate limiting

APIM applies caller-aware rate limits and quotas per subscription and caller. Front Door SHOULD add a coarse per-IP rate-limit custom rule on /api/*. It rejects floods at the edge before they use Application Gateway and APIM capacity. Set the threshold well above normal peak per-IP traffic, so it blocks only abuse. The sample rule is in implementation.

TLS and certificates

ControlConfiguration
Client TLSMinimum TLS 1.2 on every custom domain (the Front Door default)
CertificatesFront Door managed certificates; validated through _dnsauth.<endpoint> TXT records in the hub DNS zone and renewed automatically
HTTPsupported_protocols includes HTTP only so that https_redirect_enabled can redirect it
Origin protocolforwarding_protocol = "HttpsOnly" on every route
Origin certificate name checkDisabled (certificate_name_check_enabled = false). Application Gateway presents its default certificate, which does not match every origin hostname. This is a recorded exception; see exceptions

Disabling the name check does not disable TLS. The hop is still encrypted. Front Door just does not verify that the certificate’s subject matches the origin hostname. TLS on every hop stays mandatory with no exceptions.

Security headers

Rule sets add these response headers.

HeaderValue
Strict-Transport-Securitymax-age=31536000; includeSubDomains; preload
X-Frame-OptionsSAMEORIGIN
X-Content-Type-Optionsnosniff
Referrer-Policystrict-origin-when-cross-origin
Permissions-PolicyDeny-by-default list; self only for the features ION uses
Content-Security-PolicyPer stack (see below)
X-XSS-Protection1; mode=block. Deprecated: modern browsers ignore it. Remove it

The hub has four CSP values (default, Alya, Bondi, and Temporal), and each service stack has its own. They differ in connect-src (SignalR wss:, Application Insights, blob storage), frame-src (Power BI, Defender for Cloud Apps), and reporting. Keep these points in mind:

  • Front Door limits rule header values to 640 characters. Bondi stacks drop script-src (it inherits default-src) to stay under the limit and keep the report-uri.
  • Several variants still allow 'unsafe-inline' for styles. Removing it is tracked in the module (TODO).
  • Header actions use Append. If an origin also sets a header, the browser gets two copies. For CSP, it enforces both policies. Application Gateway avoids this by adding its headers only when X-Azure-FDID does not match the ION profile.
  • CSP variants SHOULD be consolidated into a small set of shared values per shell family.

CORS

The CORS<short> rule set matches the request Origin header against the environment’s allowed origin list. When it matches, the rule overwrites Access-Control-Allow-Origin with that origin. It does not handle preflight requests; APIM’s CORS policy answers those. Allowed origins come from the stack’s cors_origin_urls tfvars. They must be exact https:// origins, never wildcards.

Origin protection

Front Door is only a boundary if its origins refuse traffic that does not come from it.

OriginRequired restrictionWhy it is enough
Application GatewayAllow AzureFrontDoor.Backend; allow internet 443 only for the exceptionsThe WebSocket hostnames and the outage bypass need direct access
App Service SPA host (priority 2)Access restrictions: Application Gateway subnet, Front Door service tag with an X-Azure-FDID header match, ZPA subnet (engineer access only, not runtime), deployment runnersThe service tag alone admits any Front Door profile in Azure; the header pins it to ION’s profile
Static Web Apps (priority 2)forwardingGateway with the Front Door service tag and the X-Azure-FDID valueSame reason
APIM gateway (priority 2)Inbound policy that rejects requests without ION’s X-Azure-FDID unless they come from Application Gateway or approved sourcesAPIM is publicly resolvable; the header check limits it to ION’s edge
Attachment storage (valet key)Network rules deny by default and allow Front Door backend ranges, ZPA (engineer access only), and platform IPs. Shared keys disabled, so only user-delegation SAS worksAuthorization happens at the BFF when the SAS is issued; storage enforces scope and expiry
Operational-data storageShared keys disabled; reads need an Entra token with Storage RBACIdentity is the control. IP rules for Front Door are brittle for static websites

X-Azure-FDID carries the profile’s resource GUID. Read it from Terraform (data.azurerm_cdn_frontdoor_profile.rome.resource_guid). Never hard-code it in documentation or source.

Exceptions

These exceptions are sanctioned by ADR-0015. Each one has compensating controls and an exit condition.

ExceptionWhyCompensating controlsExit condition
SignalR WebSocket direct to Application Gateway (agw-alya-sigr, agw-alya-shell-sigr)Front Door did not support WebSockets when SignalR was designedNegotiate goes through Front Door and APIM; SignalR access token is short-lived and user-bound; group membership is backend-controlled; DDoS protection on the public IPRoute SignalR through Front Door, which now supports WebSockets
Front Door outage bypassFront Door is a global single dependencyHuman approval; Alya callback and CORS pre-registered; Application Gateway adds security headers; DDoS protection on the public IPEnds when Front Door recovers
Priority-2 direct originsKeeps APIs and SPAs available when Application Gateway failsFront Door WAF still applies; origin accepts only ION Front Door (service tag plus X-Azure-FDID)Permanent pattern
Storage origins (valet-key blobs, operational-data portal)Same-origin blob access; region-independent continuity portalSAS issued by an authorized BFF, or Entra plus Storage RBAC; shared keys disabled; HTTPS only; WAF at Front DoorPermanent pattern
Origin certificate name check offApplication Gateway presents its default certificate for all origin hostnamesTLS still encrypts the hop; origins are fixed Terraform hostnamesEnable per origin group once each origin presents a matching certificate

Logging

LogContentsUse
FrontDoorAccessLogEvery request: client IP, host, URI, status, route, origin, latency, tracking referenceIncident diagnosis, abuse investigation
FrontDoorWebApplicationFirewallLogEvery WAF match: rule ID, action, policy, request detailsFalse-positive tuning, attack analysis
FrontDoorHealthProbeLogProbe results per originFailover diagnosis

Access logs record the full request URI. Tokens, secrets, and personal data must never appear in query strings. SAS tokens are an accepted exception because they are short-lived and scoped to one blob.

Related pages

  • Guidelines
  • Implementation
  • Data protection: Azure Front Door
  • Network security guidelines
  • API management guidelines
  • Microsoft Learn: Front Door WAF
  • Microsoft Learn: Secure traffic to Front Door origins
  • Microsoft Learn: Front Door WebSocket support

On this page

  • Request pipeline
  • WAF policy
  • Exclusions and false positives
  • Rate limiting
  • TLS and certificates
  • Security headers
  • CORS
  • Origin protection
  • Exceptions
  • Logging
  • Related pages
PreviousAzure Front Door resiliency
NextEvent-store disaster recovery (moved)
Edit on GitHubSecurity