Migration of Audit Trail data for Media Assets

In our standard repository, we deactivated audit trail for MediaAsset since it is mapped to the objects (e.g. item, structure group) which already record the corresponding audit trail information.

However, in some cases depending on your business processes, it can be useful to activate the MediaAsset entity to support audit trail.
For example if the media assets "Auto path resolution by reference" functionality is in use on your system. In this case the audit trail logs the delayed creation of media asset derivatives only for media asset documents themselves and not for the object (e.g. item, structure group) to which this document belongs. So the audit trail data for creation of derivatives won't be migrated and shown in the change history if MediaAsset entity is not configured to support audit trail.

You only need to adjust the setting "Retention Policy" in the repository for the MediaAsset entity to activate audit trail.
images/download/attachments/339085086/image2021-4-7_14-37-32.png

If it is not necessary to log the change history for Media Assets separately and in its entirety on your system, you can reset this configuration to NO_RETENTION again.