Architecture / Decision records / ADR-HIS-085
ADR-HIS-085 The D02-ISE contracts of slice RC-3: one API per platform unit, registry identifiers for interfaces, message exceptions beside event exceptions, recording APIs for the platform's tools, and owning-domain labels with a colon¶
| Status | Accepted |
| Decided | 2026-11-27 by session RC-3-S03 |
| Record | Drafted 2026-11-27; approved 2026-11-30 by the Enterprise Architecture Board |
| Where the rule lives | contracts/ise/api/integration.v1, contract-catalogue.v1, security-monitoring.v1, vulnerabilities.v1, recovery.v1 (version 1.0); releases.v1, secrets.v1, service-catalogue.v1 1.1; the ten events of slice RC-3 and SecurityAlertRaised 1.1 in contracts/ise/contract.yaml; contracts/ise/README.md; e2e/scenarios/RC-3/ |
Context¶
Slice RC-3 brings 14 D02-ISE requirements in eight modules: - the integration engine and its standards exchange (MOD-ISE-003); - the contract catalogue (FR-ISE-GWY-002); - node authentication (FR-ISE-KEY-003); - change records (FR-ISE-REL-003); - security monitoring (FR-ISE-OBS-002); - vulnerability management (FR-ISE-SUP-002); - backup, disaster recovery and downtime (MOD-ISE-009); - the capacity model (FR-ISE-PLT-003).
RC-1-S02 fixed the shape of the ISE contracts: enterprise scope, refusals as validation-failed naming the unmet precondition, and Idempotency-Key on commands. The contracts of ADM (ADR-HIS-083) and ESS (ADR-HIS-082) for RC-3 already name D02 interfaces, with made-up identifiers in two different forms. The specification leaves these questions of build open:
- How the platform operations API IF-ISE-007 is cut, now that it covers eight modules served by eight platform units.
- What identifies an interface registration (DE-ISE-007
interface_idis a "unique string"). The other domains need the identifier to name a consumer or a destination. - Where quarantine, dead letters and replay of messages live. The event-operations API of RC-1 holds them for events, and its replay target requires a subscription.
- How an API represents work that the platform's tools do: backups, restores, failovers, scans, conformance suites.
- The form of names that an owning domain gives but does not register in D10: a contract name, a downtime summary type, a back-entered entry type.
- When DowntimeEnded is published. EVT-ISE-017 says "window opened or closed", the window closes only after reconciliation, and back-entry needs the end of the downtime.
- How SecurityAlertRaised 1.0, whose severity list is closed at low to critical, meets the five severities of FR-ISE-OBS-002 part 4.
- How ReconciliationExceptionRaised is "ordered per business identifier" when the envelope keys a topic by the aggregate.
- How the FHIR facade's capability statement (FR-ISE-INT-003 AC-03) is published, given that the facade is FHIR and not a
/v1/API.
Decision¶
- One API per platform unit. The modules of RC-3 get one API each, served by one unit:
- integration.v1:
platform/integration-engine; - contract-catalogue.v1:
platform/gateways; - security-monitoring.v1:
platform/observability; - vulnerabilities.v1:
platform/supply-chain; - recovery.v1:
platform/backup-recovery.
Requirements on an RC-1 API extend it as a minor version: - releases.v1 1.1 for change records; - secrets.v1 1.1 for node authentication; - service-catalogue.v1 1.1 for capacity and scaling.
Two build sessions never serve one API.
2. Interface identifiers are <owning domain>-<name>, lowercase (adm-adt-lis-01, ise-siem-wazuh; integration.v1 InterfaceId). The prefix is the domain that owns the business content. IF-ISE-00n stays the name of an interface specification of D02-ISE 8.4, which many registrations follow. The examples of ESS (IF-ISE-006) and ADM (IF-ISE-ADT-LIS-01) are repaired to this form. contracts/ise/scripts/cross-references.ts checks every interfaceId, and every consumerId of kind interface, in the contracts of the slice.
3. Message exceptions beside event exceptions. integration.v1 holds the quarantine, dead letters and replay of messages, with the same delivery states (D02-ISE 4.3) and the same replay controls (BR-ISE-006, FR-ISE-INT-005 part 7) as event-operations.v1 for events. One replay resource for both would need event-operations.v1 to make its subscription target optional, which breaks its readers. InterfaceMessageDeadLettered already carries interfaceId and serves both. Reconciliation is integration.v1's: runs per interface and period, and exceptions with their own lifecycle (Open, Assigned, Resolved, Closed). An exception that needs a business decision is raised to the owning domain by ReconciliationExceptionRaised.
4. Recording APIs for the platform's tools. Backups, restores, failovers, scans, conformance suites and deployments run in the platform's tools and runbooks. The APIs record their results under the tool's service identity, and take the human decisions: authorizations, confirmations, closures and acceptances. This is the rule of releases.v1 in RC-1. Each two-person rule is two calls, and the second by the same person is 403. The rules are replay into a sensitive target, failover and failback, retirement with active consumers, and production activation.
5. Owning-domain labels use a colon: <domain>:<name> (adm:adt, adm:ward-census, adm:admission). The <domain>.<name> form stays reserved for names a domain registers in D10 (policy resource types, task types, audit event types), which contracts/adm/scripts/cross-references.ts checks.
6. DowntimeEnded is published when restoration is confirmed, with endedAt, as the window moves to Reconciling. The downtime is over then: owning domains back-enter their entries for the window and check each with checkDowntimeEntry (PR-BCR-003-2). They could not wait for the close of the reconciliation, which depends on their own back-entry. The close is recorded on the window. The event is published once per window and type, as 8.5 requires for duplicate detection.
7. SecurityAlertRaised carries low to critical. Version 1.1 adds the rule version, the affected asset and the correlation references as optional fields. An informational record, "recorded for context; no response is needed", is kept and searchable in security-monitoring.v1 but not published: the event's consumers are those who respond. Publishing it would need version 2 of the event and its topic.
8. Reconciliation exceptions are ordered per exception, the aggregate on his.ise.deliveryexception.v1. The payload carries the business identifiers, so a consumer can treat repeats for the same transaction and classification as one, as 8.5 asks. An exception is raised once and then changes state only on the API, so the order between exceptions of one business identifier carries no meaning a consumer could lose.
9. The capability statement is published in the catalogue. contract-catalogue.v1 readCapabilityStatement serves the subset of the FHIR R4 CapabilityStatement this contract fixes: resources, profiles, interactions, search parameters, versioning and security scopes. The facade serves the full resource at /fhir/r4/metadata (IF-ISE-004).
10. The scenario of RC-3 calls platform units by folder name (integration-engine, backup-recovery and the others) as it calls services/ units. The harness starts only services/ units today (FN-S07), so these calls fail as "not in this stack" until the units are reachable from the harness.
Consequences¶
- RC-3-S09 to RC-3-S17 each serve one API, or the new operations of one RC-1 API, in their own unit. The screen sessions RC-3-S20 to RC-3-S22 work against
his-contract serve contracts/ise. The contract points are incontracts/ise/README.md. - The other domains name D02 interfaces by registry identifier. ESS's forwarding destination is
ise-siem-wazuh, andvalidateForwardingRulereads it with integration.v1readInterface. - RC-3-S16 reports Domain 1 deliveries to contracts/adm
submitEventDeliveryStatuses, for interfaces and for backbone subscriptions alike. No RC-3 session builds the event backbone. - Before RC-3-S24, the harness needs a way to reach platform units (follow-up for the harness).
- No RC-1 contract breaks. The changes are new APIs, new operations, optional fields and parameters, an input enum value, and new events.
his-contract checkpasses againstmain.