Copying customer records into UAT is a use of personal information under the Privacy Act 1988: APP 6 limits use to the purpose it was collected for, APP 11 requires reasonable security, and a leak from UAT is still a notifiable data breach. So first reproduce the shape of the data, not the data: work out what triggers the bug from logs, the customer's report or a query run in production by someone authorised, recreate it synthetically in UAT, and keep it as a regression test. If that genuinely isn't possible, extract only the minimum records with documented approval (privacy officer or data owner), mask everything not needed for the bug, put them in a restricted store where only named people in a defined role can read them, log who accessed what and when, set a deletion date and delete them, and record the decision against APP 11.
Checks they can balance the privacy position against a real support need.
Last updated 23 Nov 2026.