Serilog.Enrichers.Sensitive icon indicating copy to clipboard operation
Serilog.Enrichers.Sensitive copied to clipboard

Feature request - Add logPropertyName passed to the Masking operators call

Open Dimon24021993 opened this issue 1 year ago • 0 comments

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 "<devTeam><libraryName><propertyName>".

So, when we will be able to filter "our" properties by name pattern - it will much easier to create predefined masking operators per library.

As an example we wanna mask email while sending mesage via SMTP. We can use EmailAddressMaskinjgOperator but it will mask all emails logged in the application, but maybe that some emails are public and can be logged.

It is a more generic solution of issue #29 (Feature request - add customMaskingOperator option to items in maskProperties list.)

Dimon24021993 avatar May 08 '24 10:05 Dimon24021993