You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Split out of #18 ("Free-form deployment metadata").
Problem
tenantId, category and deploymentSource of a deployment are free strings taken from the caller (DeploymentBundleProcessor, the upload processors and the CLI upload commands). deploymentSource can be spoofed, and on a multi-tenant engine a caller can deploy into any tenant.
Proposal
Set or prefix deploymentSource server-side (e.g. the transport and the acting user), instead of taking it from the caller.
Check tenantId and category against an allowlist from the bundle configuration, or derive the tenant from the selected ApiConfiguration.
Decide per transport (HTTP, MCP, CLI) what a caller may still choose.
Open questions
Where the allowlist lives: bundle configuration, or the ApiConfiguration of the engine connection.
Whether this is a breaking change for consumers that set these fields today.
Activity