The city filed breach notification letters with regulators seven months after a ransomware gang accessed systems.