Audit logs¶
Introduced in InvenioRDM v13
Audience: Instance staff / Content managers / Site administrators
InvenioRDM can store audit log events of actions performed by the end-users.
In v13, InvenioRDM logs the following actions:
- Creating a draft
- Updating a draft
- Publishing a record
- Deleting a draft
- Creating a new version of a record
You will be able to view all actions performed in your instance and query actions performed on resources.
The feature can be enabled by setting the AUDIT_LOGS_ENABLED
flag to True
.
Administration panel¶
When the audit logging feature is enabled, you will be able to see when a user created a draft and then published it as a record. Only site-administrators can access the logs via the administration panel (<domain>/administration/audit-logs
).
You can also check the changes in the new version of the record via the administration panel.
You will be able to view all actions performed in your instance and query actions performed on resources.
Add new actions¶
You can extend the functionalities of audit logs by adding new actions. Follow this guide to learn how.