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

chore: log user email in malicious file upload alert #1832

Merged
merged 1 commit into from
May 12, 2022

Conversation

gweiying
Copy link
Contributor

@gweiying gweiying commented May 10, 2022

Problem

What problem are you trying to solve? What issue does this close?

Currently, malicious file upload alerts only logs user ID, which is unhelpful for debugging purposes as we need to retrieve user email and contact them for tracing purposes. Closes #1785

Solution

How did you solve the problem?

Retrieve user email from session token and logs it in alert for easier retrieval.
Screenshot 2022-05-11 at 5 26 38 PM

@gweiying gweiying marked this pull request as ready for review May 11, 2022 09:25
@gweiying gweiying requested a review from yong-jie May 12, 2022 04:10
@gweiying gweiying merged commit d984a41 into develop May 12, 2022
@gweiying gweiying deleted the chore/malicious-alert branch May 12, 2022 04:30
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

Successfully merging this pull request may close these issues.

Log user email in malicious file upload alert
2 participants