SAN FRANCISCO (AP) — A judge has dismissed a lawsuit accusing a federal information-sharing program of flagging innocent people as potential terrorists.

U.S. District Judge Richard Seeborg in San Francisco said Monday that the standard used by the program to identify possible terror activity was legally adopted and not arbitrary.

READ MORE: Cal Fire Units Respond to Wildland Fire Close to Prescribed Burn in Santa Cruz County

The program — the National Suspicious Activity Reporting Initiative — has state and local law enforcement flag behavior they think reasonably indicates terrorism-related planning or other criminal activity and report it to the FBI or federally funded law enforcement centers for vetting.

READ MORE: Apple Employee Who Led #AppleToo Anti-Harassment Effort Says She Was Fired

The American Civil Liberties Union had sued on behalf of five California men, arguing that the “reasonably indicative” standard was too broad and led to innocent people being identified.

The ACLU of Northern California said it was examining options for an appeal.

MORE NEWS: 2 Suspected Gang Members Arrested In West Berkeley Shootout, Guns Seized

© Copyright 2017 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.