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.

Compile the copied PBS request controls against addressable recipes

pulse-triage[bot]50941e431ae9
diff --git a/scripts/installtests/pbs_api_guidance_test.go b/scripts/installtests/pbs_api_guidance_test.go
index fa42e79e87..ddeca21d09 100644
--- a/scripts/installtests/pbs_api_guidance_test.go
+++ b/scripts/installtests/pbs_api_guidance_test.go
@@ -274,7 +274,8 @@ func TestPBSAPIGuidanceRejectsUnsafeRecipesAndExactParent(t *testing.T) {
// and identifying data. This proves copied transport/file safety, not native
// PBS permissions, installed collection, backup recovery or agent installation.
func TestPBSAPIGuidanceCopiedRequestsKeepSecretsPrivate(t *testing.T) {
- for index, recipe := range pbsAPIGuidance(t)[2:] {
+ blocks := pbsAPIGuidance(t)
+ for index, recipe := range blocks[2:] {
for _, scenario := range []string{"success", "401", "403", "redirect", "wrong success status", "untrusted HTTPS", "truncated installer", "existing installer", "symlinked header"} {
if (index == 0 && scenario == "symlinked header") || (index == 1 && strings.Contains(scenario, "installer")) {
continue