mirror of
https://github.com/minio/minio.git
synced 2024-12-24 06:05:55 -05:00
Add audit logging of site replication multipart proxying (#17122)
This commit is contained in:
parent
0c0820caef
commit
90e2cc3d4c
@ -576,6 +576,8 @@ func setUploadForwardingHandler(h http.Handler) http.Handler {
|
||||
for k := range w.Header() {
|
||||
w.Header().Del(k)
|
||||
}
|
||||
ctx := newContext(r, w, "SiteReplicationUploadForwarding")
|
||||
defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
|
||||
globalForwarder.ServeHTTP(w, r)
|
||||
return
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user