From f7b80524a5e418841374ab7b28a5650320ba12be Mon Sep 17 00:00:00 2001 From: Vibhu Pandey Date: Sat, 26 Oct 2024 16:11:43 +0530 Subject: [PATCH] feat(integrations): whitelist /deployments/me (#6275) --- ee/query-service/integrations/gateway/proxy.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ee/query-service/integrations/gateway/proxy.go b/ee/query-service/integrations/gateway/proxy.go index 493dd4130b..06cb08c33a 100644 --- a/ee/query-service/integrations/gateway/proxy.go +++ b/ee/query-service/integrations/gateway/proxy.go @@ -9,8 +9,8 @@ import ( ) var ( - RoutePrefix string = "/api/gateway" - AllowedPrefix []string = []string{"/v1/workspaces/me", "/v2/profiles/me"} + RoutePrefix string = "/api/gateway" + AllowedPrefix []string = []string{"/v1/workspaces/me", "/v2/profiles/me", "/v2/deployments/me"} ) type proxy struct {