Skip to content

v2.9.2

Latest

Choose a tag to compare

@github-actions github-actions released this 06 Dec 20:14
901c8aa

kubeintellect 2.9.2 — kube-q stays at 1.8.0, ki-protocol at 1.2.0. No database migration.

Fixed — a read-only key could read the command and YAML of a change waiting for approval

Any valid key, readonly included, could read what an operator was being asked to approve. The stored request for approval holds the command and, for apply, the whole manifest, and the replay routes returned it as recorded.

Now GET /v1/events/replay/{session_id}, GET /v1/episodes/{episode_id}/replay and the rollback_points in GET /v1/digest give a change's command and stdin_yaml only to superadmin, admin and operator keys. Any other key, and any role the server does not know, still sees that an approval was asked for, its risk_level and action_id, with a short notice in place of the command. The tool call and captured state that name the same command are held back too.

This changes only what is shown. Who may run, approve or refuse a change is not touched. Versions before 2.9.2 are affected.

If you read replays or the digest with a readonly key (for example kq replay), you will now see the notice; use an operator or admin key to read the commands.

Upgrade notes: v4/docs/upgrade.md, "Upgrading to 2.9.2 (from 2.9.1)".

Image: ghcr.io/mskazemi/kubeintellect:2.9.2 (also kazemi/kubeintellect:2.9.2). Chart: oci://ghcr.io/mskazemi/charts/kubeintellect 2.9.2.