The House on Monday passed a bill to direct the Department of Homeland Security to develop a strategy for protecting the nation's infrastructure from a terrorist attack.

Passed by voice vote, the measure would require DHS to craft a strategic plan for research and development on protecting critical infrastructure from cyber or other attacks.

Rep. Patrick Meehan (R-Pa.) said it was necessary for DHS to be constantly vigilant about protecting the nation's infrastructure.

"No matter how good our protections are, there's the reality that someday else the moment it goes online is looking for a way around it," Meehan said.

Rep. Yvette ClarkeYvette Diane ClarkeApple tells senator it may give rebates to consumers who bought iPhone batteries Democrat invites detained immigrant rights activist's wife to Trump State of the Union address Overnight Tech: States sue FCC over net neutrality repeal | Senate Dems reach 50 votes on measure to override repeal | Dems press Apple on phone slowdowns, kids' health | New Android malware found MORE (D-N.Y.) said the directive would keep DHS regularly updated, as the Secretary of Homeland Security would have to submit new reports to Congress every two years.

"This strategy will help DHS keep ahead of the rapidly evolving cybersecurity attacks that we hear about each and every day," Clarke said.