The goal is automatically re-enable users who attempt to log in to the Atlassian products (JIRA, Confluence, BitBucket) that are managed in Crowd AND disable another user that has the longest time since login (and has not logged in for X days).
The current process is a daily script that disables user accounts that have not logged in for 90 days, but re-enabling users is a manual process.
We would like to keep a "rolling window" of users to save on licences, and done in an automated way.
1. For each user that is automatically re-enabled,
2. we would like to deactivate a user that rarely logs in (i.e. 14 days since login). If the user account has logged in within 14 (or X) days, do not disable the user account
3. We would also like to track whether we need an increase in licences if the number of active users diverges from the number of users disabled
Has anyone solved this problem before?
You can track the recent failed logon by scanning the logs and then re-enable them via REST API using some script . But this won't be instantaneous when a disabled user tries to login.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.