AzureAD / microsoft-authentication-library-for-dotnet

Microsoft Authentication Library (MSAL) for .NET
https://aka.ms/msal-net
MIT License
1.38k stars 338 forks source link

[Feature Request] Provide granular PII obfuscation mechanism #2871

Open rymeskar opened 3 years ago

rymeskar commented 3 years ago

Today, the pii handling in the log callback forces the consumers to one of the following:

The ask is to:

bgavrilMS commented 3 years ago

See ILogScrubber in MISE

rymeskar commented 3 years ago

Yeah, ILogScrubber ala MISE would be great.

TimHannMSFT commented 2 years ago

Thanks @rymeskar, @sruke will be picking this work up. Plan is to offer something similar to MISE concept all down the stack (and into MS.IM/Wilson

KalleOlaviNiemitalo commented 2 years ago

Is MISE a Microsoft internal library (maybe an abbreviation for Microsoft.Internal.Security.Extensions) and ILogScrubber an interface in it? I found only https://github.com/microsoft/Omex/pull/417.

rymeskar commented 8 months ago

Microsoft.Extensions 8 now has a redaction support: https://learn.microsoft.com/en-us/dotnet/api/microsoft.extensions.compliance.redaction.redactor?view=dotnet-plat-ext-8.0