1. Short title This Act may be cited as the Sunshine for Regulations and Regulatory Decrees and Settlements Act of 2017 . 2. Definitions In this Act— (1) the terms agency and agency action have the meanings given those terms under section 551 of title 5, United States Code; (2) the term covered civil action means a civil action— (A) seeking to compel agency action; (B) alleging that the agency is unlawfully withholding or unreasonably delaying an agency action relating to a regulatory action that would affect the rights of— (i) private persons other than the person bringing the action; or (ii) a State, local, or tribal government; and (C) brought under— (i) chapter 7 of title 5, United States Code; or (ii) any other statute authorizing such an action; (3) the term covered consent decree means— (A) a consent decree entered into in a covered civil action; and (B) any other consent decree that requires agency action relating to a regulatory action that affects the rights of— (i) private persons other than the person bringing the action; or (ii) a State, local, or tribal government; (4) the term covered consent decree or settlement agreement means a covered consent decree and a covered settlement agreement; and (5) the term covered settlement agreement means— (A) a settlement agreement entered into in a covered civil action; and (B) any other settlement agreement that requires agency action relating to a regulatory action that affects the rights of— (i) private persons other than the person bringing the action