Pulse/internal/hostagent
rcourtman 2420c2affb feat: Commands disabled by default, require --enable-commands to opt-in
BREAKING CHANGE: AI command execution on agents is now disabled by default.
Users who want AI auto-fix must explicitly enable it with --enable-commands
flag or PULSE_ENABLE_COMMANDS=true environment variable.

Changes:
- Add --enable-commands flag (opt-in for command execution)
- Commands disabled by default for security (defense-in-depth)
- --disable-commands is now deprecated (logs warning, no longer needed)
- PULSE_DISABLE_COMMANDS deprecated in favor of PULSE_ENABLE_COMMANDS
- Update installer script to use --enable-commands
- Backwards compatibility: PULSE_DISABLE_COMMANDS=false still enables commands

This addresses community feedback about secure defaults for arbitrary
command execution on production infrastructure.

Related to #889
2025-12-24 17:36:44 +00:00
..
agent.go feat: Commands disabled by default, require --enable-commands to opt-in 2025-12-24 17:36:44 +00:00
agent_buffering_test.go Fix offline buffering: add tests, remove unused config, fix flaky test 2025-12-02 22:31:44 +00:00
agent_flushbuffer_test.go Add meaningful tests for host agent and exec websocket 2025-12-17 17:02:01 +00:00
agent_new_test.go hostagent: avoid identity collisions with MAC fallback (Related to #836) 2025-12-17 20:09:55 +00:00
agent_sensors_test.go Add meaningful tests for host agent and exec websocket 2025-12-17 17:02:01 +00:00
agent_test.go hostagent: avoid identity collisions with MAC fallback (Related to #836) 2025-12-17 20:09:55 +00:00
command_client_test.go feat: Commands disabled by default, require --enable-commands to opt-in 2025-12-24 17:36:44 +00:00
commands.go fix: reduce WebSocket reconnection log noise in host agent 2025-12-22 14:11:23 +00:00
commands_connect_test.go Add meaningful tests for host agent and exec websocket 2025-12-17 17:02:01 +00:00
commands_execute_test.go Add meaningful tests for host agent and exec websocket 2025-12-17 17:02:01 +00:00
commands_registration_test.go Add meaningful tests for host agent and exec websocket 2025-12-17 17:02:01 +00:00
proxmox_setup.go hostagent: avoid host ID collisions and prefer LAN IP 2025-12-17 16:29:59 +00:00
proxmox_setup_test.go hostagent: avoid host ID collisions and prefer LAN IP 2025-12-17 16:29:59 +00:00
send_report_test.go hostagent: avoid host ID collisions and prefer LAN IP 2025-12-17 16:29:59 +00:00
version.go Add API token scopes and standalone host agent 2025-10-23 11:40:31 +00:00