Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
Validate public allowlist backing
rcourtmand1f602c93b78
diff --git a/internal/api/router_public_paths_inventory_test.go b/internal/api/router_public_paths_inventory_test.goindex 58a5b1564a..4bb91b943c 100644--- a/internal/api/router_public_paths_inventory_test.go+++ b/internal/api/router_public_paths_inventory_test.go@@ -36,6 +36,10 @@ func TestRouterPublicPathsInventory(t *testing.T) {if missing := setDifference(expectedLiterals, expectedPublic); len(missing) > 0 {t.Fatalf("publicPaths entries missing from public route allowlist: %s", strings.Join(sortedKeys(missing), ", "))}+ supportedPublic := sliceToSet(t, append(publicPathsAllowlist, authBypassAllowlist...), "supported public routes")+ if stale := setDifference(expectedPublic, supportedPublic); len(stale) > 0 {+ t.Fatalf("public route allowlist contains paths not backed by bypass logic: %s", strings.Join(sortedKeys(stale), ", "))+ }}func parsePublicPaths(t *testing.T) ([]string, []string) {