Gary Tully created ARTEMIS-5248:
-----------------------------------

             Summary: Audit log user string contains just the last role rather 
than the full list 
                 Key: ARTEMIS-5248
                 URL: https://issues.apache.org/jira/browse/ARTEMIS-5248
             Project: ActiveMQ Artemis
          Issue Type: Improvement
    Affects Versions: 2.39.0
            Reporter: Gary Tully
            Assignee: Gary Tully
             Fix For: 2.40.0


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)@....




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to