In this task, you are given text for US Congressional and California state bills, your task is to generate a summary for this bill.

[Q]: SECTION 1. SHORT TITLE.

    This Act may be cited as the ``Protecting American Jobs Act''.

SEC. 2. AMENDMENTS TO THE NATIONAL LABOR RELATIONS ACT.

    (a) Duties of the General Counsel and Administrative Law Judges.--
The National Labor Relations Act (29 U.S.C. 151 et seq.) is amended--
            (1) in section 3(d) (29 U.S.C. 153(d)), by striking 
        ``investigation of charges and issuance of complaints under 
        section 10, and in respect of the prosecution of such 
        complaints before the Board'' and inserting ``investigation of 
        allegations under section 10''; and
            (2) in section 4(a) (29 U.S.C. 154(a)), by striking the 
        fourth sentence.
    (b) Clarification of the Board's Rulemaking Authority.--Section 6 
of such Act (29 U.S.C. 156) is amended by adding at the end the 
following: ``Such rulemaking authority shall be limited to rules 
concerning the internal functions of the Board. The Board shall not 
promulgate rules or regulations that affect the substantive or 
procedural rights of any person, employer, employee, or labor 
organization, including rules and regulations concerning unfair labor 
practices and representation elections.''.
    (c) Investigatory Power and Adjudicatory Authority Over Unfair 
Labor Practice Allegations.--Section 10 of such Act (29 U.S.C. 160) is 
amended--
            (1) in subsection (a)--
                    (A) by striking ``prevent any person from engaging 
                in'' and inserting ``investigate''; and
                    (B) by striking ``This power shall'' and all that 
                follows through the end of the subsection;
            (2) in subsection (b)--
                    (A) by striking ``Whenever it is charged'' and 
                inserting ``Whenever it is alleged'';
                    (B) by striking ``or is engaging in'' and inserting 
                ``, is engaging in, or is about to engage in'';
                    (C) by striking ``the Board, or any agent'' and all 
                that follows through ``Provided, That no complaint 
                shall issue'' and inserting ``the aggrieved person may 
                bring a civil action for such relief (including an 
                injunction) as may be appropriate. Any such civil 
                action may be brought in the district court of the 
                United States where the violation occurred, or, at the 
                option of the parties, in the United States District 
                Court for the District of Columbia. No civil action may 
                be brought'';
                    (D) by striking ``charge with the Board'' and all 
                that follows through ``prevented from filing such 
                charge'' and inserting ``civil action, unless the 
                person aggrieved thereby was prevented from filing such 
                civil action''; and
                    (E) by striking ``Any such complaint may be 
                amended'' and all that follows through ``Any such 
                proceeding shall, so far as practicable,'' and 
                inserting ``Any proceeding under this subsection 
                shall'';
            (3) by striking subsections (c) through (k);
            (4) by redesignating subsections (l) and (m) as subsections 
        (c) and (d), respectively;
            (5) in subsection (c) (as so redesignated)--
                    (A) by striking ``Whenever it is charged'' and 
                inserting ``Whenever it is alleged'';
                    (B) in the first sentence, by striking ``charge'' 
                and inserting ``allegation''; and
                    (C) by striking ``such charge is true and that a 
                complaint should issue, he shall'' and all that follows 
                through the end of the subsection and inserting ``such 
                allegation is true, the officer or regional attorney 
                shall, on behalf of the Board, submit a written summary 
                of the findings to all parties involved in the alleged 
                unfair labor practice.''; and
            (6) in subsection (d) (as so redesignated)--
                    (A) by striking ``Whenever it is charged'' and 
                inserting ``Whenever it is alleged'';
                    (B) by striking ``such charge'' and inserting 
                ``such allegation''; and
                    (C) by striking ``and cases given priority under 
                subsection (i)''.
    (d) Conforming Amendments.--The National Labor Relations Act (29 
U.S.C. 151 et seq.) is amended--
            (1) in section 9 (29 U.S.C. 159)--
                    (A) in subsection (c)(2), by striking ``and in no 
                case shall the Board'' and all that follows through the 
                end of such subsection and inserting a period;
                    (B) by striking subsection (d); and
                    (C) by redesignating subsection (e) as subsection 
                (d);
            (2) in section 3(b) (29 U.S.C. 153(b)), by striking ``or 
        (e) of section 9'' and inserting ``or (d) of section 9'';
            (3) in section 8 (29 U.S.C. 158), by striking ``9(e)'' each 
        place it appears and inserting ``9(d)''; and
            (4) in section 18 (29 U.S.C. 168), by striking ``section 10 
        (e) or (f)'' and inserting ``subsection (e) or (f) of section 
        10, as such subsections were in effect on the day before the 
        date of enactment of the Protecting American Jobs Act,''.

SEC. 3. REGULATIONS.

    Not later than 6 months after the date of enactment of this Act, 
the National Labor Relations Board shall review all regulations 
promulgated before such date of enactment and revise or rescind any 
such regulations as necessary to implement the amendment made by 
section 2(b).
[A]: Protecting American Jobs Act       This bill amends the National Labor Relations Act, with respect to the authority of the National Labor Relations Board, to:   repeal the authority of the General Counsel ofthe board, to issue, and prosecute before the board, complaints of unfair labor practices;  limit the board's rulemaking authority to rules concerning the internal functions of the board;  prohibit the board from promulgating regulations affecting the substantive or procedural rights of any person, employer, employee, or labor organization, including rules concerning unfair labor practices and representation elections;  repeal the board's authority to prevent persons from engaging in unfair labor practices, limiting such authority to the investigation of allegations of such practices; and  repeal the board's authority to petition courts for enforcement of its orders, seek injunctions, or hold hearings on jurisdictional strikes.  


[Q]: SECTION 1. SHORT TITLE.

    This Act may be cited as the ``China Human Rights Protection Act of 
2015''.

SEC. 2. DEFINITIONS.

    In this Act:
            (1) Appropriate congressional committees.--The term 
        ``appropriate congressional committees'' means--
                    (A) the Committee on Armed Services, the Committee 
                on Financial Services, the Committee on Foreign 
                Affairs, the Committee on Homeland Security, and the 
                Committee on the Judiciary of the House of 
                Representatives; and
                    (B) the Committee on Armed Services, the Committee 
                on Banking, Housing, and Urban Affairs, the Committee 
                on Foreign Relations, the Committee on Homeland 
                Security and Governmental Affairs, and the Committee on 
                the Judiciary of the Senate.
            (2) Gross violations of internationally recognized human 
        rights.--The term ``gross violations of internationally 
        recognized human rights'' includes--
                    (A) extrajudicial killings;
                    (B) torture or cruel, inhuman, or degrading 
                treatment or punishment;
                    (C) prolonged arbitrary detention, causing the 
                disappearance of individuals by the abduction and 
                clandestine detention of those individuals;
                    (D) forced abortion or sterilization;
                    (E) psychiatric or medical experimentation or organ 
                harvesting of individuals without consent or obtained 
                in detention; and
                    (F) other flagrant denial of the right to life, 
                liberty, or the security of an individual.
            (3) United states person.--The term ``United States 
        person'' means--
                    (A) a United States citizen or an alien lawfully 
                admitted for permanent residence to the United States; 
                or
                    (B) an entity organized under the laws of the 
                United States or of any jurisdiction within the United 
                States, including a foreign branch of such an entity.

SEC. 3. AUTHORIZATION OF SANCTIONS FOR GROSS VIOLATIONS OF 
              INTERNATIONALLY RECOGNIZED HUMAN RIGHTS.

    (a) In General.--The President shall impose the sanctions described 
in subsection (b) with respect to an individual who is a national of 
the People's Republic of China the President determines, based on 
credible information--
            (1) is responsible for gross violations of internationally 
        recognized human rights committed against other individuals in 
        the People's Republic of China, particularly those individuals 
        who seek to obtain, exercise, defend, or promote 
        internationally recognized human rights and freedoms, such as 
        the freedoms of religion, expression, association, and 
        assembly, and the rights to a fair trial and democratic 
        elections;
            (2) acted as an agent of or on behalf of another individual 
        who is a national of the People's Republic of China in a matter 
        relating to an activity described in paragraph (1); or
            (3) has materially assisted, sponsored, or provided 
        financial, material, or technological support for, or goods or 
        services in support of, an activity described in paragraph (1).
    (b) Sanctions Described.--The sanctions described in this 
subsection are the following:
            (1) Inadmissibility to united states.--
                    (A) In general.--Ineligibility of the individual to 
                receive a visa to enter the United States or to be 
                admitted to the United States.
                    (B) Revocation.--If the individual has been issued 
                a visa or other documentation, revocation, in 
                accordance with section 221(i) of the Immigration and 
                Nationality Act (8 U.S.C. 1201(i)), of the visa or 
                other documentation.
            (2) Blocking of property.--
                    (A) In general.--The blocking, in accordance with 
                the International Emergency Economic Powers Act (50 
                U.S.C. 1701 et seq.), of all transactions in all 
                property and interests in property of the individual if 
                such property and interests in property are in the 
                United States, come within the United States, or are or 
                come within the possession or control of a United 
                States person.
                    (B) Inapplicability of national emergency 
                requirement.--The requirements of section 202 of the 
                International Emergency Economic Powers Act (50 U.S.C. 
                1701) shall not apply for purposes of this section.
    (c) Regulatory Authority.--The President shall issue such 
regulations, licenses, and orders as are necessary to carry out this 
section.

SEC. 4. WAIVER AUTHORITY AND EXCEPTION TO COMPLY WITH UNITED NATIONS 
              HEADQUARTERS AGREEMENT.

    (a) Waiver Authority.--The President may waive the application of 
sanctions under section 3 with respect to an individual who is a 
national of the People's Republic of China if the President--
            (1) determines that such a waiver is in the national 
        security interests of the United States; and
            (2) not later than 30 days prior to granting such a waiver, 
        submits to the appropriate congressional committees notice of, 
        and a justification for, the waiver.
    (b) Exception To Comply With United Nations Headquarters 
Agreement.--Sanctions under sections 3(b)(1) shall not apply to an 
individual who is a national of the People's Republic of China if 
admitting the individual into the United States is necessary to permit 
the United States to comply with the Agreement regarding the 
Headquarters of the United Nations, signed at Lake Success June 26, 
1947, and entered into force November 21, 1947, between the United 
Nations and the United States, or other applicable international 
obligations of the United States.

SEC. 5. TERMINATION OF SANCTIONS.

    The President may terminate the application of sanctions under 
section 3 with respect to an individual who is a national of the 
People's Republic of China if the President determines and reports to 
the appropriate congressional committees not later than 15 days before 
the termination of the sanctions that--
            (1) credible information exists that the individual did not 
        engage in the activity for which sanctions were imposed;
            (2) the individual has been prosecuted appropriately for 
        the activity for which sanctions were imposed; or
            (3) the individual has credibly demonstrated a significant 
        change in behavior, has paid an appropriate consequence for the 
        activity for which sanctions were imposed, and has credibly 
        committed to not engage in an activity described in section 3 
        in the future.

SEC. 6. ESTABLISHMENT OF CHINA HUMAN RIGHTS DOCUMENTATION CENTER.

    (a) In General.--The Secretary of State shall seek to provide for 
the establishment of and provide funding for an independent, 
nongovernmental organization, to be referred to as the China Human 
Rights Documentation Center, to--
            (1) compile, publish, and archive credible evidence of 
        nationals of the People's Republic of China who commit gross 
        violations of internationally recognized human rights against 
        individuals in the People's Republic of China;
            (2) receive evidence of such violations from 
        nongovernmental organizations and governmental entities;
            (3) establish an online and searchable database, in English 
        and in Chinese, and establish other multi-media information 
        platforms, in English and in Chinese, of credible evidence of 
        such violations for research and educational purposes; and
            (4) compile, publish, and archive credible evidence of 
        individuals who are nationals of the People's Republic of China 
        who are engaged in--
                    (A) censorship of the Internet, restrictions on the 
                freedom of expression, the free flow of news and 
                information, and the silencing of peaceful dissent 
                against government policy or practice;
                    (B) threats, surveillance, censorship, detention, 
                beatings, or the denials or delays of visas of United 
                States or other foreign journalists working in China;
                    (C) threats, beatings, surveillance, detention, or 
                threats to the loss of jobs or professional status made 
                against--
                            (i) individuals who are human rights 
                        lawyers seeking to represent clients detained 
                        in extra-legal detention centers;
                            (ii) individuals considered by the United 
                        Nations Working Group on Arbitrary Detention to 
                        be detained arbitrarily in China, including 
                        Tibetans, Uyghurs, and individuals who are 
                        members of the Falun Gong;
                            (iii) individuals who are democracy, labor, 
                        environmental, or free speech advocates;
                            (iv) individuals who are petitioners or 
                        bloggers;
                            (v) individuals accused in governmental 
                        anti-corruption campaigns; and
                            (vi) individuals from religious communities 
                        that are independent of government-approved 
                        religious organizations;
                    (D) restrictions on the right to freedom of 
                religion and the ability to exercise peaceful religious 
                practice, in public and private, independent of 
                government restrictions or oversight of religious 
                teachings or choice of religious leaders, particularly 
                the arrest and detention of religious leaders, the 
                destruction of property or heavy fines, and the 
                ``patriotic education'' of religious leaders;
                    (E) implementing China's population control 
                policies, including through the coercive and persistent 
                monitoring of fertility, the issuing of heavy fines, 
                and threats made for the loss of employment or the 
                denial of residency and other government benefits to 
                children born beyond the government-prescribed limit;
                    (F) profiting from or overseeing slave labor, 
                particularly in detention facilities, or from sex or 
                bride trafficking or those engaged in beating, 
                threatening, or detaining individuals seeking to 
                disrupt trafficking in persons networks;
                    (G) profiting from the sale of organs harvested 
                from an individual without consent or while an 
                individual is in detention;
                    (H) disrupting or prohibiting, through violence, 
                intimidation, discrimination, or threats, attempts to 
                organize independent trade unions or to engage in 
                efforts of collective bargaining; or
                    (I) prosecuting, sentencing, or those involved in 
                the continued detention of individuals determined by 
                the United Nations Working Group on Arbitrary Detention 
                to have been detained arbitrarily.
    (b) Authorization of Appropriations.--Of the funds authorized to be 
appropriated to the Department of State for each fiscal year beginning 
after the date of the enactment of this Act, such funds as may be 
necessary to carry out this section are authorized to be appropriated 
to carry out this section for such fiscal year.
    (c) Regulatory Authority.--The President shall issue such 
regulations, licenses, and orders as are necessary to carry out this 
section.

SEC. 7. USE OF CREDIBLE EVIDENCE FOR SANCTIONS DETERMINATIONS AND 
              REPORTS.

    In making determinations to impose sanctions under section 3 and 
for purposes of preparing and submitting reports to Congress under 
sections 8 and 9, the President should use any credible evidence--
            (1) compiled and published by the China Human Rights 
        Documentation Center established under section 6;
            (2) compiled and published by the Department of State and 
        other appropriate Federal departments and agencies; and
            (3) submitted to the President by the chairperson and 
        ranking member of appropriate congressional committees.

SEC. 8. REPORTS BY PRESIDENT TO CONGRESS.

    (a) Report Required.--
            (1) In general.--The President shall submit to the 
        appropriate congressional committees on an annual basis a 
        report that includes--
                    (A) a list of individuals who are nationals of the 
                People's Republic of China with respect to which the 
                President imposed sanctions pursuant to section 3 
                during the calendar year preceding the submission of 
                the report;
                    (B) a description of the type of sanctions imposed 
                with respect to each individual;
                    (C) the number of individuals with respect to which 
                the President imposed sanctions under section 3(a) 
                during that year;
                    (D) the dates on which such sanctions were imposed 
                or terminated, as the case may be;
                    (E) the reasons for imposing or terminating such 
                sanctions; and
                    (F) a description of the efforts of the President 
                to encourage the governments of other countries to 
                impose sanctions that are similar to the sanctions 
                authorized by section 3.
            (2) Dates for submission.--
                    (A) Initial report.--The President shall submit the 
                initial report required by this subsection not later 
                than 180 days after the date of the enactment of this 
                Act.
                    (B) Subsequent reports.--
                            (i) In general.--The President shall submit 
                        each subsequent report required by this 
                        subsection on December 10, or the first day 
                        thereafter on which both Houses of Congress are 
                        in session, of--
                                    (I) the calendar year in which the 
                                initial report is submitted if the 
                                initial report is submitted before 
                                December 10 of such calendar year; and
                                    (II) each subsequent calendar year.
                            (ii) Congressional statement.--Congress 
                        notes that December 10 of each calendar year 
                        has been recognized in the United States and 
                        internationally since 1950 as ``Human Rights 
                        Day'' and thus the importance of December 10 of 
                        each calendar year as the date of submission of 
                        the subsequent reports required by this 
                        subsection.
    (b) Form of Report.--
            (1) In general.--The report required by subsection (a) 
        shall be submitted in unclassified form, but may include a 
        classified annex.
            (2) Exception.--The name of an individual who is a national 
        of the People's Republic of China to be included in the list 
        required by subsection (a)(1) by reason of the imposition of 
        sanctions pursuant to section 3 may be submitted in the 
        classified annex authorized by paragraph (1) only if the 
        President--
                    (A) determines that it is vital for the national 
                security interests of the United States to do so; and
                    (B) uses the annex in a manner consistent with 
                congressional intent and the purposes of this Act.
    (c) Public Availability.--
            (1) In general.--The unclassified portion of the report 
        required by subsection (a) shall be made available to the 
        public, including through publication in the Federal Register.
            (2) Nonapplicability of confidentiality requirement with 
        respect to visa records.--The President shall publish the list 
        required by subsection (a)(1) without regard to the 
        requirements of section 222(f) of the Immigration and 
        Nationality Act (8 U.S.C. 1202(f)) with respect to 
        confidentiality of records pertaining to the issuance or 
        refusal of visas or permits to enter the United States.

SEC. 9. REPORT BY COMPTROLLER GENERAL TO CONGRESS ON IMPLEMENTATION OF 
              THIS ACT.

    (a) In General.--Not later than 1 year after the date of submission 
of the initial report to Congress under section 8, the Comptroller 
General of the United States shall submit to the appropriate 
congressional committees a report on the following:
            (1) A description and assessment of the process--
                    (A) to determine whether an individual who is a 
                national of the People's Republic of China has engaged 
                in an activity described in section 3 and whether 
                sanctions under section 3 should be imposed with 
                respect to the individual;
                    (B) to determine whether the identity of an 
                individual who is a national of the People's Republic 
                of China with respect to which the President has 
                imposed sanctions pursuant to section 3 should be 
                classified; and
                    (C) whether the inclusion of the identity of an 
                individual who is a national of the People's Republic 
                of China in the unclassified version of the report has 
                had any noticeable positive benefits in curtailing 
                gross violations of internationally recognized human 
                rights in the People's Republic of China.
            (2) An assessment of the implementation of this Act.
    (b) Consultation.--The Comptroller General shall consult with the 
appropriate congressional committees and nongovernmental organizations 
for purposes of preparing the report required by subsection (a).
[A]: China Human Rights Protection Act of 2015  Directs the President to impose U.S. entry and property sanctions against a national of China who:   is responsible for gross violations of internationally recognized human rights committed against individuals in China, particularly those who seek to exercise, defend, or promote internationally recognized human rights and freedoms;  acted as an agent of or on behalf of a national of China in such activities; or  has materially assisted or provided financial, material, or technological support for, or goods or services in support of, such activities.  Authorizes the President, with regard to such sanctions, to:   waive their application, with prior congressional notification, if in U.S. national security interests; and  terminate them under specified conditions.   States that sanctions shall not apply if necessary to comply with the Agreement between the United Nations (U.N.) and the United States regarding the U.N. Headquarters, or other applicable international obligations of the United States.   Declares that the Secretary of State shall seek to provide for the establishment of, and provide funding for, a nongovernmental China Human Rights Documentation Center to:   compile, publish, and archive evidence of nationals of China who commit gross violations of internationally recognized human rights against individuals in China, and against others seeking to expand freedoms in China; and  establish an online and searchable database, in English and in Chinese of evidence of such violations for research and educational purposes.  Directs the President to report to Congress annually regarding each foreign person sanctioned, the type of sanctions imposed, and the reason for their imposition.  Directs the Government Accountability Office to assess for Congress:    the process to determine whether a foreign person has engaged in a sanctionable activity, whether sanctions should be imposed, and whether the identity of a sanctioned foreign person should be classified; and   implementation of this Act. 


[Q]: SECTION 1. SHORT TITLE.

    This Act may be cited as the ``Protecting Servicemembers Online Act 
of 2017''.

SEC. 2. PROHIBITION ON NONCONSENSUAL DISTRIBUTION OF PRIVATE SEXUAL 
              IMAGES.

    (a) Prohibition.--Section 920c of title 10, United States Code 
(article 120c of the Uniform Code of Military Justice), is amended--
            (1) by redesignating subsection (d) as subsection (e); and
            (2) by inserting after subsection (c) the following new 
        subsection (d):
    ``(d) Nonconsensual Distribution of Private Sexual Images.--
            ``(1) In general.--Any person subject to this chapter who--
                    ``(A) knowingly broadcasts or distributes a visual 
                image of another person who--
                            ``(i) is at least 18 years of age;
                            ``(ii) is identifiable from the image 
                        itself or from information displayed in 
                        connection with the image;
                            ``(iii) is engaged in a sexual act or 
                        exposes a private area; and
                            ``(iv) had a reasonable expectation of 
                        privacy in the conduct depicted on the image;
                    ``(B) knows that the image was to remain private;
                    ``(C) knows that the person depicted in the image 
                has not consented to the broadcast or distribution; and
                    ``(D) broadcasts or distributes the image with the 
                intent to harm, harass, intimidate, or coerce the 
                person depicted in the image;
is guilty of an offense under this subsection and shall be punished as 
a court-martial may direct.
            ``(2) Construction of certain broadcast or distribution.--
        The broadcast or distribution by a person of a visual image of 
        the person to one other particular person shall not, by itself, 
        constitute consent for the broadcast or distribution of the 
        visual image by that particular person to any other person or 
        persons for purposes of this subsection.''.
    (b) Effective Date.--The amendments made by subsection (a) shall 
apply to offenses committed on or after the date of the enactment of 
this Act.

SEC. 3. PROHIBITION ON HARASSMENT.

    (a) Punitive Article.--
            (1) In general.--Subchapter X of chapter 47 of title 10, 
        United States Code (the Uniform Code of Military Justice), is 
        amended by inserting after section 917 (article 117) the 
        following new section (article):
``Sec. 917a. Art. 117a. Harassment
    ``(a) In General.--Any person subject to this chapter who--
            ``(1) intentionally engages in a course of conduct, 
        including broadcast or transmission by electronic means, with 
        the intent to cause harm through directing harassing 
        communications at one or more specific other persons; and
            ``(2) causes harm to the other person or persons, or to the 
        military unit of the other person or persons, by the harassing 
        communication;
is guilty of an offense under this section and shall be punished as a 
court-martial may direct.
    ``(b) Definitions.--In this section:
            ``(1) The term `course of conduct' means a pattern of 
        conduct consisting of two or more acts directed to a specific 
        person or persons and evidencing a continuity of purpose.
            ``(2) The term `harassing communication' means a 
        communication that--
                    ``(A) seriously intimidates or harasses another 
                person or persons;
                    ``(B) would cause a reasonable person to suffer 
                substantial emotional distress; and
                    ``(C) serves no military purpose.''.
            (2) Clerical amendment.--The table of sections at the 
        beginning of subchapter X of chapter 47 of such title is 
        amended by inserting after the item relating to section 917 
        (article 117) the following new item:

``917a. 117a. Harassment.''.
    (b) Coordination With UCMJ Reform.--
            (1) In general.--Effective as of the effective date of the 
        amendments made by division E of the National Defense 
        Authorization Act for Fiscal Year 2017 (Public Law 114-328), as 
        provided in section 5542(a) of that Act, and immediately after 
        the coming into effect of such amendments, subchapter X of 
        chapter 47 of title 10, United States Code (the Uniform Code of 
        Military Justice), is further amended--
                    (A) by transferring section 917a (article 117a), as 
                added by subsection (a), to appear after section 915 
                (article 115), as amended by section 5427 of the 
                National Defense Authorization Act for Fiscal Year 
                2017; and
                    (B) by redesignating such section (article), as so 
                transferred, as section 915a (article 115a).
            (2) Clerical amendments.--Effective as of the effective 
        date provided in paragraph (1), the table of sections at the 
        beginning of subchapter X of chapter 47 of such title, as 
        amended by section 5452 of the National Defense Authorization 
        Act for Fiscal Year 2017, is further amended--
                    (A) by inserting after the item relating to section 
                915 (article 115) the following new item:

``915a. 115a. Harassment.'';
                and
                    (B) by striking the item relating to section 917a 
                (article 117a).
[A]:
Protecting Servicemembers Online Act of 2017 This bill subjects to a court-martial under the Uniform Code of Military Justice a person who:   knowingly broadcasts or distributes an identifiable visual image of another person who is at least 18 years old, who is engaged in a sexual act or exposes a private area, and who had a reasonable expectation of privacy in the depicted conduct;  knows that the image was to remain private;  knows that the depicted person has not consented to the broadcast or distribution; and  broadcasts or distributes the image with the intent to harm, harass, intimidate, or coerce such person.  The broadcast or distribution by a person of his or her visual image to one other particular person shall not by itself constitute consent for such image's broadcast or distribution by that particular person to any other person.  The bill also subjects to a court-martial a person who:   intentionally engages in a course of conduct with the intent to cause harm through directing harassing communications at another specific person; and  causes harm to such person or to such person's military unit by such communication.