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
Bind the guest transport-refusal control to a valid endpoint
pulse-triage[bot]09e465aadf91
diff --git a/pkg/proxmox/guest_agent_transport_policy_test.go b/pkg/proxmox/guest_agent_transport_policy_test.goindex cb6bdfa8f0..f7a78e9514 100644--- a/pkg/proxmox/guest_agent_transport_policy_test.go+++ b/pkg/proxmox/guest_agent_transport_policy_test.go@@ -75,7 +75,9 @@ func TestGuestAgentCommandClientRejectsUnverifiableTransports(t *testing.T) {}}},} {t.Run(name, func(t *testing.T) {- c := &Client{httpClient: client}+ // Supply a valid admission identity so this control reaches the+ // transport refusal, rather than the earlier endpoint-key check.+ c := &Client{baseURL: "https://unverifiable-transport.invalid/api2/json", httpClient: client}if _, err := c.GetVMAgentInfo(context.Background(), "node", 105); GuestAgentDeferredReason(err) != "agent-transport-unverified" {t.Fatalf("unverified transport admitted: %v", err)}