Ops-dashboard/ops-agent
Scrum4Me Agent d605eb17a5 feat(ops-agent): whitelist-config parser + strict command executor
- CommandDef now uses cmd[] array instead of exec string — no shell splitting
- validateArgs() checks every request arg against allowed list; rejects unknown values
- spawn() called with shell:false (execFile semantics); cwd from config
- Audit log (JSON) per call to stdout → captured by systemd journal
- commands.yml.example updated to new schema with 4 read-only commands

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-13 17:18:45 +02:00
..
src feat(ops-agent): whitelist-config parser + strict command executor 2026-05-13 17:18:45 +02:00
.gitignore feat: ops-agent Fastify service met SSE, whitelist en systemd-unit 2026-05-13 17:15:44 +02:00
commands.yml.example feat(ops-agent): whitelist-config parser + strict command executor 2026-05-13 17:18:45 +02:00
package-lock.json feat: ops-agent Fastify service met SSE, whitelist en systemd-unit 2026-05-13 17:15:44 +02:00
package.json feat: ops-agent Fastify service met SSE, whitelist en systemd-unit 2026-05-13 17:15:44 +02:00
tsconfig.json feat: ops-agent Fastify service met SSE, whitelist en systemd-unit 2026-05-13 17:15:44 +02:00