; and (B) the equipment, apparatuses, including onboard or wayside, or associated appurtenances to technology necessary to ensure all defects outside of the prescribed values for the equipment will be appropriately identified and transmitted to the operating crew of a train before a failure occurs. . (b) In general Subchapter II of chapter 201 of title 49, United States Code, is further amended by adding at the end the following new section: 20173. Wayside detection technologies (a) Rulemaking Not later than 2 years after the date of the enactment of the Rail Worker and Community Safety Act , the Secretary shall issue regulations establishing requirements for the installation, repair, testing, maintenance, and operation of wayside detection technologies. (b) Specific technologies The Secretary shall issue regulations under subsection (a) for categories of wayside detection technologies, including— (1) hotbox detectors; (2) dragging equipment detectors; (3) wheel issues detection devices (e.g. Load Impact, High Heat); (4) slide detection devices (e.g. Rock Slide, Earth Slide); (5) train height and width detection devices; (6) element detection devices (e.g. High Water, Flood, Wind, and Fire detection); and (7) other wayside detection technologies as determined by the Secretary. (c) Separate regulations The Secretary may issue separate regulations for each category listed in subsection (b) as necessary. (d) Requirements The regulations issued pursuant to subsection (a) shall include requirements regarding— (1) the frequency of the placement of wayside detection technologies; (2) performance standards for such detection technologies; (3) the installation, maintenance, repair and testing requirements for such detection technologies; (4) reporting and monitoring data and maintenance records of such detection technologies; (5) appropriate steps the rail carrier must take when receiving an alert of a defect, failure, or a likely failure based on trending data, from or regarding such detection technologies