serilog-contrib / Serilog.Enrichers.Sensitive

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

updating to check if the number is actually a credit card using luhn #35

Open dicko2 opened 4 months ago

dicko2 commented 4 months ago

This was masking session IDs in my application

sandermvanvliet commented 3 months ago

@dicko2 always a risk when using regexes...

Could you please add tests that demonstrate the new behaviour?