You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Gary Tully (Jira)" <ji...@apache.org> on 2025/01/16 13:19:00 UTC

[jira] [Created] (ARTEMIS-5248) Audit log user string contains just the last role rather than the full list

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: issues-unsubscribe@activemq.apache.org
For additional commands, e-mail: issues-help@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact