From fa40bb85cf198e3c1fb3623df6fc31d2f25d8cf0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Magall=C3=B3n=20Soler?= Date: Wed, 9 Jul 2025 10:37:51 +0200 Subject: [PATCH 1/2] fix: Support app.region format url --- utils/sysdig/client_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/sysdig/client_config.py b/utils/sysdig/client_config.py index ac244da..c4103b1 100644 --- a/utils/sysdig/client_config.py +++ b/utils/sysdig/client_config.py @@ -79,7 +79,7 @@ def _get_public_api_url(base_url: str) -> str: # This assumes the region is a subdomain that starts with 2 lowercase letters and ends with a digit pattern = re.search(r"https://(?:(?P[a-z]{2}\d)\.app|app\.(?P[a-z]{2}\d))\.sysdig\.com", base_url) if pattern: - region = pattern.group(1) # Extract the region + region = pattern.group("region1") or pattern.group("region2") # Extract the region return f"https://api.{region}.sysdig.com" else: # Edge case for the secure API URL that is us1 From 949dbd5bbe087f0394799c6231a25d7fd4f51dd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Magall=C3=B3n=20Soler?= Date: Wed, 9 Jul 2025 10:44:53 +0200 Subject: [PATCH 2/2] Beta version upgrade --- charts/sysdig-mcp/Chart.yaml | 2 +- charts/sysdig-mcp/values.yaml | 2 +- pyproject.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/sysdig-mcp/Chart.yaml b/charts/sysdig-mcp/Chart.yaml index 09eecaa..e751341 100644 --- a/charts/sysdig-mcp/Chart.yaml +++ b/charts/sysdig-mcp/Chart.yaml @@ -26,4 +26,4 @@ version: 0.1.3 # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: "v0.1.3-beta.0" +appVersion: "v0.1.3-beta.1" diff --git a/charts/sysdig-mcp/values.yaml b/charts/sysdig-mcp/values.yaml index 765c3e4..4cb43f8 100644 --- a/charts/sysdig-mcp/values.yaml +++ b/charts/sysdig-mcp/values.yaml @@ -8,7 +8,7 @@ image: repository: ghcr.io/sysdiglabs/sysdig-mcp-server pullPolicy: IfNotPresent # Overrides the image tag whose default is the chart appVersion. - tag: "v0.1.3-beta.0" + tag: "v0.1.3-beta.1" imagePullSecrets: [] nameOverride: "" diff --git a/pyproject.toml b/pyproject.toml index 1760fb7..b1d7526 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "sysdig-mcp-server" -version = "0.1.3-beta.0" +version = "0.1.3-beta.1" description = "Sysdig MCP Server" readme = "README.md" requires-python = ">=3.12"