The US National Cybersecurity Director resigned following technical disruptions that disrupted vital sectors.