serilog-contrib / Serilog.Enrichers.Sensitive

A Serilog LogEvent enricher that masks sensitive data
MIT License
110 stars 23 forks source link

Feature Request - Addd masking option to selectively mask specific properties by the masking operators #38

Open munitss opened 1 month ago

munitss commented 1 month ago

While using this library we've stumbled upon a use-case were we want to include only specific properties to be handled by the masking operators, and not automatically be masked by the MaskProperties option.

The ExcludePropeties can't be used in our case as the properties may vary and we can't control/enforce which one are being added / used.

sandermvanvliet commented 1 month ago

Could you provide me with some examples of what you want to happen?