From 5b860bfe399b15deb45c97f87155ee17bf83802a Mon Sep 17 00:00:00 2001 From: Pulse Monitor Date: Sun, 24 Aug 2025 08:12:13 +0000 Subject: [PATCH] feat: add sanitized export option for sharing diagnostics on GitHub Added two export options in Settings > System: - Export Full: Complete diagnostic data for private troubleshooting - Export for GitHub: Sanitized version with redacted sensitive information The sanitized export: - Replaces IP addresses with xxx.xxx.xxx.xxx (keeping first octet for context) - Replaces hostnames with generic names (keeping .lan/.local suffix) - Redacts API token names and cluster names - Adds a notice that data has been sanitized - Filenames clearly indicate 'sanitized' vs 'full' This allows users to safely share diagnostic data on public GitHub issues without exposing their network topology or internal naming conventions. --- .../src/components/Settings/Settings.tsx | 96 +++++++++++++++++-- 1 file changed, 87 insertions(+), 9 deletions(-) diff --git a/frontend-modern/src/components/Settings/Settings.tsx b/frontend-modern/src/components/Settings/Settings.tsx index 165aeb9b4..0e51cc9ff 100644 --- a/frontend-modern/src/components/Settings/Settings.tsx +++ b/frontend-modern/src/components/Settings/Settings.tsx @@ -1963,9 +1963,63 @@ const Settings: Component = () => {

Export system diagnostics data for troubleshooting

- + }; + + return ( +
+ + +
+ ); + })()} + +

+ Export Full: Complete data for private troubleshooting
+ Export for GitHub: Sanitized data safe for public sharing +