Alya Workbench Identity Workflow
Alya is the internal Cyber Defender workbench. In V3 it is the Alya shell
hosting domain micro-frontends (MFEs) such as incidents and investigation, each
served by its own MFE BFF (ADR-0023).
Alya uses a single-tenant Entra application and a tenant-specific authority. Signet
issues every Alya user an internal persona with an unrestricted scope. User
tokens terminate at the MFE BFF; every call from a BFF to ION services uses the
BFF’s own UAMI.
Actors and application identities
| Concern | Authoritative system | ION responsibility |
|---|---|---|
| Cyber Defender Analyst | Ontinue platform directory | Reads and updates authorized operational data for investigations and cases. |
| Cyber Defender Lead and Coach | Ontinue platform directory | Performs lead, scheduling, coaching, and reporting operations within assigned permissions. |
| Engineering test or support user | Ontinue platform directory, separately approved | Tests or diagnoses Alya without inheriting production operator access. |
| Alya application | azsp-ontinue-rome-idm-ion-defenderwb-{env}-01, single-tenant | Signs in internal users and is the audience of the Alya shell token. |
| Capability issuer | Signet | Maps Alya roles to permissions and MFE access; issues shell alya, persona internal, unrestricted scope. |
| Edge | APIM MFE product | Validates the Alya token, calls Signet validations, and authenticates to the MFE BFF with its own managed identity. |
| Alya MFE BFFs | Incidents, investigation, and other MFE BFFs, each with its own UAMI | Bind the capability token, enforce per-route and assignment rules, terminate the user token, and aggregate downstream APIs. |
| Downstream ION services | Domain APIs and workers with their own UAMIs | Authorize the calling BFF's Ion.* roles and enforce domain operations. |
All interactive Alya users authenticate in the Ontinue platform directory. Access to customer security resources through Sentinel, Defender, or Graph follows the separate Customer Environment Access lifecycle (GDAP/Tenant Governance, Lighthouse) and is not implied by Alya access.
Roles and permissions
Application roles follow <platform>.<resource>.<operation>. Signet maps them to
capability permissions (DomainEntity.Read or DomainEntity.ReadWrite) and to
mfe_access.
| Role family | Purpose |
|---|---|
Ion.DefenderWorkbench.* | Workbench entry and Cyber Defender operations such as incidents, investigation, and scheduling |
Ion.DefenderWorkbench.Customer.* | Customer-context operations within the workbench |
Ion.AutomationWorkbench.* | Automation workbench operations |
MFEs read permissions and mfe_access from the shared user context and never
branch on role names. See Capabilities.
Token path and termination
- The user authenticates to the Alya application through Entra ID with Authorization Code and PKCE.
- The shell acquires a capability token from Signet with
X-Shellalya. - Each MFE request carries the Alya token in
Authorizationand the capability token inX-Capabilities. - The APIM MFE product validates the token, calls Signet validations, acquires
its own managed-identity token for the ION Platform API audience, and calls the
MFE BFF. The validated original token is delivered only in
X-Authorization. - The BFF authenticates APIM through Easy Auth, re-validates and binds the
capability token to
X-Authorization, and enforces route permission and any customer or case assignment. - The user token terminates at the BFF and MUST NOT be propagated to a downstream API, queue, worker, data store, or telemetry.
- For each downstream call the BFF obtains a token with its own UAMI for the ION
Platform API audience. APIM validates the caller and its
Ion.*role and calls the target with its own managed identity.
Background work created from an Alya action records the initiating operation and correlation context but executes under the responsible worker’s UAMI. It never retains or replays the user’s bearer token. The full shell and MFE path, including the shared SignalR connection, is in Shell and MFE.
Token validation
Alya client configuration
| Setting | Required configuration |
|---|---|
| Application | The environment-specific single-tenant Alya application, azsp-ontinue-rome-idm-ion-defenderwb-{env}-01 |
| Authority | The environment’s Ontinue tenant-specific Entra v2.0 authority. Alya never uses /common, /organizations, or a customer tenant authority. |
| Flow | Authorization Code with PKCE through MSAL; implicit flow and browser-held credentials are prohibited |
| Redirect URI | An exact HTTPS Alya URI declared on the registration; approved localhost URIs only for local development |
| API scope | The delegated scope exposed by the Alya application |
| Token type | An access token; an ID token is never accepted as API authorization |
Tenant IDs, application IDs, scopes, and redirect URIs are controlled deployment configuration. They are not published on this page or shared across environments.
User access-token contract
APIM validates the token before routing, Signet validates the capability token, and the BFF re-validates and binds both. Validation is fail-closed:
| Token property | Validation requirement |
|---|---|
| Signature | Validate with the configured tenant’s OpenID Connect signing keys. Accept only configured algorithms and refresh keys on rotation. |
Issuer (iss) | Require the exact issuer for the environment’s Ontinue tenant. A customer-tenant or other issuer is rejected. |
Tenant (tid) | Require the configured Ontinue tenant, consistent with the issuer. |
Audience (aud) | Require the environment-specific Alya application. A token for Bondi, Microsoft Graph, another ION API, or another environment is rejected. |
Validity (nbf, exp) | Require an active, unexpired token within the approved clock skew. |
Authorized client (azp or appid) | Require the environment-specific Alya client. |
| Roles | Require the Ion.DefenderWorkbench.* or Ion.AutomationWorkbench.* role that maps to the route’s capability permission. |
Subject (oid) | Use the stable object ID. Display name, email, or preferred username is never an authorization key. |
| Capability binding | entra_aud must equal aud, sub must equal oid, and shell must be alya. |
The validator uses OpenID Connect metadata for the configured tenant and never trusts discovery information selected from an unvalidated token.
Authorization after token validation
Token validation authenticates the user and client; it does not grant the operation. An unrestricted scope removes the tenant restriction from Signet validation but not the domain rules. The BFF additionally enforces:
- the route’s specific capability permission (R3);
- Alya-specific rules keyed on the
shellclaim (R4); - customer, case, and investigation assignment where the domain requires it, re-checked against the specific resource (R5);
- resource ownership and permitted state transitions; and
- read, write, remediation, scheduling, reporting, coaching, and audit permissions independently rather than inferring them from Workbench access.
Enforcement points:
- Entra assignment limits who can sign in and which Alya roles are assigned.
- Signet issues only the permissions and MFE access mapped from those roles.
- APIM MFE product validates the token and enforces Signet scope and the write gate.
- MFE BFF binds, enforces per-route and assignment rules, and terminates the user token.
- Downstream APIs authorize the BFF UAMI for each operation.
- Azure resources enforce Azure RBAC against the calling workload’s UAMI.
Roles, scopes, and RBAC
Alya roles are capability-based. They cover Workbench entry, incident operations, investigation, scheduling, reporting, remediation, coaching, customer context, and audit access. Assign read and write capabilities separately and grant only those required by the user’s job function.
Each Alya MFE BFF receives Ion.* application roles only for downstream APIs it
actually calls, and Azure RBAC only on resources it uses. Neither a user’s Alya
role nor a BFF’s API role grants customer-tenant resource access.
Onboarding
- Add the user to the approved internal Alya access group through the corporate joiner/mover process.
- Assign the minimum
Ion.DefenderWorkbench.*,Ion.DefenderWorkbench.Customer.*, orIon.AutomationWorkbench.*roles. - Record customer or case assignment in the owning operational system where the operation requires it.
- Provision each MFE BFF’s UAMI with least-privilege
Ion.*roles and Azure RBAC through deployment automation (Managed identity). - Validate tenant-specific authority, audience, Signet persona and scope, role enforcement, assignment enforcement, BFF token termination, and denied routes.
Engineering access is time-bound and separated from production operator membership. Test identities use non-production environments unless an approved production support procedure requires otherwise.
Revocation and offboarding
Removing the group or role assignment prevents new Alya sessions and new capability tokens; an issued capability token expires within about one hour. Movers lose obsolete roles before new ones are granted. Case and customer assignments are removed when work ends, and BFF rule R5 enforces the change on the next request. Urgent revocation disables the user and revokes sessions in Entra and removes Alya assignments; privileged access is reviewed for active sessions and queued work.
When an MFE or downstream capability is retired, remove the BFF’s Ion.* role
and Azure RBAC assignments before deleting its UAMI. Verify denied access and
retain the change record.
Audit and failure behavior
Sign-in, role change, capability issuance, customer or case assignment, denied operation, downstream call, and privileged support access are auditable. Logs correlate the initiating Alya operation with the BFF and downstream workload identities without storing the user token, capability token, or unnecessary personal data.
Failure to resolve authorization context fails closed. Downstream token acquisition, APIM validation, or dependency failures return a controlled service error and never fall back to the original user token.