mirror of
https://github.com/coollabsio/coolify.git
synced 2026-11-06 13:10:37 -04:00
feat(logging): strengthen secret redaction and add admin controls (#12151)
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user