; 50 U.S.C. 3161 note; relating to reforming processes related to suitability for government employment, fitness for contractor employees, and eligibility for access to classified national security information), or as otherwise defined in a subsequent provision of law. (b) Agency review (1) In general Not later than 180 days after the date of the enactment of this section, each head of an agency shall, consistent with the interest of national security, establish and make publicly available a process by which a covered person to whom eligibility for access to classified information was denied or revoked by the agency can appeal that denial or revocation within the agency. (2) Elements The process required by paragraph (1) shall include the following: (A) In the case of a covered person to whom eligibility for access to classified information is denied or revoked by an agency, the following: (i) The head of the agency shall provide the covered person with a written— (I) detailed explanation of the basis for the denial or revocation as the head of the agency determines is consistent with the interests of national security and as permitted by other applicable provisions of law; and (II) notice of the right of the covered person to a hearing and appeal under this subsection. (ii) Not later than 30 days after receiving a request from the covered person for copies of the documents that formed the basis of the agency's decision to revoke or deny, including the investigative file, the head of an agency shall provide to the covered person copies of such documents as— (I) the head of the agency determines is consistent with the interests of national security; and (II) permitted by other applicable provisions of law, including— (aa) section 552 of title 5, United States Code (commonly known as the Freedom of Information Act ); (bb) section 552a of such title (commonly known as the Privacy Act of 1974 )