[HIGH] /api/audit/commands ohne Tenant-Scope — globale CommandLog-Historie (params/output) #110
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/audit/commands(audit_router.py:76-99) liefertCommandLog.to_dict()(action+params+output) aller Mandanten;paramskann IPs/Tokens/Pfade enthalten. Kein Scope, nurget_current_user.Fix: Scope-Muster aus #108;
require_read(). Akzeptanz: nur eigene Nodes; Cross-Tenant-Test gruen.Verifiziert @
282b76e.Umgesetzt in
8d1a5cb(Branchsecurity/tenant-scope-108). Test:server/tests/test_tenant_scope.py::test_audit_commands_scope. Nicht geschlossen — Review durch Sebastian.Tenant-Scope umgesetzt in
49d29a4(in main, deployed). Testtest_audit_commands_scope. Schließe als erledigt.Verifiziert @
6fabc1f→ gefixt, wird geschlossen.audit_router.py
/commands:require_read()+ Scope-Filter (eigene Nodes bei leerem node_name, 403 bei fremdem).Muster aus #108 korrekt umgesetzt.