[HIGH] /api/command/logs ohne Tenant-Scope — Befehls-Output aller Nodes lesbar #109
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Teil von #108. HIGH.
GET /api/command/logs(command_router.py:244-264) gibtCommandExecutionLog.output(bis 50k Zeichen STDOUT) + vollencommandaller Nodes zurueck — nurget_current_user, keincheck_node_scope, kein Scope-Filter. Befehls-Output kann Secrets enthalten.Fix: Scope-Muster aus #108;
require_read(). Akzeptanz: User sieht nur Logs eigener Nodes; leerernode_name⇒ eigene Nodes.Verifiziert @
282b76e.Umgesetzt in
fb12f7d(Branchsecurity/tenant-scope-108). Test:server/tests/test_tenant_scope.py::test_command_logs_scope. Nicht geschlossen — Review durch Sebastian.Tenant-Scope umgesetzt in
2608722(in main, deployed). Testtest_command_logs_scope. Schließe als erledigt.Verifiziert @
6fabc1f→ gefixt, wird geschlossen.command_router.py
/logs:require_read(),list_user_accessible_nodes, Scope-WHERE vor LIMIT, leerer node_name ⇒ nur eigene Nodes.Muster aus #108 korrekt umgesetzt.