feat: multi-tenant source namespacing -- isolate log sources per deployment context #50
Labels
No labels
compliance
demo
deployment
docs
enhancement
parser
patterns
performance
security
ux
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Circuit-Forge/turnstone#50
Loading…
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?
When Turnstone is deployed in a shared or enterprise context, log sources from different customers, environments, or teams must be queryable in isolation. Today all sources share a single flat namespace.
Design:
tenant_idfield to source definitions insources.yamltenant_idin thelog_entriestable (new column, nullable -- NULL = default tenant)?tenant=<id>filter?tenant=is specified: only entries from that tenant's sources are returnedlist_sourcesMCP tool and/api/sourcesendpoint filter by tenant if specifiedMigration:
tenant_id = NULL(default behavior unchanged)ALTER TABLEinensure_schema()withIF NOT EXISTSAcceptance criteria: