The federal government's IT infrastructure has been entirely modernised this year to keep records secure and reduce the risk of cybersecurity threats.