Is it safe to remove Activity log?

With new GDPR regulations such as ‘the right to be forgotten’, there is a need for me to remove user activity after certain amount of time.

Is it safe to remove Activity log with SQL query? I noticed that Director support housekeeping only for unlinked objects, but not the time based cleanup, also i found similar issue on github: https://github.com/Icinga/icingaweb2-module-director/issues/1442.
I’m not sure with what tables it could potentially conflict.

I would not remove the users activity because the gaps in the activity log would make it hard to reconstruct changes.

If you consider it a problem that there is a name in data you could do an update on the actvity table:

UPDATE director_activity_log SET author = “GDPR-protected” where author =“dimitry” and start_time < NOW() - INTERVAL 30 DAY;