Skip to content

Kibana as a Service kind: dashboards for the people who use a declared Elasticsearch service #503

Open
7 of 8 issues completed

Description

@shipmill-romamo

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:

  • Service kinds are postgresql, redis, elasticsearch and mariadb only
  • config validate and audit know 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

  1. serviceKind: kibana that names the Elasticsearch service it reads, a declared Node.js heap, and no version: Kibana is installed at the cluster's version and held
  2. On a node of its cluster, on loopback. Kibana talks to that node only, with a token of the elastic/kibana service account that exists on that node alone; the kibana_system password is never touched
  3. People log in with the users S-012 declares. kibana.users names which of them may view or edit; their indices stay limited by their own role
  4. Published by an existing Domain, with its certificate, or reached through an SSH forward when none is declared
  5. 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
  6. A version change of the cluster moves Kibana in the same converge, after every node
  7. 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

Sub-issues

Sub-issues

7 of 8 Issues completed
Loading 8 sub-issues

Activity

  1. added
    enhancement
    on Nov 17, 2026
  2. shipmill-romamo commented on Nov 17, 2026

    @shipmill-romamo
    ContributorAuthor

    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.

  3. shipmill-romamo commented on Nov 25, 2026

    @shipmill-romamo
    ContributorAuthor

    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: built on 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions