Where a SOAR Dry Run Can Still Change Production
Build a SOAR dry run that contains connector effects, detects fixture drift against isolated services, and makes release reviews depend on explicit plan diffs.
A dry run can report zero connector writes while a webhook worker delivers a real notification. An inline helper can enqueue an event on a shared broker outside the executor, leaving the connector trace clean. The worker then delivers with its own credentials, even after the run closes. The boundary has to follow the message as far as the destination.
Run the same versioned policy in production and simulation with different connector bindings. Two fictional cases exercise distinct properties of that design. An isolated ticket update tests where a notification actually lands. A containment replay tests whether the policy keeps heightened monitoring in place when a completed isolation job arrives alongside a snapshot that predates it.
What the isolation plan authorizes
Assign the most consequential effect type. Record secondary effects in the connector contract so the runner can check each destination.
- Notify covers delivery to a subscriber or person, including a ticket write that fires a webhook. When a write triggers delivery beyond the system the connector called, classify it as notify and record mutation as a secondary effect. Reverting the ticket edit cannot recall a delivery.
- Mutate covers other operations that change remote state or start work.
- Read covers operations that only retrieve remote data.
- None covers local computation without external effects.
Record completion separately. An asynchronous operation exposes completion after the initial response. Both a read and a mutation can have that completion model.
| Plan field | Illustrative isolation entry |
|---|---|
| Operation and target | Endpoint connector, set isolation on endpoint E-17 in tenant T-4 |
| Intended state and precondition | Isolated. Dispatch requires an unexpired approval bound to E-17 and T-4 and a match against the endpoint identity and state version in the plan. |
| Effect type and completion | Mutate, asynchronous |
| Required authority and allowed test routes | Replay intercepts the call without remote credentials. Isolated integration redirects it with isolation permission scoped to the isolated service. Live execution is blocked. |
| Response and observable effects | The initial response carries a job identifier. Verification requires a matching completion and a later source observation that reports isolation as active for the same endpoint. The isolated service's action log corroborates dispatch. |
| Failure contracts | Stale endpoint snapshot. Preserve its source sequence and withhold verification when it precedes job completion. Completed job without target reference. Withhold verification when the completion cannot bind to the planned endpoint. For either failure, escalate if verification still lacks sufficient evidence at the deadline. |
| Verification deadline | The containment service-level objective sets the deadline for automated verification. The approval expiry governs dispatch of the isolation request. Status reads use their own read authority. |
| Dependent effect | Propose ending heightened monitoring only after verification. Classify and route that operation independently. |
Connector names and HTTP verbs give weak evidence about these fields. An appliance can expose a file-fetch operation as a GET that starts a collection job. A paging acknowledgement can end an escalation and suppress the next page. A ticket field update can fire a webhook even when the playbook treats the edit as bookkeeping. For a vendor black box, review the operation documentation and subscription settings, then invoke it against an isolated target with an empty baseline and inspect the resulting job log, audit events, and delivery logs. Treat a quiet audit log as inconclusive if the target does not log that operation or if the observation window ends before its background jobs can run. The isolated runner's outbound access starts denied and is opened only for the approved test dependencies.
How the runner routes an operation
The orchestrator binds the simulation executor and connector clients when it creates the run. It resolves the mode, destination policy, and credential scope from its own configuration. A step receives the bound executor, so changing a context field cannot rebind the client. Keep production mutation and notification credentials out of both the runner and its workers. Otherwise, a background consumer can restore authority that the executor took away.
The executor rejects missing classifications and disallowed routes before dispatch. Replay intercepts calls with an approved fixture and emits synthetic observations into the trace. Isolated integration requires an approved isolated destination and a credential scoped to the operation there. A notify test that claims delivery coverage must route the subscriber to a test sink. Authorized live read requires a verified read contract, an allow-listed destination, and a scoped read credential. A verified read can use all three modes. The isolation write can use replay or isolated integration. An unclassified operation has no eligible route.
Figure 1 — Circles show the eligible routes. A verified read can use any mode, an isolation write can use replay or isolated integration, and squares close every route to unclassified operations. Illustrative route policy, not measured data.
Inline scripts and raw HTTP utilities can bypass the executor. Apply deny-by-default egress to the runner and any worker that handles its jobs. Enforce destination rules on redirects and block direct connections around the proxy. Where environments share a broker, grant test principals access only to their isolated queues, including retry and dead-letter routes. The broker's address identifies the server, so an egress rule for that address alone grants no assurance about which consumer receives the event.
Follow the ticket event to the sink
In the fictional ticket run, the plan classifies the ticket edit as notify because changing its status triggers a webhook. The executor writes to the isolated ticket service. That service places the event on the isolated queue. The isolated worker consumes it, delivers to the test sink, and records completion after the sink acknowledges receipt. The trace assertion joins the ticket audit entry, queue consumption record, worker completion and sink receipt on the event ID. Require the completion to identify the sink and the receipt to carry the expected ticket ID and status. A worker can acknowledge the broker message and then crash before delivery. The sink receipt closes that gap.
An accepted delivery followed by a lost acknowledgement can leave a scheduled retry after the receipt appears. Check the final disposition of the event and its retry route before closing the run. If the harness cannot account for pending work or correlate the worker completion and sink receipt, the delivery assertion stays open.
Run deliberate boundary probes separately from the release candidate and record the expected denials. An unclassified connector call should stop in the executor before dispatch. An inline request to a canary destination should produce a network denial and no matching delivery in the canary audit log. Check the canary log through its known ingestion window so a delayed audit record cannot be mistaken for a blocked request.
What a completed job proves
In the illustrative baseline, the first status observation reports the isolation job as pending. The action plan still calls for heightened monitoring. The next status reports the same job complete. An endpoint read captured after that completion confirms that isolation is active for E-17 in T-4. The expected diff adds exactly one proposal to end heightened monitoring, linked to the verification event. The fictional service scopes job identifiers to endpoints. Match the completion on tenant, endpoint, and job identifier, then bind the snapshot to the same tenant and endpoint.
In the second replay, the job status is complete, but the endpoint response supplies stale evidence. The snapshot reports isolation as active and arrives after completion, yet its source sequence precedes the job completion sequence. The illustrative connector exposes a comparable service-side event sequence across the job and endpoint records. Check that the adapter preserves the source sequence and that policy requires a later endpoint observation before verifying isolation. A local receipt timestamp shows when the runner learned something. It cannot establish when the service observed the endpoint.
Advance the virtual clock to the verification deadline without supplying a newer observation. The expected diff keeps heightened monitoring in place and adds an analyst escalation proposal. The analyst can inspect the endpoint through an independent management surface and decide whether another containment action is warranted. Include the completion record and stale observation in the escalation so the analyst can see why automation withheld verification. Inject a fresh observation after the deadline and check that it remains visible in the trace while the automated plan stays escalated. The analyst now owns that decision.
A third replay changes the endpoint identity before dispatch. The expected diff withdraws the isolation request and proposes a fresh decision for the replacement endpoint. Assert zero isolation dispatches and no proposal to end heightened monitoring. Match each diff on canonical target, dependencies, and timing predicates. Normalize fixture-generated identifiers only after checking that each reference resolves to its intended operation.
Coverage stops at the last asserted record
In Figure 2, the baseline checks that pending status preserves monitoring and verified isolation proposes ending it. The stale-observation replay checks deadline escalation and the stale endpoint snapshot contract, including preservation of the source sequence. The replacement-target replay checks the identity guard. The isolated ticket run alone checks delivery through worker completion and sink receipt. The three replays cover four policy branches and one of two failure contracts. The completed job without target reference remains unchecked. Supply a fresh snapshot for the planned endpoint and a completion from the service's shared status stream. Strip the endpoint identifier from that completion. The remaining job identifier fits jobs on multiple endpoints, so assert that monitoring stays in place and the deadline triggers escalation.
Figure 2 — Read each cell as 1 for an assertion checked in that run and 0 for unchecked. The first four rows track policy branches, the next two track failure contracts, and the last tracks delivery. Only the isolated ticket run checks delivery, and no run checks a completed job without a target reference. Illustrative coverage for the fictional cases, not measured data.
A fixture can pass long after the live connector has changed. Run contract tests through the production adapter against an isolated service on connector upgrades and on a schedule. Compare sanitized responses with replay fixtures at the wire and normalized-event boundaries. Check status enums, missing versus null job identifiers, and the scope of event sequences. A service can preserve the sequence field while changing its scope from service-wide to per endpoint or per stream. Verify the documented ordering guarantee and exercise it across the job and endpoint reads before using the sequence as a verification predicate. Preserve field presence and types when redacting, and retain the connector revision and observation date. If the isolated service starts omitting the target reference, a parser that correctly reports insufficient evidence still leaves the playbook without a usable verification signal.
The release record ties each assertion to its policy revision, fixture revision, run mode, and observed event. A replay trace can establish that ending heightened monitoring depends on verified isolation. Pair the isolated service log with the adapter trace to see whether the adapter preserved the evidence the service supplied. For an authorized live read, capture the sanitized endpoint state, destination, and source observation time. That read shows the endpoint's state only as of the observation.
When the release can move
An unclassified operation in a release candidate fails the gate even when the executor blocks it. Review the failure contracts for every enabled connector and require passing evidence for the conditions the release depends on. The fictional slice leaves the containment release blocked until the missing-target test passes. A correct plan establishes which actions the policy would take. Release also requires network, worker, and target records that account for where each dispatched effect went.