From 78f64cbfda236c19a2ec76ac6fdac23de6eccb6b Mon Sep 17 00:00:00 2001 From: Teodora Sandu <81559517+teodora-sandu@users.noreply.github.com> Date: Thu, 23 May 2024 11:10:23 +0100 Subject: [PATCH] fix: lower strictness of custom endpoint regex validation (#461) --- CHANGELOG.md | 5 ++++- package.json | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 34f5f9154..affe2281c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Snyk Security Changelog -## [2.7.1] +## [2.8.1] +- Lower the strictness of custom endpoint regex validation so that single tenant APIs are allowed. + +## [2.8.0] - Add the Issue View Options panel to the Snyk Security Settings. ## [2.7.0] diff --git a/package.json b/package.json index 19b9409d3..dde5c8a8f 100644 --- a/package.json +++ b/package.json @@ -105,7 +105,7 @@ "type": "string", "markdownDescription": "Sets API endpoint to use for Snyk requests. Useful for custom Snyk setups. E.g. `https://api.eu.snyk.io`.", "scope": "window", - "pattern": "^(|(https?://)api.?[a-zA-Z0-9]{0,19}.(snyk|snykgov).io)$" + "pattern": "^(|(https?://)api.*.(snyk|snykgov).io)$" }, "snyk.advanced.organization": { "type": "string",