; and (B) if the individual’s report resulted in a charge or charges that were referred to a court-martial, the experience of the individual with the prosecutor and the court-martial in general. (3) The timing of the administration of the survey, including when the investigation or case is closed or otherwise complete. (c) Frequency of survey The survey required by this section shall be conducted at least once every four years, but not more frequently than once every two years. (d) Definitions In this section: (1) Alleged sex-related offense The term alleged sex-related offense has the meaning provided in section 1044e(g) of this title. (2) Unrestricted report The term unrestricted report means a report that is not a restricted report. (3) Restricted report The term restricted report means a report concerning a sexual assault that is treated as a restricted report under section 1565b(b) of this title. . (b) Clerical amendment The table of sections at the beginning of chapter 23 of such title is amended by inserting after the item relating to section 481a the following new item: 481b. Military investigation and justice experiences: survey of members of the armed forces. . 559. Public access to dockets, filings, and court records of courts-martial or other records of trial of the military justice system (a) In general Section 940a of title 10, United States Code (article 140a of the Uniform Code of Military Justice), is amended— (1) by striking The Secretary of Defense and inserting (a) In general .—The Secretary of Defense, in consultation with the Secretary of Homeland Security, ; (2) in subsection (a), as designated by paragraph (1)— (A) in the matter preceding paragraph (1), by inserting (including with respect to the Coast Guard) after military justice system ; and (B) in paragraph (4), by inserting public before access to docket information