whuang8 / redactrus Goto Github PK
View Code? Open in Web Editor NEWLogrus hook for redacting sensitive information
License: MIT License
Logrus hook for redacting sensitive information
License: MIT License
Pre-defined regex expressions that match common redacted data types such as credit card numbers, phone numbers, addresses, and social security numbers can be nice to have. A user can have the ability to toggle certain data types they want to redact.
Small issue, but Logrus accepts Nil logging fields and it turns out we have a few instances of this, usually logging an error that in some situations is nil. When adding redactus, the logging now panics in this situation.
I've created a small pull request and added a test to cover this here: #10 Would be great if you could consider merging this so that I can continue to use your original package rather than a fork.
Many thanks.
Check for occurrences of a pattern to redact in the Message of a log entry. Redact if any are found.
Add redaction capability to values of type slice and array in the log entry's Data
field. Currently, Redactrus only redacts text found in the value field if the field is of type string.
Functionality to be built for string slices or string arrays only.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.