Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

Merge remote-tracking branch 'origin/next' into api-sensitive-data-scrubber

Andras Bacsaib01c2dd52b1b
diff --cc app/Models/ApplicationDeploymentQueue.php
index f857a34646,53fb8337fe..ee190532c4
--- a/app/Models/ApplicationDeploymentQueue.php
+++ b/app/Models/ApplicationDeploymentQueue.php
@@@ -74,8 -75,17 +75,18 @@@ class ApplicationDeploymentQueue extend
'finished_at',
];
+ /**
+ * The configuration snapshot/diff hold full (decrypted on read) configuration,
+ * including unlocked environment variable values. They are only meant for the
+ * in-app diff modal (which redacts per role) and must never be serialized by the
+ * API, so hide them globally as defense in depth.
+ *
+ * @var array<int, string>
+ */
protected $hidden = [
+ 'logs',
+ 'configuration_snapshot',
+ 'configuration_diff',
];
protected $casts = [