The main purpose of this legislation is to enhance the security of public water systems against cyberattacks. It aims to provide funding for training programs that will help water system operators learn how to protect their systems from potential cyber threats and how to respond effectively if such attacks occur. Key provisions of the legislation include amendments to the Safe Drinking Water Act. It extends the timeframe for certain grants under the Drinking Water Infrastructure Risk and Resilience Program from 2020 and 2021 to 2026 through 2031.