Serilog.Enrichers.Sensitive
Serilog.Enrichers.Sensitive copied to clipboard
A Serilog LogEvent enricher that masks sensitive data
Draft of what I see to solve my [issue #36 ](https://github.com/serilog-contrib/Serilog.Enrichers.Sensitive/issues/36)
While using this extension with carside pattern created libraries we want to hide specific logProperties. Previously all our carside's logProperties were named in pattern "__". So, when we will be...
This new feature replaces paths and involves support for Windows, Linux, macOS
This was masking session IDs in my application
Thought it would be a good idea, to say `options.MaskProperties.Add("_Password", PasswordMaskingOperator);` That way we can have the same extensiblity to say leave first and last char exposed? Or maybe extending...
Is it possible to have different configurations for different types of sinks? E.g. mask different/less items in log entries going to a file sink vs one going to Azure Application...
This is not something that can be easily fixed in an enricher, but would require changes to the sinks being used. Exceptions are immutable but might contain sensitive data anywhere...
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...
Is it possible to use `MaskingProperties` with full name. I mean with namespace like `Project1.Class1.Property1`. like ``` var logger = new LoggerConfiguration() .Enrich.WithSensitiveDataMasking(options => options.MaskProperties.Add("Project1.Class1.Property1")) .WriteTo.Console() .CreateLogger(); ``` We have...