Ticket domain model
The current Ticket boundary is a ServiceNow/Ticketing anti-corruption layer and synchronization process manager. It translates external ticket events into normalized ION ticket events and coordinates selected changes between Ticketing and the Incident domain.
The owning integration boundary is Watchtower.
Ubiquitous language
| Term | Meaning in this domain |
|---|---|
| Normalized ticket | An IonSecurityTicketData event payload/snapshot derived from external ticket state; not a locally persisted aggregate |
| Anti-corruption layer | The translation of external SnowTicket* events into normalized ION ticket contracts |
| Process manager | The event-driven coordination that reacts to events and emits commands to other authorities, without persisting local state |
PatchTicketCommand | The external ticket mutation command, carrying PatchTicketData, sent to the Ticketing service |
| Normalized states | The IonTicketState values (New, Pending, WaitingForCustomer, WorkInProgress, Closed, Investigation) used by ION ticket events |
| Severity | The normalized severity of a ticket (Critical, High, Medium, Low, Informational) |
| Verdict | The normalized closure verdict (TruePositive, BenignPositive, FalsePositive, Undefined, Undetermined) |
| Normalized ticket event | An ion.event.securityticket.<outcome>.v1 integration event; its presence does not imply a local event store |
Authority and responsibility
| Concern | Authority or owner |
|---|---|
| Persisted ticket state and workflow | ServiceNow/Ticketing |
| Normalized ION ticket event contracts | Ticket boundary |
| Translation of ServiceNow changes | Ticket boundary |
| Cross-domain synchronization policy | Ticket boundary |
| Incident state and incident comments | Incident domain |
| Ticket mutation execution | External Ticketing consumer of PatchTicketCommand |
The boundary does not accept a local command, append a ticket event, and then project that event to ServiceNow. Instead, it observes provider events, emits normalized integration events, and sends patches to the external Ticketing service.
Domain status
This is a transitional integration boundary, not an event-sourced domain. There is no local ticket aggregate, ticket event store, ticket repository, or ticket operational projection; ServiceNow/Ticketing remains authoritative for persisted ticket state. See Implementation for the full current-vs-target breakdown and the older Ticket domain reference.
Static domain model
This page describes the static structure of the Ticket boundary: the normalized ticket payload, its states, value lists, the emitted command pattern, and the normalized events. It is intended to be technology-agnostic — see Implementation for why none of this is backed by a local aggregate or event store, and Flows for the dynamic synchronization behavior.
Normalized ticket model
IonSecurityTicketData is an event payload/snapshot, not an aggregate root. The
boundary holds no local ticket aggregate; this shape carries normalized state inside
integration events.
| Concept | Implemented fields |
|---|---|
| Identity | Workspace ID, linked incident ID, ServiceNow number, ServiceNow system ID |
| Work item | Title, description, caller ID, customer reference, SOC owner |
| Workflow | State, severity, verdict, hot and sticky flags |
| Analysis | Interpretation, observation, closure notes, classification reason |
| Escalation | Group, level, deadline |
| Event metadata | Sender, sender type, ETag, update time, and selected previous values |
Domain ERD
The following is conceptual only; IonSecurityTicketData is an event payload, and the
authoritative record lives in ServiceNow/Ticketing.
Normalized states
| ION ticket state | Use |
|---|---|
New | Initial normalized state |
Pending | Queued after creation or mapped from incident state |
WaitingForCustomer | Waiting for customer response |
WorkInProgress | Active analyst work |
Closed | Closed ticket |
Investigation | Investigation-oriented external state |
Archived is represented by IonSecurityTicketArchivedEvent; it is not a value in
IonTicketState.
Value lists
- Severity values are
Critical,High,Medium,Low, andInformational. - Verdicts are
TruePositive,BenignPositive,FalsePositive,Undefined, andUndetermined.
Commands
Actual command pattern
There is no UpsertIonSecurityTicketCommand, CloseIonSecurityTicketCommand, or
family of native UpdateIonSecurityTicket*Command handlers in the current boundary.
The boundary emits commands to other authorities rather than to a local aggregate.
| Destination | Actual commands emitted |
|---|---|
| External Ticketing | PatchTicketCommand carrying PatchTicketData |
| Incident domain | UpdateIonSecurityIncidentHasTicketCommand, UpdateIonSecurityIncidentStatusCommand, UpdateIonSecurityIncidentSeverityCommand, UpdateIonSecurityIncidentCustomerReferenceCommand, CloseIonSecurityIncidentCommand |
| Incident comments | UpsertIonSecurityIncidentCommentCommand |
Common PatchTicketData fields include state, severity, verdict, title, description,
customer reference, closure notes, and IsHot. Patches may include preconditions to
avoid applying delayed transitions.
Events
Actual normalized events
Wire types follow ion.event.securityticket.<outcome>.v1.
| Event | Produced from current provider flow |
|---|---|
IonSecurityTicketCreatedEvent | Yes |
IonSecurityTicketTitleUpdatedEvent | Yes |
IonSecurityTicketDescriptionUpdatedEvent | Yes |
IonSecurityTicketStateUpdatedEvent | Yes, except closed and archived |
IonSecurityTicketClosedEvent | Yes |
IonSecurityTicketArchivedEvent | Yes |
IonSecurityTicketSeverityUpdatedEvent | Yes |
IonSecurityTicketVerdictUpdatedEvent | Yes, while not closed |
IonSecurityTicketCustomerReferenceUpdatedEvent | Yes |
IonSecurityTicketSocOwnerUpdatedEvent | Yes |
IonSecurityTicketInterpretationUpdatedEvent | Contract exists; no active registry mapping |
IonSecurityTicketObservationUpdatedEvent | Contract exists; no active registry mapping |
IonSecurityTicketSlasCancelledEvent has a schema in the API tree, but no current
application flow implements the reference model’s SLA-cancellation command.
See the V3 event model for common event metadata. These ticket events are integration events; their presence does not imply a local event store.