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 Security
  5. V3 Identity
  6. V3 Identity Implementation
  7. Customer Azure RBAC

Customer Azure RBAC

security
architecturev3

Customer Azure RBAC

Use this runbook to give ION least-privilege access to specific Azure resources in a customer tenant through the hollow application azsp-ontinue-ion-access-azure-rbac-prd-01 (ADR-0011). The application declares zero API permissions. Consent only creates its enterprise application (service principal) in the customer tenant; every capability comes from an Azure role assignment that the customer makes on a specific resource. ION recommends roles; the customer assigns them.

The workflow view is in Customer Azure RBAC workflow.

Prerequisites

  • An active customer onboarding record with the verified customer tenant (Customer onboarding).
  • The hollow application exists, has zero API permissions, and has a FIC for each calling workload’s own UAMI (Workload identity federation).
  • The capabilities the customer wants to enable and the target resources for each.
  • Customer administrators with rights to create the table and DCR and to assign roles at the target scopes (Owner, User Access Administrator, or Role Based Access Control Administrator on those scopes).
  • Azure PowerShell (Az.Accounts, Az.Resources, Az.Monitor) for the customer administrator.

Access model

The service principal’s existence is never treated as a capability. ION enables a capability for a resource only after it discovers a matching role assignment.

Recommended roles

CapabilityCustomer-created prerequisiteRecommended scopeRecommended role
Dark-web monitoring incidents: custom Log Analytics ingestion (Logs Ingestion API)Custom table, Data Collection Endpoint, and DCR created by the Ontinue deploy.ps1 scriptThe DCRMonitoring Metrics Publisher, or a custom role with the Microsoft.Insights/Telemetry/Write data action
Response: add an IP address to an IP groupExisting IP groupThe IP groupCustom role with Microsoft.Network/ipGroups/read and Microsoft.Network/ipGroups/write; Network Contributor only as a fallback the customer may choose
SOAR integration: send response instructions (ADR-0032)Service Bus namespace and outgoing queueThe outgoing queueAzure Service Bus Data Sender
SOAR integration: receive outcomesIncoming queue in the same namespaceThe incoming queueAzure Service Bus Data Receiver

ION is never granted table, DCR, role-assignment, or resource-creation rights. The full SOAR queue setup, including the customer SOAR identity’s opposite-direction roles, is in SOAR Integration customer onboarding.

Ontinue steps

1

Confirm the hollow application is ready

Owner: Platform identity

Confirm the application is multi-tenant, declares no requiredResourceAccess, has no password or key credentials, and lists a FIC for every calling workload UAMI. Check the FIC count against the 20-credential limit.

$app = Get-MgApplication -Filter "displayName eq 'azsp-ontinue-ion-access-azure-rbac-prd-01'" `
  -Property "id,appId,signInAudience,requiredResourceAccess,passwordCredentials,keyCredentials"

$app.SignInAudience                  # AzureADMultipleOrgs
$app.RequiredResourceAccess.Count    # 0
$app.PasswordCredentials.Count       # 0
(Get-MgApplicationFederatedIdentityCredential -ApplicationId $app.Id).Count
2

Prepare the onboarding package

Owner: Customer onboarding owner

Deliver to the customer through the approved onboarding channel:

  • the organizations admin-consent URL for the hollow application, carrying the onboarding record’s state;
  • the requested capabilities, target resource types, and recommended scope and role for each;
  • the deploy.ps1 script for dark-web-monitoring log ingestion;
  • the custom role definitions below; and
  • this runbook’s customer steps and offboarding steps.

Do not include client or object IDs in public documentation; they are delivered in the package for the specific onboarding.

Customer steps

3

Consent to the hollow application

Owner: Customer identity admin

Open the admin-consent URL from the package:

https://login.microsoftonline.com/organizations/adminconsent?client_id={appClientId}&redirect_uri={registeredRedirect}&state={onboardingState}

Because the application requests no API permissions, a Cloud Application Administrator or Application Administrator can consent. Consent creates the enterprise application and grants nothing else.

4

Verify the returned tenant and state

Owner: Customer onboarding owner

ION verifies that the tenant and state returned to the registered redirect match the onboarding record. A mismatch, a missing state, or a tenant not on the record stops onboarding; nothing is activated.

5

Create the custom table and DCR with deploy.ps1

Owner: Customer Azure admin

For dark-web-monitoring incidents only. Run the Ontinue-provided deploy.ps1 against the Log Analytics workspace that Ontinue monitors. It creates the Data Collection Endpoint, the custom table (IonDigitalRiskProtection_CL), and the DCR that routes the stream to that table, assigns Monitoring Metrics Publisher at DCR scope to the hollow application’s service principal, and outputs the DCE ingestion endpoint and DCR immutable ID for the customer to return to their Cyber Advisor.

The customer owns these resources. ION receives only the endpoint and immutable ID it needs to call the Logs Ingestion API.

6

Create the custom roles when used

Owner: Customer Azure admin

Create least-privilege custom roles from the definitions in the package. Set AssignableScopes to the customer’s own subscription or resource group.

IP group role:

{
  "Name": "Ontinue ION IP Group Writer",
  "IsCustom": true,
  "Description": "Allows Ontinue ION to read and update the assigned IP group.",
  "Actions": [
    "Microsoft.Network/ipGroups/read",
    "Microsoft.Network/ipGroups/write"
  ],
  "NotActions": [],
  "DataActions": [],
  "NotDataActions": [],
  "AssignableScopes": [
    "/subscriptions/<subscriptionId>/resourceGroups/<resourceGroup>"
  ]
}

Log ingestion role (alternative to Monitoring Metrics Publisher):

{
  "Name": "Ontinue ION Log Ingestion",
  "IsCustom": true,
  "Description": "Allows Ontinue ION to send data through the assigned data collection rule.",
  "Actions": [],
  "NotActions": [],
  "DataActions": [
    "Microsoft.Insights/Telemetry/Write"
  ],
  "NotDataActions": [],
  "AssignableScopes": [
    "/subscriptions/<subscriptionId>/resourceGroups/<resourceGroup>"
  ]
}
New-AzRoleDefinition -InputFile ./ontinue-ion-ipgroup-writer.json
New-AzRoleDefinition -InputFile ./ontinue-ion-log-ingestion.json
7

Assign roles to the enterprise application at resource scope

Owner: Customer Azure admin

Assign each role only at the recommended resource scope, never at subscription or management-group scope.

Connect-AzAccount -Tenant <customerTenantId>

$sp = Get-AzADServicePrincipal -DisplayName "azsp-ontinue-ion-access-azure-rbac-prd-01"

# Dark-web monitoring log ingestion: the DCR (deploy.ps1 makes this assignment)
New-AzRoleAssignment -ObjectId $sp.Id `
  -RoleDefinitionName "Monitoring Metrics Publisher" `
  -Scope "/subscriptions/<sub>/resourceGroups/<rg>/providers/Microsoft.Insights/dataCollectionRules/<dcr>"

# Response: the IP group
New-AzRoleAssignment -ObjectId $sp.Id `
  -RoleDefinitionName "Ontinue ION IP Group Writer" `
  -Scope "/subscriptions/<sub>/resourceGroups/<rg>/providers/Microsoft.Network/ipGroups/<ipGroup>"

# SOAR integration: send to the outgoing queue only
New-AzRoleAssignment -ObjectId $sp.Id `
  -RoleDefinitionName "Azure Service Bus Data Sender" `
  -Scope "/subscriptions/<sub>/resourceGroups/<rg>/providers/Microsoft.ServiceBus/namespaces/<ns>/queues/<outgoingQueue>"

# SOAR integration: receive from the incoming queue only
New-AzRoleAssignment -ObjectId $sp.Id `
  -RoleDefinitionName "Azure Service Bus Data Receiver" `
  -Scope "/subscriptions/<sub>/resourceGroups/<rg>/providers/Microsoft.ServiceBus/namespaces/<ns>/queues/<incomingQueue>"

The customer may assign fewer capabilities, or none. They may also change or remove assignments at any time without coordinating with ION.

ION capability discovery

8

Discover assigned capabilities

Owner: Service team

ION records, per customer, which resources are authorized for which capability and degrades gracefully when a capability is not assigned. The calling workload acquires an ARM token for the customer tenant through its own UAMI (Workload identity federation) and reads its own effective permissions at each resource scope recorded in the onboarding package. This needs no additional role: the recommended roles do not include Microsoft.Authorization/roleAssignments/read, and ION does not ask for it.

GET https://management.azure.com/{scope}/providers/Microsoft.Authorization/permissions?api-version=2022-04-01
Authorization: Bearer {customer-tenant ARM token}

Compare the returned actions and dataActions, minus any notActions and notDataActions, with the capability’s required set. Take the scope only from the onboarding record, never from caller input.

Enable a capability only when the required actions are present at the recorded scope. Re-run discovery on a schedule and after any 403 from the target, and disable the capability for that resource when it is no longer present.

9

Record the activation

Owner: Customer onboarding owner

Record the consenting administrator, consent time, verified tenant, resources, assigned roles, discovered capabilities, and the next review date on the onboarding record.

Positive validation

  • The enterprise application exists in the verified customer tenant with no API permissions granted.
  • The workload acquires a customer-tenant ARM token through its own UAMI with no secret.
  • Dark-web monitoring: a test record posted to the DCE with the DCR immutable ID appears in the custom table.
  • IP group: ION reads the IP group and adds and then removes a documented test address, or uses the customer-agreed test group.
  • SOAR integration: a test instruction sent to the outgoing queue is received by the customer’s SOAR consumer, and a correlated test outcome placed on the incoming queue is received by ION.
  • Discovery reports exactly the capabilities the customer assigned.

Negative validation

Verify denial for each applicable case:

  • the service principal present with no role assignments: discovery reports no capability, and calls return 403;
  • a write to a second DCR, IP group, or queue that was not assigned;
  • a delete of the IP group, or a write to another resource in the same resource group;
  • a Service Bus send to the incoming queue or any other queue, or a receive from the outgoing queue;
  • an attempt to create a role assignment, table, or DCR;
  • a workload whose UAMI is not a FIC on the hollow application;
  • consent returned with a tenant or state that does not match the onboarding record; and
  • a token for a different customer tenant used against this customer’s resources.

Offboarding and revocation

1

Disable the capabilities in ION

Owner: Customer onboarding owner

Disable the onboarding record’s Azure RBAC capabilities first so ION stops scheduling calls, and stop affected jobs.

2

Remove role assignments and Ontinue-template resources

Owner: Customer Azure admin

Remove every role assignment to the enterprise application:

Get-AzRoleAssignment -ObjectId $sp.Id | Remove-AzRoleAssignment

For dark-web monitoring, the Ontinue offboarding.ps1 script removes the DCR and Data Collection Endpoint created by deploy.ps1, and optionally the custom table (which deletes its historical data).

3

Delete the enterprise application

Owner: Customer identity admin

Remove-AzADServicePrincipal -ObjectId $sp.Id

Deleting the enterprise application revokes the hollow path for every ION workload at once, independent of FICs on the Ontinue side.

4

Prove access is gone and close the record

Owner: Service team

Acquire a token for the customer tenant through the hollow application and confirm it fails, or that every previously allowed operation returns 403. Mark the onboarding record offboarded with the customer’s confirmation and the negative test results.

Customer-controlled revocation

The customer can narrow or revoke any capability at any time by removing a role assignment. ION treats the resulting 403 as a capability change, not an incident, and re-runs discovery.

Ownership and evidence

Platform identity owns the hollow application and its FICs. The customer owns consent, the table and DCR, custom roles, and role assignments. Service teams own discovery and graceful degradation. The customer onboarding owner owns the onboarding record. Retain the consent verification (tenant and state match), the customer’s role-assignment confirmation, discovery results, positive and negative tests, and offboarding evidence. Never retain tokens.

Related pages

  • Customer Azure RBAC workflow
  • Applications and authorization
  • Workload identity federation
  • Customer onboarding
  • Lifecycle and operations
  • ADR-0011 — Customer-tenant Azure RBAC via the hollow app

On this page

  • Prerequisites
  • Access model
  • Recommended roles
  • Ontinue steps
  • Customer steps
  • ION capability discovery
  • Positive validation
  • Negative validation
  • Offboarding and revocation
  • Ownership and evidence
  • Related pages
PreviousApplication Roles
NextCustomer Identity Onboarding
Edit on GitHubSecurity