yyqdbngt opened a new pull request, #3099:
URL: https://github.com/apache/rocketmq-dashboard/pull/3099

   ### Summary
   Cover the audit record write path (`AuditService.record`):
   
   - a full record (operation type / resource type / target / cluster id / 
detail / result) is saved with the authenticated operator and a non-null 
timestamp;
   - without an authenticated user the record falls back to the system actor, 
and a null cluster id is preserved.
   
   ### Why
   The earlier audit coverage (#3090) exercised validation and export caps but 
not the write path; operator attribution and field persistence had no automated 
checks.
   
   ### Testing
   - `mvn -f server/pom.xml -Dtest=AuditServiceRecordTest test` passes: 2/2.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to