ION DocsV2
  • 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 V2
  3. V2 Well-Architected
  4. V2 Security
  5. V2 Identity
  6. V2 Identity Workflows
  7. Alya Workbench Identity Workflow

Alya Workbench Identity Workflow

security
VersionV2V3
architecturev2

Alya Workbench Identity Workflow

Alya is the internal Cyber Defender workbench. It uses a single-tenant Entra application boundary and an Alya BFF. User tokens terminate at the BFF; all calls from the BFF to ION services use the BFF’s managed identity.

Actors and application identities

Actor or identityPopulationResponsibility
Cyber Defender AnalystInternal operator assigned to investigations or casesRead and update authorized operational data
Cyber Defender LeadInternal operator with lead and scheduling responsibilitiesPerform lead operations within assigned permissions
Engineering test userExplicitly approved non-production or support populationTest or diagnose Alya without inheriting production operator access
Alya clientInternal, environment-specific single-tenant applicationSign in internal users and request access to the Alya BFF
Alya BFFAzure-hosted workload with its own managed identityTerminate user tokens, enforce Alya authorization, and aggregate downstream APIs
Downstream ION servicesAPIs and services with workload identitiesAuthorize Alya BFF application roles and enforce domain operations

All interactive Alya users authenticate in the Ontinue internal tenant. Access to customer security resources through Sentinel, Defender, or Graph follows the separate Customer Environment Access lifecycle and is not implied by Alya access.

Roles and Permissions

Naming convention: <platform>.<resource>.<operation> Examples:

  • Ion.DefenderWorkbench.*
  • Ion.AutomationWorkbench.*

Flow

Alya Flow
Open diagram source

Token path and termination

  1. The user authenticates to the internal Alya client through Entra ID.
  2. The client obtains a user-delegated token whose audience is the Alya BFF.
  3. APIM or the Alya edge validates the user token and route, obtains a backend token as the APIM managed identity, and calls the OAuth-protected Alya BFF. The original validated user token is delivered only to this BFF in the sensitive X-Authorization header.
  4. The Alya BFF authenticates the APIM caller, revalidates the original user token, role, operation, and any required customer or case assignment.
  5. The user token terminates at the Alya BFF and MUST NOT be propagated to a downstream API, queue, worker, data store, or telemetry.
  6. For each downstream API call, the BFF obtains a token using its own managed identity for the ION service audience.
  7. APIM validates the BFF token and required application role, obtains a token as the selected APIM managed identity, and calls the OAuth-protected target. The target authenticates APIM and enforces its domain authorization.

Background work created from an Alya action records the initiating operation and correlation context, but executes under the responsible worker’s managed identity. It does not retain or replay the user’s bearer token.

Token validation

Alya client configuration

The Alya client uses the environment-specific, single-tenant Entra registration for the Ontinue internal directory:

SettingRequired configuration
AuthorityThe environment’s Ontinue tenant-specific Entra v2.0 authority; Alya does not use /common, /organizations, or a customer tenant authority
ClientThe environment-specific Alya public-client registration
FlowAuthorization Code with PKCE; implicit flow and browser-held credentials are prohibited
Redirect URIAn exact, HTTPS Alya URI declared on the registration; approved localhost URIs are limited to local development
API scopeThe delegated scope exposed by the environment-specific Alya BFF/API registration
Token typeAn access token for the Alya BFF/API; an ID token is never accepted as API authorization

Tenant IDs, application IDs, scopes, and redirect URIs are controlled deployment configuration. They are not embedded in this architecture page or shared across environments.

User access-token contract

APIM or the Alya edge validates the token before routing it, and the Alya BFF performs the same security-critical validation before consuming it. Validation is fail-closed and includes:

Token propertyValidation requirement
SignatureValidate with the signing keys published by the configured tenant’s OpenID Connect metadata. Accept only the configured Entra algorithms and refresh keys when Entra rotates them.
Issuer (iss)Require the exact issuer for the environment’s Ontinue internal tenant and expected v2.0 endpoint. An issuer from a customer or another Ontinue tenant is rejected.
Tenant (tid)Require the configured Ontinue internal tenant. The tenant claim must agree with the trusted issuer.
Audience (aud)Require the environment-specific Alya BFF/API audience. A token for the Alya frontend, Microsoft Graph, another ION API, or another environment is rejected.
Validity (nbf, exp)Require the token to be active and unexpired, allowing only the platform-approved clock skew. The issued-at value is diagnostic and does not replace validity checks.
Authorized client (azp or appid)Require the environment-specific Alya client as the authorized caller, using the claim appropriate to the token version. A valid token obtained by an unrelated client is rejected.
Delegated scope (scp)For a delegated route, require the exact Alya BFF scope defined by that route. A workload application role cannot replace it.
User role (roles)Where the Alya API contract uses user-assigned application roles, require the specific Analyst, Lead, support, or operation role for the route. A delegated scope alone does not grant that role.
Subject (oid and sub)Use stable identifiers to resolve the internal user and authorization assignments. Display name, email, or preferred username is not an authorization key.
Account type (acct), when emittedTreat as contextual information only. It does not replace issuer, tenant, assignment, or role validation.

The validator uses the OpenID Connect metadata for the configured tenant rather than trusting discovery information selected from an unvalidated token. It does not accept unsigned tokens, tokens with an unexpected version or algorithm, or tokens whose required claims are missing or ambiguous.

Authorization after token validation

Successful token validation authenticates the user and client; it does not grant the requested operation. The Alya BFF additionally resolves and enforces:

  • active Alya access and the assigned Analyst, Lead, engineering, or support capability;
  • the route’s required delegated scope or user role;
  • customer, case, and investigation assignment where the operation is scoped;
  • resource ownership and permitted state transitions; and
  • read, write, remediation, scheduling, reporting, coaching, and audit permissions independently rather than inferring them from Workbench access.

Authorization is enforced at several points:

  • Entra assignment: limits who can sign in to Alya and which Alya role is assigned.
  • APIM or Alya edge: validates the user token, authorized Alya client, and route scope or role, then authenticates to the Alya BFF as the APIM managed identity and supplies the original token only as sensitive BFF context.
  • Alya BFF: authenticates APIM, revalidates and terminates the user token, and enforces Analyst, Lead, support, customer, case, resource, and operation policy.
  • Downstream APIs: authorize the Alya BFF managed identity for each operation.
  • Azure resources: enforce Azure RBAC against the calling workload identity.

The UI may hide unavailable functions, but UI state is never an authorization control. A token is rejected with an unauthenticated response when its signature, issuer, tenant, audience, authorized client, validity, or required authentication claims fail. A valid token receives a forbidden response when the user lacks the required role, scope, customer, case, resource, or operation permission.

Roles, scopes, and RBAC

Alya roles are capability-based. They cover Workbench entry, incident operations, scheduling, reporting, remediation actions, coaching, customer context, and audit access as required by the deployed feature set. Assign read and write capabilities separately and grant only those required by the user’s job function.

The Alya BFF receives application roles only for downstream APIs it actually calls. Its Azure RBAC assignments are separately scoped to required resources. Neither a user’s Alya role nor the BFF’s API role grants customer-tenant resource access by itself.

Onboarding

  1. Add the user to the approved internal Alya access group through the corporate joiner/mover process.
  2. Assign the minimum Analyst, Lead, engineering, or support capabilities.
  3. Record customer or case assignment in the owning operational system where the operation requires it.
  4. Provision the Alya BFF managed identity and its least-privilege application roles and Azure RBAC through deployment automation.
  5. Validate token audience, internal tenancy, role enforcement, customer isolation, downstream workload identity, and denied routes.

Engineering access is time-bound and separated from normal production operator membership. Test and demo identities use non-production environments unless an approved production support procedure requires otherwise.

Revocation and offboarding

Removing the internal group or role assignment prevents new Alya sessions. Movers lose obsolete capabilities before new ones are granted. Case and customer assignments are removed when work ends. Urgent revocation disables the user or session at Entra and removes Alya assignments; privileged access is reviewed for active sessions and queued work.

When Alya or a downstream capability is retired, remove the BFF application-role and Azure RBAC assignments before deleting its managed identity. Verify denied access and retain the change record.

Audit and failure behavior

Sign-in, role change, 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 or unnecessary personal data.

Invalid authentication returns an unauthenticated response. A valid user lacking an Alya capability, customer assignment, or case assignment receives a forbidden response. Failure to resolve authorization context fails closed. Downstream token acquisition, APIM validation, or dependency failures return a controlled service error and must not trigger fallback to the original user token.

Related pages

  • Workflow overview
  • Customer Portal
  • Microsoft Teams
  • Microservices
  • Identity architecture
  • Identity guidelines
  • Identity implementation guidance
  • API Management
  • Customer Environment Access

On this page

  • Actors and application identities
  • Roles and Permissions
  • Flow
  • Token path and termination
  • Token validation
  • Alya client configuration
  • User access-token contract
  • Authorization after token validation
  • Roles, scopes, and RBAC
  • Onboarding
  • Revocation and offboarding
  • Audit and failure behavior
  • Related pages
PreviousV2 Identity Workflows
NextCustomer Portal Identity Workflow
Edit on GitHubSecurity