Cyber security chief MacGibbon resigns