The Obama administration threw its support behind a $1 trillion spending bill Thursday as congressional leaders scrambled to pass the measure and avoid a government shutdown just hours before funding was set to expire.

In a statement, the administration said the proposal, which would offer funding through fiscal 2015 for most government agencies, "allows for planning and provides certainty" and praised new funding for the U.S. government's response to the Ebola outbreak in west Africa and to the military campaign against the Islamic State terrorist group in the Middle East.

The spending plan makes "progress toward appropriately investing in economic growth and opportunity, and adequately funding national security requirements," according to the statement.

But the administration objected to a provision in the proposal that funds the Department of Homeland Security only through February, a move by Republicans to punish President Obama for his executive actions last month to shield up to 4 million undocumented immigrants from deportation. The GOP, which will assume control of the Senate next month, intends to use the debate over DHS funding to craft a response to the president's immigration moves.

"Short-term continuing resolution funding measures are disruptive, create uncertainty, and impede efficient resource planning and execution," the administration said.

The administration also objected to provisions in the bill to increase limits imposed on individual campaign donors and to weaken provisions in the Dodd-Frank financial regulatory rules, which the statement called a "critical component of financial system reform aimed at reducing taxpayer risk."

Government funding expires at midnight Thursday, so after voting on the spending bill, the House is scheduled to approve a short-term extension of current funding to give the Senate a few more days to work through its arcane procedural rules and vote on the bill.