mirror of
https://github.com/minio/minio.git
synced 2026-02-04 18:00:15 -05:00
Add lifecycle event source to audit log tags (#17248)
This commit is contained in:
committed by
GitHub
parent
55a3310446
commit
3e128c116e
@@ -374,7 +374,8 @@ func deleteObjectVersions(ctx context.Context, o ObjectLayer, bucket string, toD
|
||||
VersionID: dobj.VersionID,
|
||||
}
|
||||
traceFn := globalLifecycleSys.trace(oi)
|
||||
tags := auditLifecycleTags(lcEvent)
|
||||
// Note: NewerNoncurrentVersions action is performed only scanner today
|
||||
tags := newLifecycleAuditEvent(lcEventSrc_Scanner, lcEvent).Tags()
|
||||
|
||||
// Send audit for the lifecycle delete operation
|
||||
auditLogLifecycle(
|
||||
|
||||
Reference in New Issue
Block a user