[go: nahoru, domu]

Skip to content

Commit

Permalink
Add audit logging of site replication multipart proxying (minio#17122)
Browse files Browse the repository at this point in the history
  • Loading branch information
poornas authored May 3, 2023
1 parent 0c0820c commit 90e2cc3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/generic-handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 90e2cc3

Please sign in to comment.