diff --git a/cmd/object-handlers-common.go b/cmd/object-handlers-common.go index 58a9d6106..49d7bfcf7 100644 --- a/cmd/object-handlers-common.go +++ b/cmd/object-handlers-common.go @@ -367,6 +367,16 @@ func deleteObjectVersions(ctx context.Context, o ObjectLayer, bucket string, toD continue } dobj := deletedObjs[i] + // Send audit for the lifecycle delete operation + auditLogLifecycle( + ctx, + ObjectInfo{ + Bucket: bucket, + Name: dobj.ObjectName, + VersionID: dobj.VersionID, + }, + ILMExpiry) + sendEvent(eventArgs{ EventName: event.ObjectRemovedDelete, BucketName: bucket,