Fix: Webhook-Settings — Backup-Maskierung + Support-Bundle-Diagnose
Audit-Befunde SET-2, SET-4: - notifyUrl in die SENSITIVE_KEYS des Backup-Imports aufgenommen: ein mit "***" maskierter Wert (haendisch redigierte Backup-Datei) wird wieder durch den aktuellen ersetzt statt als kaputte URL persistiert zu werden — die Webhook-URL ist ein Capability-Secret wie die Tokens. - Support-Bundle enthaelt jetzt einen notifications-Block (konfiguriert?, URL-Format plausibel?, welche Toggles an) — "warum kam kein Webhook" ist damit aus einem Bundle diagnostizierbar, ohne die URL selbst zu leaken.
This commit is contained in:
@@ -696,7 +696,8 @@ public async checkDebridAccounts(): Promise<DebridAccountStatus[]> {
|
||||
const SENSITIVE_KEYS: (keyof AppSettings)[] = [
|
||||
"token", "megaLogin", "megaPassword", "bestToken", "allDebridToken",
|
||||
"ddownloadLogin", "ddownloadPassword", "oneFichierApiKey",
|
||||
"debridLinkApiKeys", "linkSnappyLogin", "linkSnappyPassword"
|
||||
"debridLinkApiKeys", "linkSnappyLogin", "linkSnappyPassword",
|
||||
"notifyUrl"
|
||||
];
|
||||
for (const key of SENSITIVE_KEYS) {
|
||||
const val = importedSettingsRecord[key];
|
||||
|
||||
Reference in New Issue
Block a user