ADR-0032 — Customer-owned Azure Service Bus for SOAR Integration
Forces / Drivers
- Keep privileged response-action credentials and execution authority in the customer tenant.
- Exchange response instructions and outcomes asynchronously across a tenant boundary with durable buffering and explicit correlation.
- Reuse Entra ID, Workload Identity Federation, and Azure RBAC rather than operating a separate application-signing trust model.
- Scope ION access independently by direction and resource.
- Avoid operating public customer endpoint registration, verification, signing-key rotation, retry, and dead-letter infrastructure in ION.
- Accept additional customer-side Azure infrastructure where customers have the operational maturity to provision and support Service Bus and SOAR workflows.
Context
SOAR Integration delegates eligible response actions to customer-operated
automation. ION must deliver a structured instruction without acquiring the
credentials used to act on Defender or another customer security system. The
customer must then return a correlated success, failed, or rejected outcome.
The original platform-webhook exploration considered generic HTTP webhooks and Azure Event Grid because they provide broad compatibility and push delivery. That model creates another trust and operations surface: customer listener registration and validation, public endpoint exposure, per-customer HMAC keys, secure key storage and rotation, replay protection, endpoint health, retry policy, and webhook dead-letter recovery. It also requires ION to define and operate application-level message authenticity independently of Azure resource identity.
The initial customer profile can operate Azure resources and customer-side SOAR workflows. The platform can therefore favor a stronger Azure-native identity and broker boundary over the lower infrastructure requirement of a generic HTTP listener.
Decision
Use two customer-owned Azure Service Bus queues as the V3 SOAR Integration transport:
- ION sends response instructions to the customer’s outgoing queue.
- ION receives correlated status messages from the customer’s incoming queue.
- The customer owns the namespace, queues, SOAR consumers and producers, queue policy, execution identity, and execution evidence.
- ION authenticates through the hollow multi-tenant Entra application and Workload Identity Federation defined by ADR-0011.
- The customer grants ION
Azure Service Bus Data Senderonly on the outgoing queue andAzure Service Bus Data Receiveronly on the incoming queue. - CloudEvents provide versioned message contracts, request IDs, and outcome correlation. Service Bus, Entra ID, TLS, and Azure RBAC provide transport trust; customer-boundary messages do not require per-customer HMAC signatures.
- Delivery is asynchronous and at least once. Customer automation must deduplicate before privileged side effects.
Generic HTTP webhooks and Event Grid delivery are not part of this decision. A future transport requires a separate ADR and must preserve the authority, identity, idempotency, correlation, timeout, audit, and recovery properties established here.
Alternatives considered
Generic HTTP webhooks
HTTP offers broad SOAR compatibility, push semantics, and a lower Azure infrastructure requirement for customers. It was rejected for the V3 capability because ION would need to operate listener registration and ownership, endpoint validation, public-network controls, application-level signing, per-customer key lifecycle, replay protection, retry classification, dead-letter storage, and redrive. Those controls duplicate capabilities already available through Entra ID, Azure RBAC, and Service Bus.
Azure Event Grid delivering to customer HTTP endpoints
Event Grid could provide managed delivery and retry behavior, but it does not remove the customer endpoint, authentication, signing-key, replay, tenant lifecycle, and support decisions. It was rejected because it leaves the load-bearing trust model unresolved while adding another delivery service.
Customer polling an ION API
An ION API would avoid customer-hosted ingress but moves polling, credentials, pagination, checkpointing, and missed-poll recovery to every customer integration. It was rejected because it increases integration variance and latency and does not provide the same durable bidirectional boundary.
Direct execution by ION
Direct execution offers the shortest action path but requires ION to hold privileged customer permissions. It was rejected because it weakens customer sovereignty, segregation of duties, and blast-radius containment.
Rationale
Customer-owned Service Bus queues provide the best fit for the selected customer and security model:
- Identity is Azure-native. The integration reuses Entra token issuance, Workload Identity Federation, and resource-scoped Azure RBAC.
- No signing-key estate is required. ION does not generate, distribute, store, rotate, or revoke per-customer HMAC secrets for this boundary.
- Permissions are directional and revocable. Customers independently control send and receive access at queue scope.
- Delivery is durable. Broker retention, PeekLock settlement, retries, and dead-letter queues decouple ION availability from customer SOAR availability.
- The customer retains sovereignty. Customer automation reauthorizes and executes the instruction using customer-owned credentials.
- Operational responsibility is explicit. The stronger managed boundary is chosen at the cost of requiring customers to provision and operate Azure Service Bus and a mature SOAR consumer.
Consequences
Positive
- No public HTTP listener or inbound customer firewall opening is required for ION.
- No per-customer application-signing key lifecycle is required.
- Cross-tenant access uses short-lived Entra tokens and queue-scoped RBAC.
- Durable queues absorb temporary outages and support asynchronous completion.
- Customer and ION responsibilities are separated at an Azure resource boundary.
Negative
- Customers must have the Azure and SOAR maturity to provision, secure, monitor, and support a Service Bus namespace and two queues.
- Customer onboarding includes admin consent, RBAC assignments, queue provisioning, and network allowlisting where namespace restrictions are enabled.
- ION cannot directly observe customer queue depth, queue configuration, customer DLQs, or consumer health.
- Inbound outcomes are currently polled, adding bounded completion latency.
- At-least-once delivery requires customer-side idempotency before privileged side effects.
Neutral / follow-ups
- Isolate Machine is available; Unisolate Machine and Run Antivirus Scan remain preview capabilities over the same transport.
- Notifications, escalations, and distributed investigations are outside this ADR.
- Any proposal to add HTTP, Event Grid, or another transport must be decided in a new ADR rather than treated as an open part of this architecture.
WAF Pillar Impact
- Primary pillar: Security — secretless cross-tenant authentication, customer sovereignty, and directional least privilege.
- Secondary pillars: Reliability and Operational Excellence — durable buffering and explicit ownership, balanced against customer provisioning and shared support.
- Trade-offs: Higher customer-side Azure maturity and infrastructure are accepted to avoid public listener exposure and a platform-managed signing-key estate.
References
- SOAR Integration architecture
- SOAR Integration implementation
- SOAR Integration customer onboarding
- Architecture: ION Platform Webhook
- Identity Management: Azure RBAC Permissions
- Pigeon Bridge: ION Service for Customer SOAR Integration
Related ADRs
- Depends on: ADR-0011 — Customer-tenant Azure RBAC via hollow multi-tenant app and Workload Identity Federation
- Related: ADR-0005 — CloudEvents and AsyncAPI
- Related: ADR-0008 — Shared Azure Service Bus event backbone
- Supersedes the transport direction described by neither ADR-0011 nor ADR-0028; this record makes the SOAR Integration transport choice explicit.