In general— Prior to admitting to the United States as a refugee under section 207 of the Immigration and Nationality Act (8 U.S.C. 1157) a covered alien, the Secretary of Homeland Security, in coordination with the Director of the Federal Bureau of Investigation and the Director of National Intelligence, shall ensure that the covered alien—
has submitted to the Secretary biometric identification information, including DNA, which the Secretary has compared against all relevant databases and determined that the covered alien has no known history of engaging in terrorist activity (as such term is defined in section 212(a)(3)(B)(iv) of the Immigration and Nationality Act (8 U.S.C. 1182(a)(3)(B)(iv))); and
does not pose a threat to the national security of the United States based on a background check that the Secretary conducts, which includes a review of the covered alien’s interactions on and posting of material to the Internet (including social media services), and for purposes of which, the alien has submitted to the Secretary such information as the Secretary determines necessary.