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

移除日志中的敏感信息 #1572

Open
narasux opened this issue Mar 6, 2024 · 4 comments
Open

移除日志中的敏感信息 #1572

narasux opened this issue Mar 6, 2024 · 4 comments
Assignees
Labels
tenant 多租户版本功能

Comments

@narasux
Copy link
Collaborator

narasux commented Mar 6, 2024

场景:用户密码 / 密码重置链接通过 邮件 / 短信 发送失败后,会出现在日志中,属于敏感信息,可能有泄露的问题

@narasux
Copy link
Collaborator Author

narasux commented Mar 6, 2024

@narasux narasux self-assigned this Mar 6, 2024
@narasux narasux added the tenant 多租户版本功能 label Mar 6, 2024
@narasux
Copy link
Collaborator Author

narasux commented Mar 6, 2024

基于 logging.Filter 实现 https://cloud.tencent.com/developer/article/2317410

@narasux
Copy link
Collaborator Author

narasux commented Mar 6, 2024

class RequestIDFilter(logging.Filter):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tenant 多租户版本功能
Projects
None yet
Development

No branches or pull requests

1 participant