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
Use the canonical API error fields in audit bound checks
pulse-triage[bot]0431bb8e14c3
diff --git a/internal/api/audit_export_bounds_test.go b/internal/api/audit_export_bounds_test.goindex 34de821a88..6ec91caa09 100644--- a/internal/api/audit_export_bounds_test.go+++ b/internal/api/audit_export_bounds_test.go@@ -69,7 +69,7 @@ func TestAuditExportRejectsOversizedSelection(t *testing.T) {if err := json.Unmarshal(rec.Body.Bytes(), &body); err != nil {t.Fatal(err)}- if body.Code != "export_too_large" || !strings.Contains(body.Message, "10000") || !strings.Contains(body.Message, "Narrow") {+ if body.Code != "export_too_large" || body.StatusCode != http.StatusBadRequest || body.Details["maxEvents"] != "10000" || !strings.Contains(body.ErrorMessage, "10000") || !strings.Contains(body.ErrorMessage, "Narrow") {t.Fatalf("missing bounded recovery error: %+v", body)}if strings.Contains(rec.Body.String(), "synthetic-event") || rec.Header().Get("Content-Disposition") != "" || rec.Header().Get("X-Event-Count") != "" {