Pulse/internal/agentexec
rcourtman d71b6bd756 fix: Allow qm/pct reboot/shutdown commands with approval
The blocked patterns for 'reboot' and 'shutdown' were too broad,
matching anywhere in the command string. This caused legitimate
Proxmox VM control commands like 'qm reboot 201' to be blocked
instead of requiring approval.

Fix by anchoring these patterns to only match bare system commands
(^reboot, ^shutdown, etc.) while allowing qm/pct variants through
the RequireApproval path.

Related to #1024
2026-01-04 17:57:51 +00:00
..
policy.go fix: Allow qm/pct reboot/shutdown commands with approval 2026-01-04 17:57:51 +00:00
policy_test.go fix: Allow qm/pct reboot/shutdown commands with approval 2026-01-04 17:57:51 +00:00
server.go Improve internal package test coverage 2025-12-29 17:25:21 +00:00
server_coverage_test.go Improve internal package test coverage 2025-12-29 17:25:21 +00:00
server_test.go Improve internal package test coverage 2025-12-29 17:25:21 +00:00
server_websocket_test.go Add meaningful tests for host agent and exec websocket 2025-12-17 17:02:01 +00:00
types.go Enhance devcontainer and CI workflows 2026-01-01 22:29:15 +00:00