Skip to content

Commit

Permalink
Added another username redaction
Browse files Browse the repository at this point in the history
  • Loading branch information
JimmahDean authored Feb 23, 2023
1 parent 6e3e71e commit e4aefc9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions client/Monolith.cs
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,9 @@ public static async Task Specificialize()
//Redacts the username from BasicInfo
serialized = serialized.Replace($@"""Username"": ""{Cache.Username}""", @"""Username"": ""[REDACTED]""");

//DOMAIN\Username -> DOMAIN\[REDACTED]
serialized = serialized.Replace($@"{m.BasicInfo.Domain}\\{Cache.Username}", $@"{m.BasicInfo.Domain}\\[REDACTED]");

await DebugLog.LogEventAsync("Username Redacted from report");
}

Expand Down

0 comments on commit e4aefc9

Please sign in to comment.