[MXS-3912] maxctrl command to check last time login details for any Maxscale user Created: 2021-12-14  Updated: 2022-11-10  Resolved: 2022-04-28

Status: Closed
Project: MariaDB MaxScale
Component/s: maxctrl, REST-API
Affects Version/s: None
Fix Version/s: 22.08.0

Type: New Feature Priority: Minor
Reporter: Pramod Mahto Assignee: markus makela
Resolution: Fixed Votes: 0
Labels: None

Sprint: MXS-SPRINT-156

 Description   

Currently we have only option to list out the users with in Maxscale.

 
[root@c8_maxscale_01 ~]# maxctrl list users
┌───────────────┬──────┬────────────┐
│ Name          │ Type │ Privileges │
├───────────────┼──────┼────────────┤
│ maxscaleadmin │ inet │ basic      │
├───────────────┼──────┼────────────┤
│ admin         │ inet │ admin      │
└───────────────┴──────┴────────────┘

Last Access Date/Time column can help to understand when which user logged in with in Maxscale.



 Comments   
Comment by markus makela [ 2022-04-26 ]

Added creation date, last password update and last login to the REST API output for users. These are also shows in the maxctrl list users output.

Users created in older versions will show empty values for any timestamps that aren't found. The last login timestamp isn't stored on disk which means it will only show the correct values since the last restart of MaxScale.

Generated at Thu Feb 08 04:24:51 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.