The main purpose of this legislation, known as the "Protecting America From Spies Act," is to strengthen the criteria used when issuing visas to foreign nationals. Specifically, it aims to ensure that any involvement in espionage or technology transfer is taken into account during the visa application process. This is part of a broader effort to enhance national security and prevent potential threats from individuals seeking to enter the United States. Key provisions of the legislation include expanding the list of reasons for which a foreign national can be deemed inadmissible to the U.S.