WASHINGTON — The House passed a new intelligence authorization on Wednesday that will significantly expand prohibitions on disclosing the identities of covert agents and order new intelligence reviews of Russian and other foreign influence operations.

The measure, which passed the House 397 to 31, must now be reconciled with the Senate’s version.

The bill “is not perfect,” said Representative Adam B. Schiff, Democrat of California and the chairman of the House Intelligence Committee. “It is the result of negotiation and compromise. But I am pleased that despite our public differences, we have once again been able to put those aside to focus on the important work of overseeing the intelligence community.”

If the two chambers come to agreement in the coming weeks and approve a final bill, it will be the first intelligence authorization bill to be passed since 2017. Last year, a measure foundered over lawmakers’ disagreements about a classified provision in the bill and the separate dispute over spending that partly shut down the government.

Lawmakers do not debate the classified part of the proposal publicly and review it only in a secure room. It is not clear how many members outside the intelligence committees take the time to review the secret portion of the bill.