The Government's security agencies have confirmed a state-sponsored actor linked to China was involved in malicious cyber activity targeting NZ Parliament.