France's parliament is to vote on a bill aimed at legalizing broad surveillance of terrorism suspects that has drawn an outcry from privacy advocates and others.

One of the most sensitive measures of the bill would allow intelligence services to vacuum up metadata, which would then be subject to analysis for potentially suspicious behavior. The metadata would be anonymous, but intelligence agents could follow up with a request to the independent panel for deeper surveillance that could yield the identity of users.

The bill that goes to parliament Tuesday was proposed long before January's attacks by Islamic extremists. But the bill's sponsors say it takes on added urgency with each person who is radicalized.

Opponents say it legalizes highly intrusive surveillance methods without guarantees for individual freedom and privacy.