Skip to content

armgit / Pulse

Public Imported from GitHub
0

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.

Keep API guidance rejection control aligned with supported methods

pulse-triage[bot]45f4407c233d
diff --git a/scripts/installtests/api_guidance_test.go b/scripts/installtests/api_guidance_test.go
index 951049acb8..27eb9851c0 100644
--- a/scripts/installtests/api_guidance_test.go
+++ b/scripts/installtests/api_guidance_test.go
@@ -224,7 +224,8 @@ func TestPulseAPIGuidanceHelperStopsBeforeCurlOnUnsafeFilesOrPreparation(t *test
call := "pulse_api GET /api/state/summary"
switch mode {
case "unsupported method":
- call = "pulse_api DELETE /api/actions/act_example"
+ // DELETE is supported by the shared RBAC helper; PATCH is not.
+ call = "pulse_api PATCH /api/actions/act_example"
case "full URL":
call = "pulse_api GET https://not-this-instance.invalid/api/state"
case "extra argument":