Make Audit logs use username instead of Full Name

XMLWordPrintable

    • 1
    • 1

      Logging in Audit logs shows the full name instead of username.

      Some organizations use username rather than full name across their systems.

      We should either update the field logged to be username or make it configurable.

      Current Functionality Example

      Here we have the full names of "admin full name" and "Cole Aronson" being logged with a username change. We can only see the username of the user being changed in the details:

      Logs confirm the username for the admin is never logged:

      {"affectedObjects":[{"id":"2c9dd0f18e772de1018e775a4aab0002","name":"Cole Aronson","type":"User"}],"auditType":{"action":"User renamed","actionI18nKey":"audit.logging.summary.user.renamed","area":"USER_MANAGEMENT","category":"Users and groups","categoryI18nKey":"audit.logging.category.user.management","level":"BASE"},"author":{"id":"2c9dd0f18e772de1018e773f6c8f0000","name":"admin full name","type":"user"},"changedValues":[{"from":"caronson","i18nKey":"audit.logging.changed.value.username","key":"Username","to":"caronson1"}],"extraAttributes":[],"method":"Browser","source":"0:0:0:0:0:0:0:1","system":"http://localhost:6881/c881","timestamp":{"epochSecond":1711404177,"nano":947000000},"version":"1.0"}
      

            Assignee:
            Unassigned
            Reporter:
            Cole Aronson
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: