Audit dangling object removal (#15933)

This commit is contained in:
Anis Elleuch
2022-10-24 19:35:07 +01:00
committed by GitHub
parent 2e33b99c6b
commit fc6c794972
5 changed files with 52 additions and 12 deletions

View File

@@ -1274,9 +1274,11 @@ func auditLogDecom(ctx context.Context, apiName, bucket, object, versionID strin
if err != nil {
errStr = err.Error()
}
auditLogInternal(ctx, bucket, object, AuditLogOptions{
auditLogInternal(ctx, AuditLogOptions{
Event: "decommission",
APIName: apiName,
Bucket: bucket,
Object: object,
VersionID: versionID,
Error: errStr,
})