The government of Union County in central Pennsylvania said a recent ransomware attack exposed information related to law enforcement and other government business.