From 82e6a10d98037808a847ca0ad790186feef2bfe9 Mon Sep 17 00:00:00 2001 From: Jan Oberhauser Date: Sun, 1 Mar 2020 09:45:29 +0100 Subject: [PATCH] :lock: Fix rest API security issue --- packages/cli/src/Server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cli/src/Server.ts b/packages/cli/src/Server.ts index 504d8d9da..5c0bed010 100644 --- a/packages/cli/src/Server.ts +++ b/packages/cli/src/Server.ts @@ -129,7 +129,7 @@ class App { async config(): Promise { this.versions = await GenericHelpers.getVersions(); - const authIgnoreRegex = new RegExp(`^\/(rest|healthz|${this.endpointWebhook}|${this.endpointWebhookTest})\/?.*$`); + const authIgnoreRegex = new RegExp(`^\/(healthz|${this.endpointWebhook}|${this.endpointWebhookTest})\/?.*$`); // Check for basic auth credentials if activated const basicAuthActive = config.get('security.basicAuth.active') as boolean;