Election cybersecurity director was a victim of a ‘swatting’ attack in her home