Skip to content

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. Default default. 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.

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.

Demonstrates one exploit against a mapped workload. Run with no argument to list the available exploit types.

  • EXPLOIT_TYPE — exploit to run, for example privileged-containers.
  • --mode — one of info, vulnerable, or demo. Default demo.
  • --service — workload to exploit. Defaults to the profile’s exploit_mappings entry 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.

Runs every exploit mapped in the active profile in turn, pausing for confirmation between them.

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.

Applies a named vulnerability to one workload.

  • SERVICE — target workload.
  • VULN_TYPE — one of privileged, capabilities, host-namespace, no-limits, no-network-policies, rbac, or all.

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.

Prints the remediation commands for one named workload.

  • SERVICE — target workload.

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.

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.

Rolls every targeted workload back to revision 1.

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.

Prints the namespace state, each deployment’s ready replicas, and a quick security check of the targeted workloads.

Applies Kubernetes resources from a YAML file and records the operation in the journal.

  • FILE — path to the YAML manifest to apply.

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 of network-policy, admission, rbac, or all. Default all.
  • --json — emit results as JSON.

Manages Cilium-based NetworkPolicy enforcement. The command is a group with three subcommands.

Checks for Cilium enforcement and prints install guidance when it is not found.

Prints guidance for removing Cilium and disabling enforcement.

Prints whether NetworkPolicy enforcement is installed and, when active, the Cilium image and replica counts.

Generates remediation or exploit YAML with an LLM, then optionally applies it.

  • --mode — remediate or exploit. Default remediate.
  • --type — one of all, privileged-containers, dangerous-capabilities, host-namespace-sharing, missing-resource-limits, missing-network-policies, or rbac-abuse. Default missing-network-policies.
  • --service — target workload for exploit mode.
  • -o, --output — output file path. Defaults to kimera-remediations.yaml, or kimera-exploit.yaml in exploit mode.
  • --model — model identifier. Default claude-sonnet-4-6. A provider/model prefix routes through litellm.
  • --apply — apply the generated resources after writing them.
  • --enrich — enrich the LLM context from an observability provider; dynatrace is the built-in choice.
  • --enrich-strategy — one of targeted, llm-query, or davis. Default targeted.
  • --from-findings — a findings document from kimera exploit --json, used to scope remediation to the exploited workload.
  • --scope — targeted or namespace. Defaults to targeted with findings, namespace without.
  • -y, --yes — skip the apply confirmation prompt.

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. Default dynatrace.
  • --json — emit records as JSON.

Lists and runs ATT&CK-mapped techniques from the registry. The command is a group with two subcommands.

Shows the techniques in the registry.

  • --phase — show only techniques in this phase.

Runs one technique against a target and reports its evidence.

  • TECHNIQUE_ID — technique to run.
  • --pod — target pod for exec-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-run has 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.