Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need magic PII-free debugging method for API #937

Open
terrazoon opened this issue Apr 19, 2024 · 0 comments
Open

Need magic PII-free debugging method for API #937

terrazoon opened this issue Apr 19, 2024 · 0 comments

Comments

@terrazoon
Copy link
Contributor

terrazoon commented Apr 19, 2024

We repeatedly find ourselves in situations where we need to debug things via debug statements (on staging or production for example), yet we are very skittish about leaving these debug statements in place due to their tendency to leak PII into the logs.

It would be nice to have the logger class do some kind of PII-masking for us so that a logging statement like:

user joe.public@fake.gov has phone +15555555555

would auto-magically become

user xxx.xxxxxx@fake.gov has phone +1555555XXXX

or something like that. That way the debug statements could be left in permanently.

@terrazoon terrazoon self-assigned this Apr 19, 2024
@terrazoon terrazoon changed the title Need magic PII-free debugging method Need magic PII-free debugging method for API Apr 19, 2024
@terrazoon terrazoon removed their assignment Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🌱 New
Development

No branches or pull requests

1 participant