Skip to content

v1.8.17 — CLI reads are audited

Choose a tag to compare

@zw008 zw008 released this 15 Sep 06:00
· 49 commits to main since this release

No CLI read wrote ~/.vmware/audit.db — only MCP calls and CLI writes (@guarded) did. A live
vmware-aria resource list left the audit row count unchanged while the same read over MCP added a row.

Every CLI command that reaches Log Insight now passes the same guard() as its MCP twin and writes one
audit row under that tool's name (7 commands, @audited). Commands that reach nothing remote say so, with a reason (2, @cli_local).
A family gate now fails any CLI command that declares none of @guarded / @audited / @cli_local.

Behaviour change: a deny rule in ~/.vmware/rules.yaml whose operations name a read tool now stops
that CLI command too, as it already stopped the MCP call.

Requires vmware-policy>=1.15.0.