Enhancement: Checkmk widget (#5301)
Some checks are pending
Docker CI / Linting Checks (push) Waiting to run
Docker CI / Docker Build & Push (push) Blocked by required conditions

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
This commit is contained in:
Dmitry Chumak
2025-05-22 20:07:53 +03:00
committed by GitHub
parent ee07a7dcbe
commit 0d47fa8215
7 changed files with 86 additions and 0 deletions

View File

@@ -34,6 +34,9 @@ export default async function credentialedProxyHandler(req, res, map) {
headers["X-CMC_PRO_API_KEY"] = `${widget.key}`;
} else if (widget.type === "gotify") {
headers["X-gotify-Key"] = `${widget.key}`;
} else if (widget.type === "checkmk") {
headers["Accept"] = `application/json`;
headers.Authorization = `Bearer ${widget.username} ${widget.password}`;
} else if (
[
"argocd",