rt-munge-attachments(8) | Request Tracker Reference | rt-munge-attachments(8) |
rt-munge-attachments - Remove or replace strings in attachment records
rt-munge-attachments --search="user1@example.com" --replace="removed-user@example.com"
In RT, "attachments" contain all correspondence on tickets, not just file-based attachments. Although attachments are normally not modified by RT once created, this script provides a way to change or remove personalized data like email addresses that might be contained in the headers or bodies of RT attachment records. This allows admins to comply with GDPR regulations, but retain ticket histories with remaining non-personal information.
A transaction is recorded when this script modifies content so there is a record that something was changed on the ticket. Details of the change are not recorded since the values would likely contain personal information which the script was run to remove.
If modifying ticket history violates audit policies, admins should not use this script.
2023-10-25 | perl v5.36.0 |