mirror of
https://dev.azure.com/schwarzit/schwarzit.stackit-public/_git/audit-go
synced 2026-02-15 12:21:44 +00:00
Write AuditLogEntry.Metadata into LegacyAuditEvent.Details
This commit is contained in:
parent
eb22259346
commit
4d993237ff
1 changed files with 1 additions and 1 deletions
|
|
@ -141,7 +141,7 @@ func convertAndSerializeIntoLegacyFormat(
|
||||||
}
|
}
|
||||||
|
|
||||||
// Details
|
// Details
|
||||||
serializedRequestAttributes, err := protojson.Marshal(event.ProtoPayload.RequestMetadata.RequestAttributes)
|
serializedRequestAttributes, err := protojson.Marshal(event.ProtoPayload.Metadata)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue