fmorg-git commented on code in PR #11095:
URL: https://github.com/apache/ozone/pull/11095#discussion_r3848961076


##########
hadoop-ozone/s3gateway/src/main/java/org/apache/hadoop/ozone/s3/endpoint/EndpointBase.java:
##########
@@ -605,6 +605,15 @@ protected AuditMessage.Builder auditMessageFor(AuditAction 
op) {
     Map<String, String> auditMap = getAuditParameters();
     auditMap.put("x-amz-request-id", requestIdentifier.getRequestId());
     auditMap.put("x-amz-id-2", requestIdentifier.getAmzId());
+    if (s3Auth != null) {
+      // For STS temporary credentials, record the originalAccessKeyId (the 
permanent principal that

Review Comment:
   yeah I was wondering why log `originalAccessKeyId` as well, since for every 
valid token, we have om audit log to tell us who the creator is, and previously 
we ensured that all om followers would have the same information for created 
tokens.  updated to remove this audit entry - 
https://github.com/apache/ozone/pull/11095/changes/99a1064b33f7a16f4ef87911bb79a6bb7f31ff43



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to