Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-7087

Display the last accessed date of a user token

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.7
    • Labels:
      None
    • Edition:
      Community

      Description

      Description

      As a SQ admin I want to know when a token was used for the last time so that I can revoke it or warn concerned people

      Technical detail

      • Add a new column USER_TOKENS#LAST_CONNECTION_DATE (BigInt, Nullable)
      • Update this date each time a user has access to SonarQube using a token, if more than one hour has been spent since last update
      • Update the web service api/user_tokens/search to return a new field lastConnectionDate
      • Update the UI to display the last used dates of users in My Account -> Security

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              julien.lancelot Julien Lancelot
              Reporter:
              julien.lancelot Julien Lancelot
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: