CLI
The kimera command groups every assessment, exploitation and remediation command. Options defined on the group apply to all of them and go before the command name.
Global options:
-n,--namespace— target namespace. Defaultdefault. A profile named after the namespace loads automatically when it exists.-p,--profile— config profile name. Overrides the namespace-matched profile.--dry-run— preview changes without applying them.--debug— enable debug output.-v,--verbose— enable verbose output.--non-interactive— never prompt; assume the safe answer at every confirmation.--yes— affirm destructive confirmations. Takes effect only with--non-interactive.
kimera assess
Section titled “kimera assess”Scans every deployment in the namespace against the CIS Kubernetes Benchmark checks and prints the findings.
--json— emit the report as JSON instead of a table.
An optional SERVICE argument is accepted but the scan always covers every deployment in the namespace.
kimera exploit
Section titled “kimera exploit”Demonstrates one exploit against a mapped workload. Run with no argument to list the available exploit types.
EXPLOIT_TYPE— exploit to run, for exampleprivileged-containers.--mode— one ofinfo,vulnerable, ordemo. Defaultdemo.--service— workload to exploit. Defaults to the profile’sexploit_mappingsentry for the type.--json— write a findings document to stdout; all other output goes to stderr.
The vulnerable mode, and the demo mode once confirmed, call the exploit’s make-vulnerable path, which does not honor the global --dry-run. See safety model.
kimera exploit-all
Section titled “kimera exploit-all”Runs every exploit mapped in the active profile in turn, pausing for confirmation between them.
kimera vuln
Section titled “kimera vuln”Applies every standard vulnerability to the profile’s mapped workloads. Prompts for confirmation unless --dry-run is set; combine --non-interactive with --yes to proceed without a prompt.
kimera vuln-service
Section titled “kimera vuln-service”Applies a named vulnerability to one workload.
SERVICE— target workload.VULN_TYPE— one ofprivileged,capabilities,host-namespace,no-limits,no-network-policies,rbac, orall.
kimera secure
Section titled “kimera secure”Prints remediation guidance for an exploit type, or for every mapped type when no argument is given.
EXPLOIT_TYPE— exploit type to remediate.-s,--service— override the target workload.
kimera secure-service
Section titled “kimera secure-service”Prints the remediation commands for one named workload.
SERVICE— target workload.
kimera verify
Section titled “kimera verify”Checks each targeted workload for privileged mode, dangerous capabilities, host-namespace access, missing resource limits, and the presence of NetworkPolicies, then prints a pass or fail per workload.
kimera rollback
Section titled “kimera rollback”Rolls a deployment back to a previous revision.
SERVICE— workload to roll back. Omit to roll back every resolved workload.-r,--revision— revision number to roll back to.
kimera rollback-original
Section titled “kimera rollback-original”Rolls every targeted workload back to revision 1.
kimera revert
Section titled “kimera revert”Reverses the operations recorded in the journal (.kimera-state.json) for the -n namespace, then deletes the whole journal file, including any entries for other namespaces. MCP and kimera technique run actions are never journaled, so revert cannot undo them. See revert and the safety model.
EXPLOIT_TYPE— revert only this exploit type instead of the whole journal.
kimera status
Section titled “kimera status”Prints the namespace state, each deployment’s ready replicas, and a quick security check of the targeted workloads.
kimera apply
Section titled “kimera apply”Applies Kubernetes resources from a YAML file and records the operation in the journal.
FILE— path to the YAML manifest to apply.
kimera validate-control
Section titled “kimera validate-control”Tests whether security controls block attacks. Admission tests submit resources with server-side dry-run, network-policy tests create a short-lived probe pod, and RBAC analysis reads bindings and role rules. The command exits 0 whatever the verdicts, so a pipeline reads the result from --json rather than the exit code. See defense validation.
--type— one ofnetwork-policy,admission,rbac, orall. Defaultall.--json— emit results as JSON.
kimera enforce
Section titled “kimera enforce”Manages Cilium-based NetworkPolicy enforcement. The command is a group with three subcommands.
enforce enable
Section titled “enforce enable”Checks for Cilium enforcement and prints install guidance when it is not found.
enforce disable
Section titled “enforce disable”Prints guidance for removing Cilium and disabling enforcement.
enforce status
Section titled “enforce status”Prints whether NetworkPolicy enforcement is installed and, when active, the Cilium image and replica counts.
kimera generate
Section titled “kimera generate”Generates remediation or exploit YAML with an LLM, then optionally applies it.
--mode—remediateorexploit. Defaultremediate.--type— one ofall,privileged-containers,dangerous-capabilities,host-namespace-sharing,missing-resource-limits,missing-network-policies, orrbac-abuse. Defaultmissing-network-policies.--service— target workload for exploit mode.-o,--output— output file path. Defaults tokimera-remediations.yaml, orkimera-exploit.yamlin exploit mode.--model— model identifier. Defaultclaude-sonnet-4-6. Aprovider/modelprefix routes through litellm.--apply— apply the generated resources after writing them.--enrich— enrich the LLM context from an observability provider;dynatraceis the built-in choice.--enrich-strategy— one oftargeted,llm-query, ordavis. Defaulttargeted.--from-findings— a findings document fromkimera exploit --json, used to scope remediation to the exploited workload.--scope—targetedornamespace. Defaults totargetedwith findings,namespacewithout.-y,--yes— skip the apply confirmation prompt.
kimera query
Section titled “kimera query”Runs a query against an observability provider in the provider’s own query language and prints the records.
QUERY_STRING— the query to run.--provider— provider to query. Defaultdynatrace.--json— emit records as JSON.
kimera technique
Section titled “kimera technique”Lists and runs ATT&CK-mapped techniques from the registry. The command is a group with two subcommands.
technique list
Section titled “technique list”Shows the techniques in the registry.
--phase— show only techniques in this phase.
technique run
Section titled “technique run”Runs one technique against a target and reports its evidence.
TECHNIQUE_ID— technique to run.--pod— target pod forexec-mode techniques.--param KEY=VALUE— value for a{{ KEY }}placeholder in the technique’s probes. Repeatable.--dry-run— print the resolved probe script without running it. This is the subcommand’s own flag; the global--dry-runhas no effect here.--json— emit the result as JSON.
Parameter values are substituted into probe fields by plain text replacement, neither validated nor shell-quoted. See safety model.
All product names and logos are trademarks of their respective owners, used for identification only. No endorsement is implied.
