nextcloud / tables

🍱 Nextcloud tables app
https://apps.nextcloud.com/apps/tables
GNU Affero General Public License v3.0
148 stars 23 forks source link

Write critical operations to the audit log #956

Open juliusknorr opened 7 months ago

juliusknorr commented 7 months ago

Is your feature request related to a problem? Please describe.

For compliance reasons there should be the possibility to log critical operations into a log file.

Describe the solution you'd like

The server provides an admin_audit app which can be used to track events that apps emit and write it into the audit log

We should implement audit logging for the tables app for the following actions as a starting point:

Describe alternatives you've considered

Writing to the regular Nextcloud log is not feasible as those log messages are rarely relevant to regular administrators

Additional context

Setup documentation: https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/logging_configuration.html#admin-audit-log Developer documentation: https://docs.nextcloud.com/server/latest/developer_manual/basics/logging.html#admin-audit-logging