Skip to main content

Spec format

The hub spec is a tree of TOML files: how payloads become events, how the pipeline behaves, how alerts are routed and where ownership comes from. It is what users and excubioctl edit, what change sets diff, and what a revision snapshots. The hub database stores the tree content-addressed (schema/hub.sql §2) and is its only source of truth; history, diff, revert and restore are built in.

Runtime semantics of these objects are in pipeline.md. Teams, people and rotations are not part of the spec; they live in the cloud (on-call.md).

1. Layout​

spec/
sources/
alertmanager-prod.toml # Source
snmp.toml
traps/
netapp-ontap.toml # TrapRule (references a trap pack)
pipeline/
valuemaps/oncall.toml # ValueMap
calendars/office.toml # Calendar
heartbeats/am-watchdog.toml # Heartbeat
storms/per-node.toml # StormRule
autoclose/stale-minor.toml # AutoClose
downtimes/patch-sunday.toml # DowntimeSchedule
correlation/infra.toml # CorrelationPattern
expect/backup.toml # ExpectRule
routing/
classify/team-inventory.toml # Classify
actions/page-oncall.toml # ActionRule
inventory/
sources/servicenow.toml # InventorySource
sources/rtsm.toml
model.toml # InventoryModel
groups.toml # TeamMap
outbound/
tickets/default.toml # TicketProfile
webhooks/chatops.toml # Webhook
secrets/
sm9-user.toml # Secret (metadata only, never values)
tests/
perimeter.toml # RoutingTest
policies/
prod-four-eyes.toml # ApprovalPolicy
settings/
routing.toml # Settings
pipeline.toml
cloud.toml
fallback.toml
notify.toml
retention.toml
inventory.toml
correlation.toml
  • One object per file. The path is free within its kind directory; the object's identity is kind + metadata.name, unique per revision.
  • Names match ^[a-z0-9]([a-z0-9.-]{0,251}[a-z0-9])?$.
  • Every object has apiVersion = "v1", kind, and a [metadata] table with name, owner (a team slug) and optional description.
  • Files are canonicalised on write: apiVersion and kind first, then [metadata], then [spec]; keys in schema order; selectors as inline tables; multi-line strings as literal strings ('''). Comments are kept.
  • Durations are strings with a unit: 30s, 5m, 72h, 14d.

1.1 Parsing limits​

Spec files are TOML 1.0; no YAML parser runs in the hub. L0 enforces:

LimitValue
File size1 MiB
Nesting depth32 tables/arrays
Keys per file10,000
String length64 KiB
Files per revision10,000
Duplicate keys, redefined tableserror

The same limits apply to every JSON body the hub parses.

2. Selectors​

Selectors match alert attributes. They are structured, Kubernetes-compatible, plus a glob operator:

[spec.selector]
matchLabels = { channel = "snmp" } # all must be equal
matchExpressions = [ # all must hold
{ key = "severity", operator = "In", values = ["major", "critical"] },
{ key = "node", operator = "Glob", values = ["fw-*"] },
{ key = "l.environment", operator = "NotIn", values = ["test"] },
]
OperatorAttribute absentAttribute present with value v
In / NotInfalse / truev in / not in the values
Exists / DoesNotExistfalse / truetrue / false
Glob / NotGlobfalse / truev matches any / no pattern
Gt, Ltfalsev is an integer and v > / < the value; otherwise false
  • selector = {} matches every alert.
  • Integers. Gt and Lt take exactly one value, an integer: ASCII digits with an optional leading -, of any length, leading zeros allowed (007 is 7, -0 is 0). Any other value is a validation error.
  • Globs: * any sequence, ? one character (newlines included), [a-z] a range of code points, [!…] the complement, \ escapes, also inside a class; ] first in a class and - first or last are literal. A trailing \, an unterminated [ and a reversed range are errors. Anchored and case-sensitive.
  • In and NotIn values of severity, state, kind and suppression outside their vocabulary match nothing; L1 warns about them.
  • Filtered in the database. The selectors of alert lists and change feeds, bulk close, downtimes and API tokens compile to SQL over the alert's columns, its labels and inv and the group tables (schema/hub.sql §4). There, group.has.<role>, calendar.<name> and after_storm are validation errors: they are properties of a pattern, a Calendar or a routing trigger, not stored with the alert. Facts and inv.* are those of the alert's latest decision. Routing, patterns, replay and the other uses evaluate selectors in memory on the alert being processed.
  • Before routing. The selectors of Heartbeats, StormRules, ExpectRules, DowntimeSchedules and one-off downtimes are evaluated before the alert's routing (pipeline.md §1), with the attributes it has after enrichment. In them the routing facts (team, service, oncall, notify), calendar.*, group.* and after_storm are validation errors (L1; the API for one-off downtimes), so a downtime's preview over the stored alerts matches what it suppresses. A team's downtime selects by inv.ci.team or inv.service.team.
  • On events. Heartbeat and ExpectRule selectors match events, not alerts. An event has the mapped and enriched attributes (source, channel, namespace, severity, rank, node, check, ci, title, service_hint, l.*, inv.*) and role (problem, resolution, info, downtime-start, downtime-end), which only events have; the other attributes are absent. An event that matches several Heartbeats is a beat of each.
  • Containment. A selector is at least as narrow as another (for API tokens, architecture.md §10) when it contains every requirement of the other unchanged; a matchLabels entry also counts as an In expression with its one value.

Short form. The CLI and the API (?selector=, percent-encoded, where + is a space) take selectors as text, converted to the structured form before they are stored: severity in (major,critical),node~=fw-*,!l.maintenance.

selector = [ term { "," term } ] ;
term = key (* Exists *)
| "!" key (* DoesNotExist *)
| key ( "=" | "==" ) value (* matchLabels; In if the key repeats *)
| key "!=" value (* NotIn *)
| key ( "in" | "notin" ) list
| key ( "~=" | "!~=" ) ( value | list ) (* Glob, NotGlob *)
| key ( ">" | "<" ) int ; (* Gt, Lt *)
key = 1*( "a"…"z" | "0"…"9" | "_" | "." | "-" ) ;
list = "(" value { "," value } ")" ;
value = bare | quoted ;
bare = 1*( any character except , ( ) " ) ; (* blanks around it dropped *)
quoted = '"' { any character except " and \ | '\"' | '\\' | "\" other } '"' ;
int = [ "-" ] 1*( "0"…"9" ) ;
  • The key is read first, so operator characters in a value are never operators. Blanks (space, tab) may surround keys, operators and list items.
  • A value with ,, (, ), ", leading or trailing blanks, control characters or a leading =, and the empty value (""), must be quoted. \ is no escape in a bare value and escapes only " and \ inside quotes; every other \ reaches the glob unchanged (node~=fw\*).
  • >= and <= are errors, as are keys with upper case. Errors give the byte offset.
  • Selectors are printed in the short form with quotes only where needed, matchLabels entries as k=v and expressions as k in (v), so the structured form survives a round trip (spike selectors-sql).

Attributes. All values are strings; booleans are "true"/"false". Attribute names are lower-case ASCII letters, digits, _, . and -: label keys and the <name> of inv.ci.attr.<name> and inv.service.attr.<name> are [a-z0-9_]+, Calendar and role names are object names (§1).

AttributeValue
source, channelSource name and channel (§3.1)
namespaceThe alert's key namespace (pipeline.md §1)
kindevent (from a source), heartbeat, storm, group (pipeline.md §16), expect (pipeline.md §17), self (Excubio's own alerts)
severitynormal, warning, minor, major, critical, unknown
rankSeverity as integer: unknown −1, normal 0 … critical 4
stateopen, acknowledged, closed
node, check, ci, titleFrom the source mapping
service_hintThe mapping's service field, as sent
l.<key>Labels from the source mapping
inv.foundWhether the CI was found in the inventory snapshot
inv.ci.id, inv.ci.name, inv.ci.class, inv.ci.type, inv.ci.subtype, inv.ci.group, inv.ci.teamThe matched CI (pipeline.md §15); class is Excubio's CI class, type and subtype are the source's; group is the CI's own assignment group, team comes from the TeamMap at enrichment (pipeline.md §4)
inv.ci.attr.<name>Further CI attributes from the InventorySources (§3.10)
inv.service.id, inv.service.name, inv.service.criticality, inv.service.hours, inv.service.group, inv.service.team, inv.service.parentThe alert's service (pipeline.md §4): the hinted one, else the CI's primary service; hours is 24x7 or office; team comes from the TeamMap at enrichment; parent is the parent service's name
inv.service.viahint or ci: how the service was found
inv.service.attr.<name>Further service attributes
group.id, group.pattern, group.roleFor members and group alerts: the group alert's ID, the pattern; a member's role cause or member
group.size, group.teams, group.causeFor group alerts: open members, involved teams (integers), the cause as <namespace>/<key>
group.has.<role>For group alerts: whether an open member matches the pattern's role (§3.19)
expectThe ExpectRule name, for alerts of kind expect
calendar.<name>Whether the Calendar covers the time of the alert change (§3.17)
team, service, oncall, notifyRouting facts (§3.8); available to later facts and to ActionRules
suppressionnone, downtime, storm
after_stormtrue when the alert is routed again at the end of a storm
reopensHow often the alert has reopened (pipeline.md §6), as an integer
countHow often the alert has occurred since it first opened: the first problem, its duplicates and reopens, as an integer
heartbeat, stormThe Heartbeat or StormRule name, for alerts of those kinds

3. Object kinds​

A URL the hub dials itself (a Webhook's url, a TicketProfile's and an InventorySource's baseUrl, a Source's apiUrl, Settings cloud extraHeartbeatUrl) is https; http only to a host that Settings relay networks routes through a relay, whose TLS tunnel carries it into the customer's network (L1).

3.1 Source​

A configured sender of events. Its intake token is state, created with excubioctl source token (cli.md), never part of the spec.

apiVersion = "v1"
kind = "Source"

[metadata]
name = "alertmanager-prod"
owner = "monitoring"

[spec]
channel = "alertmanager" # alertmanager | grafana | icinga | snmp | opcmsg | obm-rest | obm-listener | obm-upstream | webhook | email | syslog

keyNamespace = "alertmanager" # optional; Sources with the same value share alert keys
allowFrom = ["10.20.0.0/16"] # optional; sender addresses accepted for this Source
duplicates = { severity = "new", fields = "new" }

[spec.mapping] # CEL over the channel's payload; each field optional except for webhook
key = 'labels.alertname + "/" + labels.?namespace.orValue("") + "/" + labels.?instance.orValue("")'
role = 'status == "resolved" ? "resolution" : "problem"'
severity = '''
labels.severity == "critical" ? "critical" :
labels.severity == "warning" ? "warning" : "minor"
'''
node = 'labels.?instance.orValue("").split(":")[0]'

[spec.mapping.labels]
namespace = 'labels.?namespace.orValue("")' # empty: the label is not set
team_hint = 'has(labels.excubio_team) ? labels.excubio_team : ""'
  • Each channel has a default mapping (integrations.md §1); a Source overrides it field by field. Fields: key, closeKey, role (problem, resolution, info, downtime-start, downtime-end), severity, title, description, node, check, ci, service (a service hint: an inventory service's name, alias or ITSM reference), expires (a duration), and labels. Their semantics are in pipeline.md §3 and §6.
  • Mappings are CEL expressions over the parsed payload, in a restricted dialect:
    • L1 type-checks each field against the channel's payload schema (the variables and their types, integrations.md §1): unknown variables, fields and functions, wrong argument types and wrong result types are errors; reading a map key that may be absent without has() or optional syntax is a warning. Values of type dyn (body of webhook and obm-listener) are checked when the event is mapped.
    • Available are the standard functions, optional syntax (has(), x.?key, orValue(), x[?"key"]) and the strings extension (split, replace, lowerAscii, …). matches takes only a constant pattern. replace takes constant strings, what it replaces not empty; a replacement longer than what it replaces is at most 8 times as long, in at most two calls of an expression, so no result outgrows the event by more than a constant. Comprehension macros (all, exists, exists_one, map, filter) and other extensions are not available.
    • An expression has at most 1,000 nodes and a nesting depth of 64.
    • Before a field is evaluated for an event, its cost is computed from the event's sizes: one step per expression node and, for each call of a string function, one per 128 bytes of the variables its arguments are computed from (literals included; what a replace below it returns counts 8 times). A field above 10,000 steps is a mapping error without being evaluated. So a field may read a value of the largest event that the default pipeline.maxEventBytes admits once, and a syslog message of the default pipeline.maxSyslogBytes 19 times, and a long message costs nothing to the fields that don't read it.
  • Results. Every field gives a string, except closeKeyIgnoreCase (a bool); expires is a duration string (§1) and role and severity one of their values. A field whose result has another type at run time is a mapping error. An empty string leaves the field, or the label, unset; a missing key is then a mapping error, a missing severity or title takes its default (pipeline.md §3).
  • A mapping error stores the event with outcome mapping-error and opens no alert; the error names the field. The count is a metric (spike cel-mapping).
  • The variables per channel are the payload's fields as documented in integrations.md §1, plus query, the request's query parameters, for HTTP channels. Label keys are [a-z0-9_]+; channels that carry free attribute names (OBM custom attributes, webhook bodies) lower-case them and replace other characters with _. Two names that become equal are a mapping error.
  • closeKey is a key pattern: the glob syntax of §2 plus {a,b} for alternatives, anchored. It compiles to one anchored Postgres regular expression, every literal escaped. The mapping field closeKeyIgnoreCase (a boolean, per event) compares without case. closeKeySyntax = "obm" (the default of the OBM channels) uses OBM's pattern syntax instead, which is not anchored and is matched by an SQL prefilter and OBM's own algorithm (integrations.md §2, spike close-key-patterns). How the matches are found is in pipeline.md §6. An invalid pattern closes nothing: L1 reports invalid patterns that a mapping gives as constants, and replay those of stored events.
  • duplicates says what a duplicate updates (pipeline.md §6): severity is new (take the duplicate's), keep (keep the first) or highest; fields (title, description, labels) is new or keep. The default is per channel.
  • allowFrom limits the sender addresses of the Source (HTTP client, syslog or SMTP sender, SNMP agent address) to networks (10.20.0.0/16) or single addresses; other senders are rejected and counted (pipeline.md §2). L1 warns for SNMP v2c Sources without it.
  • Channel-specific options: snmp takes trapRules = ["netapp-ontap", …], unmatched (alert, the default, or drop, integrations.md §4) and no mapping, and community (an opaque Secret) or usmUser as a Secret reference (a usmUser Secret, format snmp-usm, holds the user name, the auth protocol and passphrase, the privacy protocol and passphrase, the AES key extension and optional engine IDs, integrations.md §4); obm-upstream takes baseUrl, credentials (a Secret reference), pageSize (500; 100 to 5,000) and overlap (2m; 30 s to 30 min), the reader's page step and how far each poll starts before its watermark (integrations.md §3); obm-rest and opcmsg take etiResetValues (a ValueMap, integrations.md §2); obm-listener takes listenerPath, unique among Sources; email takes recipients (unique among Sources, and then requires allowFrom) or imap, a table of host, tls (implicit, the default, or starttls), port (993 with implicit, 143 with starttls), credentials (secretRef of a basic-auth Secret whose hosts admit the host; required), mailbox (INBOX), processed (processed) and failed (failed), three distinct folders whose names are printable ASCII without *, %, " and \, and pollInterval (1m; 10 s to 1 h; for servers without IDLE), and then takes no allowFrom (integrations.md §13), for example imap = { host = "mail.example.invalid", credentials = { secretRef = "alerts-mailbox" } }; syslog takes match and requires allowFrom (integrations.md §13); every channel takes downtimeScope, downtimeMax (default 4h, at most pipeline.maxDowntime) and downtimeAcrossSources for maintenance events (pipeline.md §8); icinga takes apiUrl (https, §3) and credentials (a basic-auth Secret) for write-back (integrations.md §6).

3.2 TrapRule​

Maps SNMP traps to events. Trap packs, with the compiled MIB tables, arrive as signed bundles (operations.md §5); a TrapRule enables a pack's rules and can override them.

kind = "TrapRule"
[metadata]
name = "netapp-ontap"
owner = "storage"

[spec]
pack = "netapp-ontap@2026.10" # bundle name and version
disable = ["quotaExceeded"] # rules of the pack not to apply

[[spec.rules]] # own rules, applied before the pack's
name = "aggr-offline"
trapOid = "1.3.6.1.4.1.789.0.*" # glob over the trap OID
severity = "critical"
key = ["agent", "trapOid", "varbind:aggrName"]
clears = [] # trap OIDs whose alerts this rule's trap closes
title = "varbind:aggrName" # title from a varbind, or a literal

A trap of a rule with clears is a resolution; its closeKey is the rule's key with each listed OID in place of trapOid, so a link-up trap closes the link-down alert of the same agent and interface. A rule's trapOid is a glob over the numeric OID, its severity one of the six, its key a non-empty list of the variables of integrations.md §4, its title such a variable or a literal; clears lists numeric OIDs.

pack names an imported bundle by name and version, and disable names rules of its rules.toml, whose [[rules]] take the fields of [[spec.rules]]. A varbind:<name> names an object of the pack's mibs.json and maps by its OID; L1 refuses a pack that isn't imported or whose rules don't compile, a disable the pack lacks, a name the pack's MIB tables lack or have under more than one OID, and a name in a TrapRule without a pack.

3.3 ValueMap​

Turns free-form values into canonical ones. Used by Classify.

kind = "ValueMap"
[metadata]
name = "oncall-spellings"
owner = "monitoring"

[spec]
caseInsensitive = true
values = { "true" = ["yes", "true", "ja", "j"], "false" = ["no", "false", "nein", "n", ""] }
# no default: an unmapped value falls through to the next Classify rule

3.4 Heartbeat​

kind = "Heartbeat"
[metadata]
name = "am-prod-watchdog"
owner = "monitoring"

[spec]
selector = { matchLabels = { source = "alertmanager-prod", check = "Watchdog" } }
interval = "1m"
grace = "4m"
severity = "critical"
title = "Alertmanager prod heartbeat missing"
labels = { team_hint = "monitoring" }

Instead of selector, channel = "snmp" watches the channel's own intake heartbeat (pipeline.md §5).

One Heartbeat can watch many senders of the same kind, such as the watchdog of every cluster:

[spec]
selector = { matchLabels = { check = "Watchdog" } }
groupBy = ["l.cluster"] # one instance per value
expect = ["prod-1", "prod-2", "obs-1"] # must beat even if never seen
interval = "3m"
grace = "12m"
  • Each distinct value combination of groupBy is an instance with its own state and its own missing-heartbeat alert. Instances appear with their first beat. With several attributes, expect entries join the values with /.
  • An instance that stops beating stays missing until it beats again or is forgotten (pipeline.md §5). A decommissioned sender therefore can't disappear unnoticed.

3.5 StormRule​

kind = "StormRule"
[metadata]
name = "per-node"
owner = "monitoring"

[spec]
selector = {} # which new alerts count
scope = ["node"] # attributes that form one storm
threshold = 50 # new alerts in the window
window = "5m"

window is whole minutes, the unit the counts are kept in, and threshold at least 2. An alert without one of the scope attributes doesn't count.

3.6 AutoClose​

kind = "AutoClose"
[metadata]
name = "stale-minor-3d"
owner = "monitoring"

[spec]
selector = { matchExpressions = [{ key = "severity", operator = "In", values = ["warning", "minor"] }] }
after = "72h"
since = "last_seen" # last_seen | first_seen

3.7 DowntimeSchedule​

Recurring downtimes. One-off downtimes are state, created through the API.

kind = "DowntimeSchedule"
[metadata]
name = "patch-sunday"
owner = "server-windows"

[spec]
selector = { matchExpressions = [{ key = "inv.ci.type", operator = "In", values = ["windows-server"] }] }
timezone = "Europe/Berlin"
days = ["sun"]
start = "02:00"
duration = "4h"
notify = false # still send notify actions during the downtime

Instead of or together with selector, cis = ["esx-04"] covers CIs (pipeline.md §8). timezone is an IANA time zone, days lists mon to sun, start is a local time HH:MM (one in a daylight-saving gap is the gap's end, one that occurs twice the first) and duration is at most pipeline.maxDowntime.

3.8 Classify​

Sets the routing facts. Facts are evaluated in a fixed order: team, service, oncall, notify. For each fact, rules run by ascending order; the first rule whose selector matches and that yields a value wins.

kind = "Classify"
[metadata]
name = "team-from-inventory"
owner = "monitoring"

[spec]
fact = "team" # team | service | oncall | notify
order = 200
selector = { matchExpressions = [{ key = "inv.service.team", operator = "Exists" }] }
from = "inv.service.team"
  • value sets a literal; from copies an attribute; from with map = "<ValueMap>" or map = "<TeamMap>" maps it. A missing attribute or an unmapped value yields nothing, and evaluation continues with the next rule.
  • Every fact needs a catch-all, a rule with selector = {} (L1). For team, oncall and notify it has a value, so every alert gets those facts; the team catch-all is usually the unrouted team. The service catch-all may have no value: the alert then has no service fact, and the payload and tickets carry none.
  • team values must be team slugs known to the cloud; oncall and notify must be true or false.

Precedence between the source and the inventory is the rule order. Here the inventory can veto paging, the source can ask for it, and the inventory decides otherwise:

orderSelectorYields
100inv.ci.attr.oncall In (no, nein)value = "false"
110inv.service.attr.oncall In (no, nein)value = "false"
200l.standby existsfrom = "l.standby", map = "oncall-spellings"
300inv.service.attr.oncall existsfrom = "inv.service.attr.oncall", map = "oncall-spellings"
900{}value = "false"

The explanation names the rule that set each fact (pipeline.md §13), so a page that didn't happen shows whether the source or the inventory decided.

3.9 ActionRule​

Decides what happens. Rules run by ascending order; every matching rule adds its actions until a rule with stop = true matches.

kind = "ActionRule"
[metadata]
name = "page-oncall"
owner = "monitoring"

[spec]
order = 100
selector = { matchLabels = { notify = "true", oncall = "true" }, matchExpressions = [
{ key = "rank", operator = "Gt", values = ["2"] },
] }
on = ["open", "change"] # open | change | close | release | calendar | hold | group; default all but close and release

[[spec.actions]]
type = "page"
rotation = "primary" # a rotation of the alert's team; team = "…" overrides the team
groupBy = ["node"] # attributes forming the incident grouping key; without: an incident per alert

[[spec.actions]]
type = "ticket"
profile = "default"
ActionFieldsNotes
pagerotation (default: the team's default rotation, §3.16), team, groupBy, payload (full, minimal), involve (inform, page, none; default inform)Follows the alert: changes and the close are sent to the incident. involve applies to group alerts: the involved teams' default rotations are informed, paged with incidents of their own linked to this one, or left out (pipeline.md §16).
notifyto (team, team:<slug> or addresses), mode (immediate, digest), interval (digest only, 1 min to 24 h; default notify.digestInterval)E-mail through the hub's SMTP relay; needs Settings notify with smtp and from (L1), and team:<slug> a team of the replica.
ticketprofileFollows the alert as the TicketProfile's sync says.
writeback–To the alert's source, for channels that support it (integrations.md §6).
webhookwebhookA Webhook object.
dropreasonNo further actions; implies stop.

Triggers: open (alert opened), change (severity or a fact changed), close, release (a downtime or storm suppression ended), calendar (a Calendar the last decision read changed coverage, §3.17), hold (a held rule's condition is met, below), group (the alert joined, moved to or left a group after it was routed). A member's page in a group with members = "attach" becomes the internal action attach. The lifecycle of page, ticket and writeback follows the alert without a close rule (pipeline.md §10).

Hold. A rule can hold its actions until the alert persists or repeats, so a short blip or a single occurrence doesn't page:

[spec.hold]
for = "5m" # the alert is still open and unacknowledged after 5 min
count = 3 # or it has occurred 3 times
within = "10m" # within the last 10 min
  • for (1 min to 24 h) and count (2 to 1,000) with within (1 min to 24 h) can be set alone or together; together, the first condition that is met releases the actions. How held actions wait, start and are cancelled: pipeline.md §9.

3.10 InventorySource​

A system the hub reads inventory from (pipeline.md §15). A hub has up to 32. What each type reads, and the access it needs, is in integrations.md §14.

kind = "InventorySource"
[metadata]
name = "servicenow"
owner = "monitoring"

[spec]
type = "servicenow" # sql | csv | servicenow | ucmdb
baseUrl = "https://example.service-now.com"
credentials = { secretRef = "snow-reader" }
schedule = "15m"
teamMap = "groups"
guards = { minCis = 1000, maxChange = 0.2 }

[spec.options] # per type
classes = ["cmdb_ci_server", "cmdb_ci_vm_instance", "cmdb_ci_esx_server", "cmdb_ci_db_instance", "cmdb_ci_netgear"]

A sql source names its queries; each must return the listed columns:

[spec]
type = "sql"
dsn = { secretRef = "cmdb-dsn" } # mssql:// or postgres://
schedule = "15m"
teamMap = "groups"

[spec.queries]
cis = "SELECT id, name, class, type, subtype, grp, attr_oncall FROM …"
aliases = "SELECT ci_id, alias, kind FROM …" # kind: fqdn, host, ip, serial, vm-uuid, ref
services = "SELECT id, name, criticality, hours, grp, itsm_ref, parent_id, attr_oncall FROM …"
ciServices = "SELECT ci_id, service_id FROM …"
serviceAliases = "SELECT service_id, alias FROM …" # optional: names that events send
maintenance = "SELECT ci_id, service_id, starts_at, ends_at, reason FROM …" # optional
  • cis needs id and name; the other columns are optional. A query or type returns only the CIs and services routing should know, for example those in an active state.
  • sql, servicenow and ucmdb sources need a schedule of at least 1m. credentials is a Secret of format basic-auth, or for servicenow also oauth-client; dsn one of format dsn.
  • [spec.options] per type: servicenow lists the CI classes it reads in classes; ucmdb names its TQL queries in queries and the CI types that are services in serviceTypes (default ["business_service"]); both map attribute names to the fields or properties read into them in attributes (oncall = "u_oncall"), for CIs and services alike (integrations.md §14).
  • Further attributes named attr_<name> (at most 32 per CI or service, text values) become inv.ci.attr.<name> and inv.service.attr.<name> (§2). Flags that a CMDB keeps per CI or service, such as on-call relevance, reach Classify this way.
  • A csv source has no dsn, queries or schedule: its files are uploaded, one per query name, with the columns of that query (api/hub.yaml importInventorySource), and inventory.maxAge (§3.16) doesn't apply to it.
  • maintenance rows become downtimes (pipeline.md §8). Rows ending more than 14 days ahead are ignored.
  • guards reject an import with fewer CIs than minCis or a share of changed CIs above maxChange (above 0, at most 1), compared with the source's last good import: CIs added, removed, or with other fields or aliases (pipeline.md §15).

3.11 TeamMap​

Maps ITSM assignment groups to Excubio teams. Several TeamMap files merge; a group mapped twice, in one TeamMap or in two, is an L1 error. Enrichment applies it to the assignment groups of CIs and services that come from the sources that name it, with the revision the event is processed with, not at the merge (pipeline.md §4); Classify applies it to any attribute with map = "<TeamMap>", for example to a group name that the source sends. Matching ignores case. A ValueMap and a TeamMap of one name can't both be map (L1).

kind = "TeamMap"
[metadata]
name = "groups"
owner = "monitoring"

[spec.groups]
"Perimeter Security" = "perimeter"
"Server Unix" = "server-unix"

3.12 TicketProfile​

kind = "TicketProfile"
[metadata]
name = "default"
owner = "itsm"

[spec]
adapter = "sm9" # sm9 | webhook
baseUrl = "https://itsm.example.invalid/SM/9/rest"
credentials = { secretRef = "sm9-user" }
keyField = "ExternalID" # sm9, optional: the incident field of the create's key
service = { from = "inv.service.itsm_ref", fallback = "24x7-fallback-service" }
assignmentGroup = { from = "inv.service.group", fallback = "Monitoring" }
affectedCi = { from = "inv.ci.name" } # optional; without a value the field is left empty
onAlertClose = "resolve" # resolve | annotate | none
onTicketClose = "close-alert" # close-alert | none
groupBy = ["inv.ci.name", "inv.service.name"] # optional; see below

[spec.fields] # optional further ticket fields
subcategory = { from = "l.msg_grp", map = "itsm-subcategories", fallback = "Event" }

[[spec.priority]] # first match wins; the last must be selector = {}
selector = { matchLabels = { severity = "critical", oncall = "true" } }
impact = 2
urgency = 2

[[spec.priority]]
selector = {}
impact = 4
urgency = 4

Ticket title and description are generated (alert title; description with the alert summary, the ActionRule and profile that opened it and a link to the hub UI).

  • adapter sm9 takes a basic-auth Secret as credentials, closureCode (default Automatically Closed) for its resolves, and optionally keyField, an incident field ([A-Za-z0-9_]+, none of the fields set otherwise) that carries the create's idempotency key, so a create whose answer was lost is found instead of repeated (integrations.md §5); webhook takes the opaque Secret that signs its POSTs (integrations.md §5). baseUrl is https (§3).

  • onAlertClose defaults to resolve, onTicketClose to none.

  • service, assignmentGroup, affectedCi and fields each take from (an attribute, optionally through a ValueMap map) or a literal value, and a fallback.

  • priority rules give impact and urgency of 1 to 5.

  • groupBy: while a ticket is open for an alert with the same values of these attributes, a further alert is added to it as an activity instead of opening a new ticket, and the ticket resolves when its last alert closes. This replaces throttling, which drops tickets. Without groupBy, each alert gets its own ticket.

  • fields sets further fields of the adapter's ticket resource by name, each from an attribute (optionally through a ValueMap) or a literal value, with a fallback.

3.13 Webhook​

kind = "Webhook"
[metadata]
name = "chatops"
owner = "platform"

[spec]
url = "https://hooks.example.invalid/excubio"
signingKey = { secretRef = "chatops-hmac" }
events = ["alert.opened", "alert.closed", "incident.acknowledged"]
format = "json" # json | teams: an adaptive card for a Teams channel workflow | slack: an incoming-webhook message | pushover: a Pushover message
kind = "Webhook"
[metadata]
name = "ops-push"
owner = "platform"

[spec]
format = "pushover"
credentials = { secretRef = "ops-pushover" } # a pushover Secret
events = ["alert.opened", "alert.closed", "incident.acknowledged"]
priority = { critical = 2, warning = -1 } # over the defaults of integrations.md §8
emergency = { retry = "1m", expire = "1h" } # with a priority 2
sound = "siren"
kind = "Webhook"
[metadata]
name = "ci-digest"
owner = "platform"

[spec]
url = { secretRef = "platform-chat-url" }
format = "slack"
mode = "digest" # immediate (the default) | digest: one message per interval with the open alerts
interval = "1h" # digest only; default notify.digestInterval
  • With format = "teams" or format = "slack" the URL is a secret (url = { secretRef = … }), because a Teams workflow URL and a Slack or Mattermost incoming-webhook URL are their own credential; there is no signature. A json Webhook needs signingKey (an opaque Secret) and may take its URL from a Secret too; a URL in the spec is https, or http through a relay (§3). events are those of integrations.md §8.
  • With format = "pushover" there is no url: the Webhook posts to Pushover's message API, https://api.pushover.net/1/messages.json, with the application token and user or group key of its credentials, a pushover Secret whose hosts admit api.pushover.net, and is not signed. priority sets Pushover priorities, -2 to 2, by key: a severity (critical, major, minor, warning, normal, unknown), closed (events of closed or resolved alerts, groups and incidents) and acknowledged (of acknowledged ones), 2 for severities only; keys not given keep their defaults. A priority 2 (emergency: Pushover repeats it until someone acknowledges it there) needs emergency with retry, at least 30 s, and expire, from retry to 3 h, and emergency needs a priority 2. sound names a Pushover sound (letters, digits, _, -; at most 64). credentials, priority, emergency and sound are for this format only.
  • mode = "digest" (formats slack and teams) sends the alerts of its webhook actions as one message per interval (1 min to 24 h; default Settings notify.digestInterval) that lists those still open (pipeline.md §10); events then lists only incident and on-call events, sent one by one, and may be left out.

3.14 Secret​

Metadata only. Values are written with excubioctl secret set and are never readable (architecture.md §11).

kind = "Secret"
[metadata]
name = "sm9-user"
owner = "itsm"

[spec]
format = "basic-auth" # opaque | basic-auth | dsn | oauth-client | tls-client | snmp-usm | pushover
hosts = ["sm9.example.invalid"] # globs over host names the value may be sent to
FormatValueUsed by
opaqueOne string: a bearer or API token, an HMAC key, a webhook URL, an SNMP communityWebhook signing keys, Teams workflow and incoming-webhook URLs, SNMP v1 and v2c Sources
basic-authUser and password: {"user": …, "password": …}ITSM, OBM, Icinga, SMTP, IMAP, SMPP, inventory sources with basic authentication
dsnA connection string with its credentialssql inventory sources
oauth-clientToken URL, client ID, client secret, optional scope: {"token_url": …, "client_id": …, "client_secret": …, "scope": …}ServiceNow (client credentials)
tls-clientCertificate chain and private key (PEM)Client certificates towards ITSM, inventory sources and write-back targets
snmp-usmThe USM user of §3.1: {"user": …, "auth": "SHA-256", "authPassword": …, "priv": "AES-128", "privPassword": …, "keyExtension": "blumenthal", "engineIds": […]}; auth one of SHA-1, SHA-224, SHA-256, SHA-384, SHA-512, priv one of AES-128, AES-192, AES-256 and only with auth, passwords of at least 8 characters, keyExtension blumenthal (the default) or reeder, engineIds in hex (empty: any engine); without auth the user sends without authenticationSNMP v3 Sources
pushoverPushover's application token and user or group key, 30 letters and digits each: {"token": …, "user": …}pushover Webhooks

A value is written as UTF-8 text in the form of its format, without a trailing newline; the formats shown with JSON take a JSON object, and a value of the wrong form is refused (secret.format).

A reference to a Secret of the wrong format for its use is an L1 error.

  • hosts is required for every format that is always sent somewhere (basic-auth, dsn, oauth-client, tls-client, pushover); snmp-usm and opaque values that stay in the hub (an SNMP community, a signing key) need none. A URL, address or DSN that uses the Secret must have a host that matches hosts (L1); at runtime the value is sent only to such a host, so a redirect elsewhere fails (architecture.md §11). An opaque Secret that holds a URL (a workflow URL) checks that URL's host; a failed request records the Webhook's name and the answer, never that URL.
  • A reference from a file whose owner isn't the Secret's owner needs an approver of the Secret's owner team (§6).

3.15 RoutingTest​

kind = "RoutingTest"
[metadata]
name = "perimeter"
owner = "perimeter"

[[spec.cases]]
name = "firewall critical pages perimeter"
event = { source = "snmp", node = "fw-01", severity = "critical", check = "1.3.6.1.4.1.2620.1.1.0.1" }
inventory = { cis = [{ name = "fw-01", class = "firewall", services = ["fw-cluster"] }], services = [{ name = "fw-cluster", hours = "24x7", group = "Perimeter Security" }] }
expect = { team = "perimeter", oncall = "true", actions = ["page:primary", "ticket:default"] }

[[spec.cases]]
name = "flapping link reopens its alert"
steps = [
{ at = "0s", event = { source = "snmp", key = "sw-07/if-3", node = "sw-07", severity = "major" } },
{ at = "40s", event = { source = "snmp", key = "sw-07/if-3", node = "sw-07", role = "resolution" } },
{ at = "90s", event = { source = "snmp", key = "sw-07/if-3", node = "sw-07", severity = "major" },
expect = { state = "open", reopens = 1, actions = ["page:primary"] } },
]
  • A case has either one event and expect, or steps (1 to 1,000), and optionally start, the time it starts at (default the time of the run), which the calendar.<name> attributes read. The steps are events at offsets at from the case start, in order, each with an optional expect that is checked after the step, with timers fired at their simulated times. Steps test correlation, reopen, storms, downtimes, alert groups, expectations and holds. The steps of a case run from an empty state through the hub's own pipeline in a sandbox (pipeline.md §12), so they also need nothing of the hub's state.
  • A step's event gives the mapped fields, not a payload: source (a Source of the revision, required), key (default node and check joined), closeKey, role (default problem), severity (default major for a problem, normal otherwise), title (default the key), description, node, check, ci, service, expires, occurred_at (an offset from the case start, or a time), messageId (events with the same one are copies) and labels as l.<key>. A step downtime = { selector = { … }, cis = [ … ], duration = "30m" } starts a one-off downtime at its time; a step with neither only lets the time pass, for its expect.
  • A step's expect checks the alert of its event's key, or of the last step's event before it, or of key (with namespace, default the event's Source's; excubio for a missing-heartbeat, storm, group or expect alert): besides the facts, actions (the identities of the alert's runs that started) and dropped, its state, reopens, count, severity, suppression, close_reason, held (its held runs), alerts (how many alerts the key has had in the case), outcome (of the step's event, such as late or copy) and group: the group alert's facts and actions, its cause (an alert key) and members (alert keys and their roles). A failed case is reported once, at its first step whose expectations fail.
  • inventory gives the CIs and services of the case. Without it, a case runs against the active snapshot. A CI has name and optionally id, class, type, subtype, group, aliases (the host names and addresses events name it by; its name is one), services (names) and attr (its inv.ci.attr.*); a service name and optionally criticality, hours, group, itsmRef, parent (a name), aliases and attr. Their groups map through the TeamMaps.

3.16 Settings​

One object per name; all fields but routing.unroutedTeam have defaults.

NameFields
routinglevel (1, §7), unroutedTeam (required: its default rotation gets the pages whose rotation the cloud refuses, architecture.md §5, and it gets the data-quality issues of unmapped groups, pipeline.md §15), defaultRotation (primary: a team's default rotation is its rotation of this name, which a page action without rotation pages, §3.9), replayWindow (14d), replayMaxEvents (2,000,000: the most events a full replay covers, pipeline.md §12), shadowTeams (globs over team slugs whose alerts run in shadow mode, migration.md §2), stage (the attribute that names an alert's stage, for example l.stage), pageStages (its values that are meant to page, default ["prod"]; they change no routing: L1 warns, §5, and the hygiene report lists the pages of other stages, pipeline.md §18), staleAfter (30d, pipeline.md §18), timezone (UTC; an IANA time zone: times in e-mails and the hygiene report's out of hours)
pipelinedomainSuffixes (stripped from node), copyWindow (30s), reopenWindow (15m), latePeriod (5m), clockSkew (30s), maxSpoolAge (24h), maxOpenPerSource (10,000), maxDowntime (7d), wideDowntime (500 open alerts), bulkCloseLimit (10,000), closeKeyLimit (1,000 alerts one close-key event may close), maxInstances (10,000 per Heartbeat, StormRule and ExpectRule), maxEventBytes (1 MiB), sourceRate (2,000 events/s per Source and node, at least 1), maxConnections (100 per sender address and node, at least 1), maxSyslogBytes (64 KiB, at least 480) (pipeline.md §2)
cloudpayload (fields of the page payload: title, severity, node, service, description, cause (a group's probable cause and member count); default all but description), extraHeartbeatUrl (a third-party heartbeat endpoint, https as §3 says, watch.md §3: every node posts it the heartbeat it sends to Watch, signed alike, every 30 s and whatever the state it reports, through the forward proxy and under the egress rules of architecture.md §11)
fallbackenabled (true), after (2m), smpp: host, port (2775), tls (false), systemId (at most 15 characters), password (secretRef of a basic-auth Secret whose hosts admit the host; its password binds), systemType (empty), sender (1 to 11 letters and digits, sent as alphanumeric, or an international number + and 7 to 15 digits; its type of number follows from it), maxPerSecond (the account's throttle, 5); selfAlerts: rotation (team/rotation of the fallback cache, a rotation of the cloud replica) and email (addresses; need Settings notify with smtp and from) for the self-alerts about the link. An SMS is one segment: the title truncated to 160 GSM 7-bit characters, or 70 UCS-2 characters when one character is outside GSM 03.38 (architecture.md §7)
notifysmtp (host, port (25), starttls (true), credentials (secretRef of a basic-auth Secret whose hosts admit the host)), from (an address), digestInterval (15m; 1 min to 24 h), language (en or de; default en), shadowMailbox (the address that gets the notify e-mails of the teams in shadow mode, migration.md §2)
retentionpayloads (90d: raw event payloads) and events (396d: events, alerts and what is kept as long as they are), whole days from 7d to 2557d, payloads at most events (compliance.md §2)
inventoryminCis (0) and maxChange (0.5) (guards of the merged snapshot), maxAge (2h: a source's newest import older than this raises a self-alert), mergeInterval (15m: the shortest time between two merges, pipeline.md §15), maxCis (500,000), qualityDigest (off; an interval of at least 1h for the data-quality digests, pipeline.md §15; needs Settings notify with smtp and from)
relaynetworks (empty: the hosts the hub reaches through its relays, architecture.md §11 Egress: networks and addresses (10.20.0.0/16, 192.0.2.7), host names (cmdb.corp.example) and *. with a domain for every name below it (*.corp.example); an address is matched against the networks, a name against the names, in lower case)
correlationmaxGroupSize (1,000, at least 2), maxOpenGroups (10,000, groups that accept members, at least 1) (pipeline.md §16)

3.17 Calendar​

Named times of the week, for routing that depends on the time: page out of hours, e-mail during office hours.

kind = "Calendar"
[metadata]
name = "office-hours"
owner = "monitoring"

[spec]
timezone = "Europe/Berlin"
windows = [{ days = ["mon", "tue", "wed", "thu", "fri"], start = "07:00", end = "17:00" }]
holidays = "de-by" # built-in region; holidays are not covered
exceptDays = ["2026-12-24", "2026-12-31"] # further days not covered
  • The selector attribute calendar.<name> is "true" when the time of the alert change lies in a window and not on a holiday or excepted day: the received_at of the event, or the due time of the timer.
  • When a Calendar's coverage changes, every open alert whose current decision read calendar.<name> is routed again with trigger calendar (pipeline.md §9). An alert that was e-mailed at 16:00 therefore pages at 17:00 if it is still open.
  • Holiday regions are the same built-in calendars as the cloud's (on-call.md §2): each node writes the installation's holiday file at its start (operations.md §2), and L1 checks that holidays names one of its regions. DST rules are those of rotations.
  • A window whose end is at or before its start runs past midnight into the next day, as a rotation's restriction does; end may be 24:00.
  • Calendars decide what happens; rotations decide who is paged. A team that pages around the clock needs no Calendar.

3.18 InventoryModel​

How the InventorySources merge into one snapshot (pipeline.md §15). At most one; without it, sources take precedence in name order and the built-in mappings apply.

kind = "InventoryModel"
[metadata]
name = "default"
owner = "monitoring"

[spec]
precedence = ["servicenow", "rtsm", "cmdb-sql"]
merge = ["fqdn", "serial", "vm-uuid", "ref"]
placeholders = ["not available"] # further values that never identify

[spec.attributes] # per inv.ci attribute: the sources that may set it, in order
group = ["servicenow"]
"attr.oncall" = ["servicenow"]

[spec.classes.servicenow] # source class → Excubio class
cmdb_ci_esx_server = "hypervisor"
cmdb_ci_netgear = "network-device"
  • Every source type has built-in class mappings (integrations.md §14); the model overrides them per source.
  • attributes restricts who may set an attribute (named as after inv.ci.), so that ownership comes only from the CMDB that the teams maintain while host names come from wherever they are freshest. Without an entry, every source may set it, in precedence order.
  • Identity kinds: fqdn, host, ip, serial, vm-uuid, ref. Only the kinds in merge join records of different sources (pipeline.md §15).
  • A change takes effect at the next merge. Replay runs on the stored snapshots, so the change's impact is not replayed (pipeline.md §12), and it needs an admin approval (§6).
  • placeholders adds to the built-in values that never identify and are no aliases, compared ignoring case and surrounding blanks: the empty value, 0, none, n/a, unknown, default string, to be filled by o.e.m., system serial number and 00000000-0000-0000-0000-000000000000.

3.19 CorrelationPattern​

Which alerts form a group (pipeline.md §16): the alerts the pattern selects that share the values of its groupBy attributes, within its window.

kind = "CorrelationPattern"
[metadata]
name = "cluster"
owner = "monitoring"

[spec]
order = 100
selector = { matchExpressions = [{ key = "l.cluster", operator = "Exists" }] }
groupBy = ["l.cluster"] # 0 to 5 attributes whose values all members share
window = "30m" # members join until this has passed since the group's first member (1 min to 3 d; default 30 min)
wait = "1m" # route the group this long after its first member (0 to 10 min; default 1 min)
members = "attach" # attach | route
causes = [ # preferred causes, in order
{ matchLabels = { "inv.ci.class" = "hypervisor" } },
{ matchExpressions = [{ key = "inv.ci.class", operator = "In", values = ["network-device", "firewall"] }] },
]

[[spec.roles]] # optional: group.has.<name>
name = "database"
selector = { matchLabels = { "inv.ci.class" = "database" } }

A pattern per node, like the default correlation of most event managers:

[spec]
order = 500
selector = { matchExpressions = [{ key = "node", operator = "Exists" }] }
groupBy = ["node"]
window = "60m"
  • Without groupBy, every alert the pattern selects within the window joins one group; the selector then decides alone what belongs together.
  • selector, causes and roles can't use the routing facts, calendar.*, group.* or after_storm, which don't exist before routing.
  • Patterns are tried by ascending order; the first that selects an alert decides.

3.20 ExpectRule​

An expected follow-up event (pipeline.md §17).

kind = "ExpectRule"
[metadata]
name = "backup-completes"
owner = "storage"

[spec]
start = { matchLabels = { check = "backup-started" } }
then = { matchLabels = { check = "backup-finished" } }
correlate = ["node", "l.job"] # start and follow-up share these values
within = "3h" # 1 min to 7 d
severity = "major"
title = "Backup did not finish within 3 h"
labels = { team_hint = "storage" }
  • start and then select events by the attributes they have after enrichment; neither may be empty.
  • An event without all correlate attributes is not observed.
  • severity defaults to major, title to "Expected event of <name> missing".

4. Change sets​

Every spec change is a change set: an overlay of changed files on a base revision.

draft ──submit──▶ validating ──▶ in_review ──approvals, merge──▶ merged (rN+1)
▲ │ L2 tests, L3 replay │
└──── rebase ◀──────┴── failed / base moved ─────┘ closed
  • Draft: files are edited in the UI or pulled with excubioctl spec pull, edited locally and pushed. L0 and L1 run on every write.
  • Submit runs L2 and L3 (§5) and computes the impact set and the required approvals (§6).
  • Merge needs a current base (the latest revision), passing validation and the approvals. It creates the next immutable revision, which becomes active at once.
  • The files of a change set change only while it is a draft or failed, a rebase returns it to draft, and a submit makes the reviews of an earlier submit stale, so a merge takes what was validated and approved (models, ChangeSets).
  • History per file, diffs between any revisions, revert and restore are ordinary change sets.
  • Inventory imports, one-off downtimes, acks, closes and manual group changes are state, not spec; they don't go through change sets. Their limits are in pipeline.md §8 and §11.

5. Validation levels​

LevelWhenWhat
L0 syntaxevery writeTOML 1.0, limits (§1.1), canonical form, apiVersion/kind, names
L1 specevery writeReferences exist (ValueMaps, TeamMaps, Calendars and holiday regions, TicketProfiles, Webhooks, Secrets, trap packs, teams and rotations in the cloud replica); a hold has for or count with within, within their ranges; CEL compiles and type-checks against the channel's payload schema within the dialect of §3.1; selector and key pattern syntax, constant close key patterns included; order ties per fact, among ActionRules and among CorrelationPatterns; a catch-all per fact; at most 32 InventorySources and one InventoryModel, whose source names exist; the rules of CorrelationPatterns (§3.19); Settings names; routing.unroutedTeam set to a team of the cloud replica; a URL, address or DSN whose host is outside the hosts of the Secret it uses (§3.14); an http URL the hub dials to a host outside relay.networks (§3); an entry of relay.networks that is no network, address, name or *. pattern; a target that relay.networks names and that the allowlist of no relay of the hub admits, as the relays enrolled and not revoked, connected or not, last reported it in their hello, judged with its port: a URL's, else its scheme's; a host table's port, else the default of smtp, smpp or imap; with no port known, any (a name is admitted by a name entry of its port, or by a network entry of its port, which the relay checks once it resolves it; the hub checks this against its relays, for excubioctl spec validate as for a write) (architecture.md §13); routing.replayWindow within the event and the raw-payload retention (compliance.md §2); on a hub of a managed installation, an snmp or syslog Source while the hub has no relay enrolled and not revoked, as such an installation takes them through relays only, and an email Source's recipient outside the hub's mail domain (architecture.md §11 Front door); more Sources than the hub's sources limit, on each Source beyond it in name order (architecture.md §12 Limits); in the selectors evaluated before routing, the attributes of §2 that don't exist there. Warnings: a Source whose alerts can't close (no resolution role, no closeKey, no expires and no AutoClose that selects them); an SNMP v2c Source without allowFrom; a Source whose events over UDP syslog or SNMP v2c can resolve or close alerts (a resolution role or a closeKey), which anyone able to forge its sender address can do: SNMPv3 or syslog over TLS is recommended (architecture.md §11); a mapping that reads a map key that may be absent without has() or optional syntax; In or NotIn values outside an attribute's vocabulary (§2); with routing.stage set, an ActionRule with a page action whose selector doesn't limit that attribute to values of routing.pageStages; fallback.selfAlerts with neither a rotation nor an address (pipeline.md §19); on a node with a forward proxy and a non-empty [egress] deny, each host it would hand to the proxy (a servicenow InventorySource's baseUrl, cloud.extraHeartbeatUrl, unless relay.networks routes it), which the proxy resolves again (architecture.md §11 Egress)
L2 testspreview, submitAll RoutingTests pass, the cases of steps in a sandbox (pipeline.md §12); rules no test reaches are listed (warning)
L3 replaysubmitThe candidate revision is replayed over routing.replayWindow of stored events against the active one, route-only or full (at most routing.replayMaxEvents events), including the correlator (pipeline.md §12); mapping errors on stored payloads fail validation; the decision diff is the impact set; rules and patterns that matched no stored event are listed (warning)

6. Approvals​

The impact set of a change set is the set of alerts whose decision differs in replay, summarised per team: pages added or removed, rotation changed, tickets added or removed, notifications changed, drops changed, alerts grouped or ungrouped. The affected teams are the teams of those alerts under the old and the new revision.

kind = "ApprovalPolicy"
[metadata]
name = "four-eyes"
owner = "monitoring"

[spec]
teams = ["*"] # globs over affected team slugs

A change set whose affected teams match any ApprovalPolicy needs one approver from every affected team and from the owner team of every changed file.

Four eyes. The author of a change set approves nothing of it: every approval a change set needs, an admin approval included, comes from another person, whether or not an ApprovalPolicy matches. The one exception is the hub's sole admin (architecture.md §10) as author: they approve the admin requirement, and a team's requirement that no other person may give (no other OIDC user and no IdP group holds an active approver binding of the team or the hub). Such a self-approval is shown and audited as one, and counts at the merge only while it is still allowed then, so a second admin, or another approver of the team, takes its place. The change set's requirements say what the author may approve so. Approvals are given by people, never through an API token, and an approver's binding must predate the change set's submit. The break-glass local admin approves only while no OIDC user or group holds an active hub-wide admin binding (architecture.md §10).

Changes to settings/, policies/, sources/, secrets/, inventory/sources/, inventory/model.toml (its impact isn't replayed, §3.18) and outbound/ (TicketProfiles and Webhooks) always need an admin approval, and so does a change set that adds a host the hub would dial (a URL, address or DSN whose host no object of the base revision names), in any directory (architecture.md §11). A change set that adds a reference to a Secret from a file of another owner, or changes a Secret's hosts, needs an approver of the Secret's owner team (§3.14), also when no ApprovalPolicy matches.

Named teams. Replay shows only what the stored events exercise, so a team that a change newly names is affected whatever the replay says: a change set after which a file names a team other than its owner that the file didn't name in the base revision (an action's team, a notify to team:<slug>, a value of a Classify for team, a TeamMap entry) needs an approver of that team, also when no ApprovalPolicy matches.

A change set that needs none of these approvals (no impact on a team an ApprovalPolicy matches, outside these directories, without a new host, Secret reference or newly named team) merges after validation. The requirements and the impact summary are stored on the change set, so the review shows why an approval is needed. A current reject blocks the merge.

7. Routing levels​

The hub's pipeline and routing behaviour is versioned as a routing level, set in Settings routing.level. An Excubio release that changes how any spec object is evaluated adds a level and keeps evaluating every earlier level of its major version. So:

  • an upgrade alone changes no decision;
  • new behaviour reaches routing only through a change set that raises the level, with its replay impact and approvals like any other change;
  • replays and explanations of old decisions use the level stored with each decision.

A major upgrade starts only when the active revision is on a level the new major keeps (operations.md §7).