The proposed global security funding legislation that includes major bipartisan updates to immigration policy encountered opposition from members of both parties Monday, especially Republicans upset by the Biden administration’s handling of border security, charting a tumultuous path for passage in the Senate this week.