Questioned by Nicolas Hanna KC, for the PSNI, he went through a series of measures the force took to offer support and counselling to staff impacted by what happened.

External occupational health services were also made available, along with payments of up to £500 for increased home security.

The court heard that a prioritisation grading system was devised to assess the mental health and risks against some officers.

“A handful of those people required additional security measures, I couldn’t give specifics but it would be between five and 10,” Mr Todd said.

He confirmed that he was not aware of any targeted attack on PSNI officers since the data breach.

Asked what steps were taken to degrade the information following the leak, he explained the most effective mitigation involved altering the locations where some officers were deployed and bringing in new service numbers.

“It was a mammoth task,” Mr Todd said.

Further measures related to changes made to banking arrangements and digital footprints left by staff members through other legitimate agencies.

Cross-examined by Gavin Millar KC, for some of the officers suing over the breach, Mr Todd confirmed that no one spotted the hidden tab in the checking process before the Freedom of Information material was released.

It was put to the police chief that some “bad actors” may be able to match up the disclosed details in order to make identifications.

Mr Millar argued that the perception of risk was the same for everyone who featured on the list.

“It’s every case on its merits, some people live more publicly than others… and some go to great extent to conceal their membership of the PSNI,” Mr Todd replied.

The case continues.