Micro-Frontends
ION V3 composes its analyst- and customer-facing user interfaces from independently deliverable Micro-Frontends (MFEs). A small number of shells own cross-cutting concerns — authentication, layout, theme, notifications, and the real-time connection lifecycle — and load domain MFEs at runtime through Module Federation. Each MFE owns one business domain end to end: its UI, state, data access, its own Backend-for-Frontend (BFF), and its own deployment pipeline.
This is the current frontend composition model for both the Alya shell (Cyber Defender / Cyber Advisor workbench) and the Bondi / Veritas shell (customer portal). It replaces the V2 model of a monolithic React SPA per shell.
This page is the entry point. Read the architecture page for the directives that govern every shell and MFE, then the design pages for how those directives are structured, and finally implementation for the checked-in realization grounded in the repositories.
Capability status
| Capability | Status | Boundary |
|---|---|---|
| Runtime composition via Module Federation (Rsbuild) | ✅ Available | Shell loads remotes from mf-manifest.json at runtime |
Alya shell (alya_shell) | ✅ Production | Single-tenant Entra app, Ontinue personas |
Bondi / Veritas shell (bondi_shell) | 🚧 In progress | Multi-tenant Entra app, customer personas |
| Sub-shell composition (MFE hosts MFE) | ✅ Available | Incidents MFE hosts Investigation + ION IQ surfaces |
| BFF-per-MFE | ✅ Available | Each MFE has its own BFF; user token terminates there |
| Single Shell SignalR BFF (shared real-time connection) | ✅ Available (Alya shell only) | One connection per session, shared through the @fe-ws/signalr singleton; MFEs subscribe through their own BFF to user-scoped groups; producers publish signed CloudEvents. Bondi support undecided; REST polling fallback not implemented |
| Front Door ingress with Application Gateway as origin | ✅ Available | Every user enters through Front Door; agw-* hostnames serve the same build for the outage bypass. ZPA is engineer access only, not runtime |
Catch-all /api/* route per MFE | ✅ Required for new MFEs | Alya-family per-resource routes are transitional |
| Capability-based authN/authZ (Signet) | 🚧 In progress | Signet issues/validates the capability token; FE/BFF adoption rolling out per MFE |
Shared component library (@fe-ws/*) | ✅ Available | Build-time pnpm workspace packages, not runtime-federated |
| Runtime event bus for cross-MFE data | Out of scope | Cross-MFE communication is via URL, backend, or the shared connection state only |
Adoption also requires the owning team’s MFE to be registered with the shell and to satisfy the shared-dependency contract. Being built with Rsbuild alone does not make a component an MFE.
Composition at a glance
The shell never renders domain logic and never routes business messages. The
Incidents MFE acts as a sub-shell: it is loaded by Alya and in turn loads the
Investigation (mfe_iwkb) and ION IQ remotes, owning the incident → investigation
composition itself.
Ownership at a glance
| Concern | Owner |
|---|---|
| Shell runtime, cross-cutting providers, remote-loading primitives | FE Guild (fe-guild-team) |
Shared component library and tooling (@fe-ws/*, fe-packages/) | FE Guild (fe-guild-team) |
| Incidents, Service Management, Customers MFEs | Alya team (mdr-alya-team) |
Investigation (mfe_iwkb, reichenbach-fe), Automation Workbench (mfe_daedalus) | SOC team (soc-team) |
ION IQ MFEs (mfe_ion_iq_*, ion-iq-fe) | MDR Data Science team (mdr-ds-team) |
Shell SignalR BFF (alya-bff-shell-signalr), the group contract, and the event contract | Alya team (mdr-alya-team) |
| Each MFE’s BFF, domain data, and auth enforcement | The MFE’s owning team |
Cross-cutting ownership sits with the FE Guild; domain ownership stays with each MFE team. An MFE team cannot change shell-wide behavior, and the shell team cannot change an MFE’s domain behavior.
Documentation map
| Page | Use it to understand |
|---|---|
| Architecture | Drivers, architectural principles, the directives every shell and MFE must follow, and the alternatives considered |
| Composition | Module Federation wiring: shells, remotes, sub-shells, shared-singleton rules, and runtime remote resolution |
| Routing and ingress | Front Door and Application Gateway ingress, access restrictions, runtime remote resolution, the API path anatomy and APIM naming, catch-all versus per-resource routes, the route catalogue, the outage-bypass mirror, and the new-MFE route checklist |
| Real-time (SignalR) | The single Shell SignalR BFF: negotiate and connect, how MFEs register for group notifications through their own BFF, how backend services send through Service Bus, the group and event contracts, onboarding checklists, and the open gaps |
| Identity and access | Capability-based authN/authZ, BFF-per-MFE, APIM scope validation, token termination, and SignalR lifecycle ownership |
| Capability service (Signet) | How the capability token is minted, carried, validated, and consumed: the trust chain, token anatomy, the two Signet endpoints, build/validation steps, APIM product policy, and the BFF contract |
| Shells and MFEs | The catalog: each shell and MFE, its Module Federation name, role, exposed surfaces, owner, and environments |
| Implementation | The checked-in realization — rsbuild.config.ts, runtime config, @fe-ws/* packages, ports, hosts — each detail linked back to a directive |
Core design rules
- The shell owns only cross-cutting concerns. Auth, layout, theme, notifications, telemetry, routing, remote loading, and the single real-time connection. No domain rendering, ever.
- One MFE owns one domain end to end. Its UI, state, mutations, side effects, telemetry, and its own BFF.
- MFEs are independently deployable. No shared release train; each has its own pipeline, environments, and storage/hosting.
- MFEs do not depend on each other directly. Composition is via routes (deep-linking), explicit sub-shell consumption, or the backend — never a shared hidden store.
- Runtime singletons are shared, domain state is not. React, React Router,
MSAL, Emotion, Notistack, and React Query are shared as singletons; each MFE
keeps its own
QueryClient. - Role logic stays out of MFE code. Access is decided by the capability contract (scope + permissions + MFE access), enforced at APIM and the BFF.
- The sub-shell pattern is explicit. An MFE may host another MFE only where domains are naturally nested (Incidents → Investigation); the parent owns the composition and the shell does not short-circuit it.
- Rsbuild is the sanctioned toolchain. Vite’s Module Federation plugin is not yet sanctioned for ION.
Related documentation
- ADR-0023 — Micro-Frontend (MFE) UI architecture
- Pattern — MFE UI Interaction
- Pattern — UI Interaction
- Pattern — Auth / AuthZ
- Alya system · Veritas system
- Integration boundaries
- Source references: Micro Frontends · MFE - Real Example (Alya) · Planned MFE Architecture for Incidents and Investigation · MFE Patterns