mirror of
https://github.com/pgsty/minio.git
synced 2026-07-19 04:00:25 +03:00
Add the access key and parent user in the audit log (#16572)
This commit is contained in:
@@ -116,6 +116,9 @@ func AuditLog(ctx context.Context, w http.ResponseWriter, r *http.Request, reqCl
|
||||
headerBytes = int64(st.HeaderSize())
|
||||
}
|
||||
|
||||
entry.AccessKey = reqInfo.Cred.AccessKey
|
||||
entry.ParentUser = reqInfo.Cred.ParentUser
|
||||
|
||||
entry.API.Name = reqInfo.API
|
||||
entry.API.Bucket = reqInfo.BucketName
|
||||
entry.API.Object = reqInfo.ObjectName
|
||||
|
||||
Reference in New Issue
Block a user