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

Add sanitization for dblog #5764

Open
primsi opened this issue Sep 25, 2023 · 2 comments
Open

Add sanitization for dblog #5764

primsi opened this issue Sep 25, 2023 · 2 comments

Comments

@primsi
Copy link

primsi commented Sep 25, 2023

Database log entries may contain user-related information, such as debug data. In use cases, where sanitization is used when importing prod db to staging environments, it may not be as relevant to include log entries from different environments.

We could add a command that takes care of that, but for BC make it opt-in.

If maintainers think this makes sense, I could create a PR for this.

@weitzman
Copy link
Member

I would consider this is plain drupal core enters sensitive info into the logs. If it takes contrib or custom code to do it, I dont think Drush core needs to handle it.

@Berdir
Copy link
Contributor

Berdir commented Nov 6, 2023

the watchdog table contains IP's, that many any log entry connected to a user personal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants