mirror of
https://github.com/minio/minio.git
synced 2026-02-04 18:00:15 -05:00
Add tags to auditLogLifecycle (#17081)
This commit is contained in:
committed by
GitHub
parent
31b5acc245
commit
e7cac8acef
@@ -373,11 +373,13 @@ func deleteObjectVersions(ctx context.Context, o ObjectLayer, bucket string, toD
|
||||
VersionID: dobj.VersionID,
|
||||
}
|
||||
traceFn := globalLifecycleSys.trace(oi)
|
||||
tags := make(map[string]interface{}, 1)
|
||||
tags["newer-noncurrent-versions"] = true
|
||||
// Send audit for the lifecycle delete operation
|
||||
auditLogLifecycle(
|
||||
ctx,
|
||||
oi,
|
||||
ILMExpiry, traceFn)
|
||||
ILMExpiry, tags, traceFn)
|
||||
|
||||
sendEvent(eventArgs{
|
||||
EventName: event.ObjectRemovedDelete,
|
||||
|
||||
Reference in New Issue
Block a user