Sec. 302. Cybersecurity essentials. Sec. 303. Establishment of continuous diagnostics and mitigation program in the Cybersecurity and Infrastructure Security Agency. Sec. 304. Administrative subpoena authority. Sec. 305. CISA Director term limitation. Sec. 306. State, local, Tribal, and territorial cybersecurity. Sec. 307. Cybersecurity workforce. Sec. 308. Election security. Sec. 309. Protection from liability. Sec. 310. Permanent extension of chemical facility anti-terrorism standards program of the Department of Homeland Security. Sec. 311. Cybersecurity research and development projects. Sec. 312. Loan repayment program. Sec. 313. Exclusion of certain student loan repayments. Sec. 314. Scholarship for service. Sec. 315. Cybersecurity and Infrastructure Security Agency review. Sec. 316. Strategy to secure email. Sec. 317. Strengthening Federal networks. Sec. 318. Authorization of appropriations. Title IV—Border and Visa Security Sec. 401. Additional U.S. Customs and Border Protection agents and officers. Sec. 402. Establishment of workload staffing models for U.S. Border Patrol and Air and Marine Operations of CBP. Sec. 403. U.S. Customs and Border Protection retention incentives. Sec. 404. Study on efficacy of certain personnel screening methods for U.S. Customs and Border Protection use. Sec. 405. Hiring flexibility. Sec. 406. Supplemental commissioner authority and definitions. Sec. 407. Technical and conforming amendment. Sec. 408. Ports of entry infrastructure. Sec. 409. U.S. Customs and Border Protection technology upgrades. Sec. 410. Physical barriers along the southwest border. Sec. 411. Air and Marine Operations flight hours. Sec. 412. Amendments to U.S. Customs and Border Protection. Sec. 413. Continuous screening by U.S. Customs and Border Protection. Sec. 414. Customs Trade Partnership Against Terrorism. Sec. 415. Strategy to ensure detection of all opioid purity levels at ports of entry. Sec. 416. Authorization of the immigration advisory program. Sec. 417. Border security technology