Data protection implementation guidelines
These pages turn the data protection guidelines into configuration for each Azure resource that ION uses. They are implementation guidelines: they state the required configuration, not the deployed state of any one environment. Teams apply them through reviewed IaC and record any deviation as an exception.
Settings are named by their ARM (Azure Resource Manager) property. Map each one
to the equivalent azurerm or azapi attribute in your Terraform module.
Where the azurerm attribute name is well established, the page names it in
the prose as well.
Requirement keywords
- MUST — mandatory. A deviation needs a recorded exception with reason, compensating controls, owner, and review date.
- SHOULD — expected default. A deviation is allowed when the reason is recorded next to the IaC that implements it.
- MAY — optional, decided by the owning team.
Cross-cutting baseline
Every resource page applies this baseline. The resource pages only add the service-specific detail.
| Area | Baseline | Basis |
|---|---|---|
| Encryption in transit | TLS 1.2 or later on every hop, with no exceptions. TLS 1.3 SHOULD be used where the service supports it. Certificate name validation SHOULD stay on; the Front Door to Application Gateway hop is a recorded exception. | Encryption and access |
| Encryption at rest | Azure platform encryption with Microsoft-managed keys. Customer-managed keys only with a documented compliance driver, key lifecycle, outage impact, and recovery design. | Encryption and access |
| Identity | User-assigned managed identity per service. Local auth, access keys, and SQL logins are disabled wherever the service supports Entra ID. | ADR-0013 |
| Secrets | No platform-internal credentials stored as secrets. Remaining credentials live in Key Vault, are referenced (not copied), and are rotated with overlap. | Secrets and Key Vault |
| Network exposure | No 0.0.0.0/0. Allow only ZPA connector IPs, required service tags, and known platform IPs. “Allow Azure services” style rules SHOULD NOT be used and need a recorded exception. Private endpoints are the Phase 2 target. | ADR-0025, ADR-0016 |
| Residency | Resources, backups, replicas, and diagnostic sinks stay in Switzerland. Switzerland North is the deployed region. | Residency and recovery |
| Backup and recovery | Point-in-time restore for every authoritative store; zone redundancy in gma and prd; delete protection on prd data stores; restores tested in gma. | ADR-0017, ADR-0018 |
| Logging | Diagnostics to Switzerland North Log Analytics. Never log tokens, secrets, request or response bodies, or parameter values. Audit records go to IonAudit_CL, unsampled and unredacted. | ADR-0021 |
| Change control | All settings and exceptions in reviewed IaC. Emergency portal changes are reconciled immediately. | Change control |
Shared definitions
- TLS on every hop — the hops are client → Front Door → Application Gateway → APIM → BFF or backend → data store, plus every outbound call from compute. No hop downgrades to HTTP or to an unencrypted database protocol.
- Platform IPs — the APIM public IP, Function App outbound IPs, and other addresses owned by ION infrastructure, sourced from Terraform outputs rather than typed by hand.
- ZPA connector IPs — the shared
zpa1andzpa2data sources intf-modules. Teams MUST NOT maintain their own per-team IP allowlists. - Recorded exception — documented in the reviewed IaC change that introduces the deviation, naming the reason, compensating controls, owner, and review date.
- Backup copy, not DR — geo-redundant backup to Switzerland West keeps a restorable copy outside the primary region. It is not a warm spare or a failover capability and MUST NOT be described as one.
Resource pages
Edge and gateway
| Resource | Role in ION |
|---|---|
| Azure Front Door | Global entry point, TLS termination, WAF, and static SPA caching. |
| Application Gateway | Regional layer-7 gateway between Front Door and APIM. |
| API Management | Shared API gateway for authentication, policy, and backend routing. |
Data stores
| Resource | Role in ION |
|---|---|
| Azure Cosmos DB | Event store and projection stores. |
| Azure SQL Database | Reporting data store. |
| Azure Database for PostgreSQL | Entra-only application stores, such as configuration and vector stores. |
| Azure Database for MySQL | Temporal persistence and visibility store. |
Compute
| Resource | Role in ION |
|---|---|
| Azure Function Apps | Event handlers, BFFs, and integration functions. |
| Azure Container Apps | Containerized services, including the self-hosted Temporal cluster. |
Procedures
Data protection procedures cover onboarding a data store, storing and rotating third-party secrets, point-in-time restore, retention, deletion, and data-access investigation.