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. V3 Structural Design
  4. ION v3 domains
  5. Remediation domain
  6. Remediation domain model

Remediation domain model

architecturev3

Remediation domain model

The Remediation domain is intended to own remediation plans, task decisions, and the deduplicated execution of security actions. It turns an investigation run’s intent into concrete, policy-gated, and deduplicated action executions while keeping an authoritative audit of every decision and attempt.

The service is owned by soc-team.

This is a target domain. The repository currently contains a typed contract package and provisioned infrastructure, not a running bounded-context application. There are implemented contracts (strict Pydantic snapshots, CloudEvent commands, and events) and a separate, richer target design. Throughout this page the implemented contract is kept rigorously separate from the target design; target behavior is never presented as implemented runtime.

Ubiquitous language

TermMeaning in this domain
RemediationPlanA plan for one investigation run: a definition status, an execution status, and references to its tasks
PlanTaskA plan’s reference to a task: task ID, trigger, and required flag
RemediationTaskA task’s own record: trigger, required flag, action, execution status, and audit anchor across retries and reversion
TaskDefinitionThe authored shape of a task — task ID, trigger, required flag, and action — used when composing a plan
RemediationActionThe typed action a task performs, modeled as a union of IncidentAction, ResponseAction, and ManualAction families
ActionExecutionThe physical execution of an action, keyed by a semantic deduplication fingerprint (target only)
ExecutionAttemptOne physical attempt of an ActionExecution; retries and overrides add new attempts rather than mutating history (target only)
Deduplication fingerprintThe versioned semantic key that identifies an ActionExecution and prevents racing plans from dispatching the same effect twice (target only)
TriggerWhy a task runs within a plan: Primary, OnSuccess, or OnFailure
Attempt modeThe authority/bypass of an attempt: Normal, Forced, or PreApproved (target only)

Ownership boundaries

Context or systemRemediation ownsOther side ownsCurrent status
Investigation automationAccepted remediation plan and task historyInvestigation/run identity and findingsPlan command source contracts implemented
IncidentDecision intent and execution auditIncident lifecycle and state changeTarget adapter only
ConveyorDedup ledger, attempt mapping, approval evidence, supersede sagaRules of engagement and physical response executionTarget adapter only
Customer CollaborationValidation of approval against remediation stateAuthenticated communication and returned customer intentTarget integration only
Cosmos DBIntended aggregate event streamsPlatform hostingInfrastructure provisioned; repository absent
Service BusRemediation command/event contractsShared transportTopics provisioned; processors absent

Domain status

Only typed contracts and provisioned infrastructure exist today; there is no runtime application. See Implementation for the full Implemented / Provisioned / Absent evidence breakdown, the provisioned topology, and the open target-design decisions.

Static domain model

This page describes the static structure of the Remediation domain. It is split into two clearly separated halves:

  • Implemented contract model — the strict snapshots, typed action union, command/event contracts, and enumerated states that exist today as validated wire contracts.
  • Target domain design — the richer three-aggregate design. Every target section is target-only and not enforced by any current aggregate.

It is intended to be technology-agnostic — see Implementation for code and infrastructure references.

Implemented contract model

These are validated snapshots and wire contracts, not executable aggregates. No runtime loads streams, enforces transitions, or appends events.

Plan snapshot

TypeImplemented fields
RemediationPlanID, investigation-run reference, definition status, execution status, task references, timestamps, UUID ETag
InvestigationRunRefWorkspace ID, security incident ID, investigation ID, run ID, and source system
PlanTaskTask ID, trigger, and required flag

Implemented plan states:

  • Definition: Open, Sealed.
  • Execution: Pending, Running, Succeeded, Failed, Cancelled.
  • Task trigger: Primary, OnSuccess, OnFailure.

The current snapshot does not include the design’s origin actor as a separate value or a separate IncidentRef; workspace and incident IDs are embedded in InvestigationRunRef.

Task snapshot

TypeImplemented fields
TaskDefinitionTask ID, trigger, required flag, and action
RemediationTaskTask ID, trigger, required flag, action, execution status, timestamps, and UUID ETag

Implemented task statuses are Created, PendingApproval, Accepted, Discarded, Rejected, Cancelled, AwaitingManualExecution, Executing, Completed, Failed, and Reverted.

The current task snapshot does not encode plan ID, activation state, Skipped, policy evaluation, origin actor, entity list, execution key or attempts, decision reasons, manual evidence, or reversion metadata.

Typed action union

Action familyImplemented content
IncidentCloseIncident, ChangeSeverity
ManualTitle, instructions, and performer: Cyber Defender, customer, or either
Host responseAntivirus, isolate/unisolate, restrict/unrestrict app execution, automated investigation
Account responseMark compromised, dismiss risk, revoke sign-in session
Email responseSubmit email or URL threat, remediate analyzed email
Indicator responseBlock/unblock file hash, IP, domain, URL, certificate, or firewall IP

Response actions use capability-specific parameters and typed account, host, mail, IP, URL, DNS, file-hash, and certificate entities. Escalate, customer approval evidence, manual execution evidence, and execution-attempt models are not currently implemented.

Implemented commands

CloudEvent commandPayload intentCurrent source restriction
CreatePlanCreate an open deterministic plan, optionally with tasksGutenberg, Cerebro, or Ziege
AddTaskAdd a task definition to a planGutenberg, Cerebro, or Ziege
SealPlanClose plan compositionGutenberg, Cerebro, or Ziege
ApproveTaskApprove a task waiting on remediation policyNot constrained in the typed contract
RejectTaskReject a task, optionally with a reasonNot constrained in the typed contract
ConfirmManualExecutionConfirm human completionNot constrained in the typed contract
RejectManualExecutionReject requested manual workNot constrained in the typed contract
CancelTaskIntentionally stop a taskNot constrained in the typed contract
RevertTaskRequest compensation for a completed taskNot constrained in the typed contract

SubmitPlan, DiscardTask, SupplyCustomerApproval, and ForceReexecuteTask are part of the target design but absent or commented out in the current contract package.

Implemented events

CloudEvent eventAggregate data carried
PlanCreatedFull RemediationPlan snapshot
TaskCreatedFull RemediationTask snapshot
TaskAddedUpdated plan snapshot and task ID
PlanSealedUpdated plan snapshot
TaskDiscardedUpdated task snapshot and reason
CommandRejectedMessage ID, reason code, reason, rejection time, and provenance

Each aggregate event validates that the CloudEvent ID equals the event-data ETag and the embedded snapshot ETag. IonMetadata retains the source command or raw payload, command hash, Service Bus IDs, event position/count, and idempotency key.

Target domain design

The target model separates plan intent, task decisions, and physical execution into three aggregate streams. Everything in this half is target design only; no current aggregate enforces it.

Target aggregateAuthorityWhy separate
RemediationPlanComposition, sealing, task references, and conditional branch selectionTask execution can progress concurrently without contending on the plan stream
RemediationTaskPolicy result, approval, manual/automatic lifecycle, outcome, and compensation linkStable audit anchor across retries, supersession, and reversion
ActionExecutionSemantic deduplication key and all physical execution attemptsPrevents racing plans from dispatching the same effect twice

Target plan invariants

These rules are target design only; no aggregate methods currently enforce them.

  1. One plan exists per investigation ID and run ID.
  2. Tasks can be added or discarded only while definition status is Open.
  3. Sealing makes completion and branch selection decidable.
  4. OnSuccess activates only after every required primary task completes.
  5. OnFailure activates when a required primary task reaches an unsuccessful terminal state.
  6. Exactly one conditional branch is selected; the other branch becomes Skipped.
  7. Array order does not imply execution order.
  8. Autonomous automation submits and seals atomically; deterministic automation uses create, repeated add/discard, then seal.

Target task lifecycle

This lifecycle is target-only and is not enforced by the implemented task snapshot.

Target rules distinguish policy denial from rejection: denial requires a human gate, while only a human rejects. Instrumental cancellation during execution supersession does not cancel the task.

Target execution and deduplication

ActionExecution is a target-only aggregate keyed by a versioned semantic fingerprint containing:

  • workspace or customer scope;
  • action type;
  • normalized target identities;
  • effect-changing parameters.

It deliberately excludes plan/task IDs, actor display data, comments, and timestamps. Each retry or override is a new ExecutionAttempt; successful history is not mutated.

Attempt modeAuthority and bypass
NormalBypasses nothing
ForcedPrivileged Cyber Defender; bypasses remediation dedup only and requires a reason
PreApprovedCustomer authority; bypasses Conveyor’s rules-of-engagement wait only

The target Conveyor adapter keeps external execution phase on the attempt rather than copying it into task state. Remediation owns deduplication, attempt identity, audit, and the cancel/re-initiate supersede saga; Conveyor owns rules-of-engagement evaluation and physical response-action execution.

Target command and event expansion

These additions are target design only and are not part of the current contract package.

AreaTarget additions beyond current contracts
Plan commandsSubmitPlan, DiscardTask, plan cancellation
Execution commandsSupplyCustomerApproval, ForceReexecuteTask
Plan eventsTask discarded, branch selected, plan completed or cancelled
Task eventsPolicy evaluated, approved, rejected, accepted, execution requested, completed, failed, cancelled, skipped, reverted
Execution eventsExecution claimed, attempt dispatched, external state changed, customer approval supplied, supersede started/aborted, attempt succeeded/failed/cancelled, forced attempt requested

Related pages

  • Domain portfolio
  • Implementation
  • Event model
  • Investigation domain
  • Customer Collaboration domain

On this page

  • Ubiquitous language
  • Ownership boundaries
  • Domain status
  • Static domain model
  • Implemented contract model
  • Plan snapshot
  • Task snapshot
  • Typed action union
  • Implemented commands
  • Implemented events
  • Target domain design
  • Target plan invariants
  • Target task lifecycle
  • Target execution and deduplication
  • Target command and event expansion
  • Related pages
PreviousRemediation domain implementation
NextTicket domain
Edit on GitHubSecurity