The lawsuit says the identities of 257 undercover police officers were released illegally as part of a data request in 2024.