Add copy logs button with PII/secret sanitization

Add a copy button to individual container logs that strips sensitive
data before copying to clipboard. Includes sanitization for emails,
database URLs with passwords, JWT tokens, API keys, private key blocks,
and git access tokens.
This commit is contained in:
Duane Adam committed 2025-12-16 11:49:40 +08:00
1 parent 6b88481ce2
commit 327e8181af
4 files changed
+147

No files matched your search

+5
View File
@@ -179,6 +179,11 @@ class GetLogs extends Component
}
}
public function copyLogs(): string
{
return sanitizeLogsForExport($this->outputs);
}
public function render()
{
return view('livewire.project.shared.get-logs');