Repository navigation
Description
Requested by: @romamo (filed by an agent on his instruction, 2026-11-17)
Spec: docs/specs/024-kibana-service.md, approved and merged in #504.
Problem
S-012 gave a fleet its Elasticsearch cluster and left Kibana out of scope. The people who work with that data have nothing to open: an analyst who builds a dashboard, a developer who reads an index in Discover. A team that wants Kibana runs it by hand: the package at the version of the cluster, the account Kibana itself uses, three encryption keys, the Node.js heap, a hostname with a certificate in front of it, and for each person a login that opens Kibana and reads only that person's indices.
Cloudfall cannot describe any of it today:
Servicekinds arepostgresql,redis,elasticsearchandmariadbonlyconfig validateandauditknow nothing about a Kibana, so an agent has no operation to propose for it- A user of an Elasticsearch service is limited to its indices and has no way to be given access to Kibana
Proposal
serviceKind: kibanathat names the Elasticsearch service it reads, a declared Node.js heap, and no version: Kibana is installed at the cluster's version and held- On a node of its cluster, on loopback. Kibana talks to that node only, with a token of the
elastic/kibanaservice account that exists on that node alone; thekibana_systempassword is never touched - People log in with the users S-012 declares.
kibana.usersnames which of them mayvieworedit; their indices stay limited by their own role - Published by an existing
Domain, with its certificate, or reached through an SSH forward when none is declared - No backup of its own. Dashboards are documents in the cluster, inside the snapshots S-012 takes; the three encryption keys are generated once and kept in the project's store, so a rebuilt server reads them again
- A version change of the cluster moves Kibana in the same converge, after every node
- Audit as for the other kinds: version, unit state, managed files, listener address, Kibana's own status, and who holds which Kibana role
Out of scope
Kibana on a server that is not a node, more than one Kibana per cluster, a cluster with existingCluster still declared, single sign-on and every other paid feature, spaces and narrower privileges in the declaration, saved objects in the declaration, a restore operation for saved objects, limiting a published Kibana by address, metrics, Fleet and the solutions, Logstash and Beats, OpenSearch Dashboards.
Depends on #567
Depends on #569
Depends on #572
Depends on #573
Depends on #579
Depends on #580
Depends on #582
Depends on #615
Activity
shipmill-romamo commentedon Nov 17, 2026
Triage: feature. Serves: G-1, G-3. The behaviour is new, so spec 024 sets it, with its acceptance criteria, before anything is built.
The spec is in #504 (
docs/specs/024-kibana-service.md), with its acceptance criteria. Merging it is the approval, as is an answer on it that takes every recommendation, after which shipmill merges it once it is green; the build starts once it merges.On hold: the build waits on #504, the spec PR.
Record the build issues of specs 022 and 024
Record the build issues of specs 022 and 024 (#585)
shipmill-romamo commentedon Nov 25, 2026
Updated 2026-11-25 15:39 UTC
Every build issue of spec 024 is closed: #567, #569, #572, #573, #579, #580, and #582 (by #614, merged as f98b977). The spec reads
status: builton main, with each criterion's offline proof in its Verification section.No criterion about a live host has run on one yet, so this issue stays open on #615, the live proving run on a fresh Debian 13 host, as #320 does for S-012 and #482 for S-019.