Skip to content

Revert

Kimera records every change it makes to a cluster in an operation journal, so one command can undo them.

When a command modifies the cluster — applying a vulnerability, applying a generated policy — Kimera appends an entry to .kimera-state.json in the working directory. Each entry names the action, the exploit type, the target workload, and the namespace. A dry run records nothing.

kimera revert reads the journal and reverses the recorded operations for the -n namespace: rolling a patched deployment back to its previous revision, deleting toolkit-labeled resources, or calling an exploit’s own revert. Once done, it deletes the whole journal file, which includes any entries for other namespaces. MCP attempt_technique and kimera technique run are never recorded, so revert cannot undo their effects; the safety model lists what the journal does and does not cover.

Terminal window
kimera -n target-namespace revert

Pass an exploit type to revert that one alone:

Terminal window
kimera -n target-namespace revert privileged-containers

kimera rollback and kimera rollback-original operate on deployment revisions directly, independent of the journal. Rollback returns a deployment to its previous revision, or to the one named with --revision; rollback-original returns every targeted deployment to revision 1.

All product names and logos are trademarks of their respective owners, used for identification only. No endorsement is implied.