Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-9627

Audit log user string contains just the last role rather than the full list

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • None

      When the audit log is enabled and a user with multiple roles is audited, just the last of their roles is output. I think it should be the full list of roles.

      roles:

      • admin = alice
      • alice = alice

      The admin role is not out put between the brackets!

      2023-08-28 17:39:20,081 [AUDIT](Thread-1 (activemq-netty-threads)) AMQ601262: User alice(alice)@127.0.0.1:56685 is creating address on target resource: ...

      I should be:
      alice(admin,alice)@....

              gtully@redhat.com Gary Tully
              rh-messaging-ci Messaging CI
              Julian Coleman Julian Coleman
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: