feat(logging): strengthen secret redaction and add admin controls (#12151)

This commit is contained in:
Andras Bacsai
2026-10-13 20:43:19 +02:00
committed by GitHub
parent 9302395063
commit 448dc8ea0a
92 changed files with 4582 additions and 417 deletions
+8
View File
@@ -748,6 +748,14 @@ class Application extends BaseModel
return $this->hasOne(ApplicationSetting::class);
}
/**
* Whether logs hide every environment value, or only locked values.
*/
public function redactsAllEnvValuesInLogs(): bool
{
return $this->settings?->redact_all_env_values_in_logs ?? true;
}
public function persistentStorages()
{
return $this->morphMany(LocalPersistentVolume::class, 'resource');