The NYPD for 2 years has allegedly failed to comply with a law requiring disclosure of schools with permanent metal detectors.

The information, along with which schools have requested the removal of the scanners and which schools have been subject to random scanning, had to be provided since early 2016 under legislation passed by the Council in 2015, reported the New York Post.

Asked about the NYPD’s lack of compliance with the reporting requirements of the 2015 law, the New York Post said that police officials pointed to a carve-out that exempts the provision of sensitive information.

“Providing locations of where scanners are located gives a roadmap for bad actors to circumvent security measures. This is potentially dangerous,” said Sergeant Jessica McRorie. “The law wisely provides discretion on disclosure where such material could compromise the safety of students, teachers or police officers.”

Fewer than 100 of the city’s roughly 1,500 school buildings have permanent metal detecting scanners at the entrance, the New York Post said.