Automattic / Automattic/jetpack

Activity Log: Missing Login Entries

Open
#11,207 4 comments 0 reactions 0 assignees View on GitHub
[Feature] Activity Log [Package] Sync [Pri] Low Bug Customer Report [LEGACY]
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

I'm working with a user whos site was deleted by a rogue employee yesterday. Luckily, we were able to help them restore the site and get things sorted out. The user is back today though asking if we have any logs showing that the site was deleted and if they have an IP address attached to them. I think they are trying to gather proof or evidence for legal action against that employee.

We pointed them to activity log which typically shows the login for the admin users as follows:

![](https://cl.ly/71074f/%255B6caedfe4fbac83d2e49437006bd44acb%255D_Image%2525202019-01-25%252520at%2525203.12.13%252520PM.png)

However, when we look at the activity for the user that deleted everything it appears that some of the entries were missed by activity log, such as the login for the user that deleted everything:

![](https://cl.ly/d80e43/%255B0af06f2e65fbd1125ab79b9da285a40c%255D_Image%2525202019-01-25%252520at%2525203.15.28%252520PM.png)

So here are the questions we have now:

1) Any ideas why there are missing items?
2) Do we have an IP address for that user login and can we provide it to the user?

#9821099-hc #1748926-zen

Contributor guide

Open the contributing guide

Research direction

No source file, test, or entry point is named; start by locating the activity log implementation and the code that records admin logins. Compare the reported missing entries with the screenshots, then document whether login IPs are stored and whether the log can reliably expose them.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
backend, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.