-
Bug
-
Resolution: Done
-
Undefined
-
AMQ 7.10.3.GA
-
False
-
None
-
False
-
-
+
-
-
a customer reports a problem with AMQ Broker 7.10.0.
They use the audit logs for reporting the user login, the problem is that for some users the audit log prints wrong information, in the example for the first user the audit log print the username, for the second user print the role.
unpack the sasl-scram-reproducer.tar.gz in folder amq-broker-7.10.3-bin/amq-broker-7.10.3/examples/protocols/amqp/
mvn clean verify $ grep "userrole" target/server0/etc/artemis-roles.properties userrole=test123,test123z $ cat target/server0/log/audit.log 2023-07-19 15:54:37,553 [AUDIT](Thread-1 (activemq-netty-threads)) AMQ601715: User hello@127.0.0.1:51588 successfully authenticated 2023-07-19 15:54:38,527 [AUDIT](Thread-1 (activemq-netty-threads)) AMQ601715: User test123(userrole)@127.0.0.1:54798 successfully authenticated 2023-07-19 15:54:38,822 [AUDIT](Thread-2 (activemq-netty-threads)) AMQ601715: User userrole(userrole)@127.0.0.1:54800 successfully authenticated
- is related to
-
ENTMQBR-8448 [QE] Create tests for audit logging
- Resolved