本文へスキップ

Kurahi approvals

このコンテンツはまだ日本語訳がありません。

Manage exec approvals for the local host, gateway host, or a node host. By default, commands target the local approvals file on disk. Use --gateway to target the gateway, or --node to target a specific node.

Related:

Terminal window
kurahi approvals get
kurahi approvals get --node <id|name|ip>
kurahi approvals get --gateway
Terminal window
kurahi approvals set --file ./exec-approvals.json
kurahi approvals set --node <id|name|ip> --file ./exec-approvals.json
kurahi approvals set --gateway --file ./exec-approvals.json
Terminal window
kurahi approvals allowlist add "~/Projects/**/bin/rg"
kurahi approvals allowlist add --agent main --node <id|name|ip> "/usr/bin/uptime"
kurahi approvals allowlist add --agent "*" "/usr/bin/uname"
kurahi approvals allowlist remove "~/Projects/**/bin/rg"
  • --node uses the same resolver as kurahi nodes (id, name, ip, or id prefix).
  • --agent defaults to "*", which applies to all agents.
  • The node host must advertise system.execApprovals.get/set (macOS app or headless node host).
  • Approvals files are stored per host at ~/.kolo/exec-approvals.json.