ChenSammi commented on code in PR #11095:
URL: https://github.com/apache/ozone/pull/11095#discussion_r3840980063
##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/request/s3/security/S3AssumeRoleRequest.java:
##########
@@ -182,7 +185,7 @@ public OMClientResponse validateAndUpdateCache(OzoneManager
ozoneManager, Execut
final long expirationEpochSeconds =
clock.instant().plusSeconds(durationSeconds).getEpochSecond();
// Add tempAccessKeyId to the log so it can be determined which
permanent user created the tempAccessKeyId
- auditMap.put("tempAccessKeyId", tempAccessKeyId);
+ auditMap.put(OzoneConsts.S3_STS_TEMP_ACCESS_KEY_ID, tempAccessKeyId);
Review Comment:
Can we log the original access key too in audit log?
--
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]