[client] Restrict debug bundle log path and upload destinations (#6975)

This commit is contained in:
Viktor Liu
2026-07-31 19:12:56 +02:00
committed by GitHub
parent f51fadf8d4
commit feecb993f4
24 changed files with 976 additions and 73 deletions
+1 -1
View File
@@ -301,7 +301,7 @@ func (c *Client) DebugBundle(platformFiles PlatformFiles, anonymize bool) (strin
uploadCtx, cancel := context.WithTimeout(context.Background(), 2*time.Minute)
defer cancel()
key, err := debug.UploadDebugBundle(uploadCtx, types.DefaultBundleURL, cfg.ManagementURL.String(), path)
key, err := debug.UploadDebugBundle(uploadCtx, types.DefaultBundleURL, cfg.ManagementURL.String(), path, false)
if err != nil {
return "", fmt.Errorf("upload debug bundle: %w", err)
}