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

"Last activity" information (date and time) on the Users page #21371

Open
tostt opened this issue Jan 2, 2025 · 4 comments
Open

"Last activity" information (date and time) on the Users page #21371

tostt opened this issue Jan 2, 2025 · 4 comments
Labels
icebox kind/requirement New feature or idea on top of harbor

Comments

@tostt
Copy link
Contributor

tostt commented Jan 2, 2025

Is your feature request related to a problem? Please describe.
As a way to track who is using Harbor, it would be useful to provide the date and time of "Last activity" for each user on the Users page. There is currently no way to know which users are "current" users.

Describe the solution you'd like
This could be a new column labeled "Last activity" next to the "Registration time" column, with a similar formatting.
The column could be sortable.

Describe the main design/architecture of your solution
I'm not sure of a simple and economical way to do this.
An alternative, maybe simpler way to do something similar, would be to show the "Last login" rather than the 'Last activity'"

@wy65701436 wy65701436 added the kind/requirement New feature or idea on top of harbor label Jan 3, 2025
@wy65701436
Copy link
Contributor

Thanks, @tostt, for your contribution! Could you please provide more details about your request? For example, if Harbor were to provide the "Last Activity" feature, how would you use it? What specific benefits would you expect to gain from it?

@tostt
Copy link
Contributor Author

tostt commented Jan 3, 2025

Thank you for your reply.
The main point is to give a quick and complete overview of who is actually using Harbor, vs being a registered user.

In a corporate environment, there may be many people using Harbor. Such a feature will help confirm that the actual usage conforms to the plan.
Such a feature can also help catch errors. As a Harbor administrator, I am not always notified when people leave the organisation. This helps to identify unused accounts, which is also a security issue.
The difference between "last activity" and "last login" is not important to me. "Last login", which is probably easier to implement, is sufficient for my purposes.

@wy65701436
Copy link
Contributor

You can monitor the enhancement of the audit log in the upcoming release, v2.13.0. This release will include the login action, along with other operations. With these updates, you are able to leverage the audit logs for offline analysis and track user activities.

@tostt
Copy link
Contributor Author

tostt commented Jan 6, 2025

Thank you for getting back to me.
It's nice that the audit log is enhanced.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
icebox kind/requirement New feature or idea on top of harbor
Projects
None yet
Development

No branches or pull requests

2 participants