The authorities that grant banking licenses, set how much capital and liquidity each bank must hold, examine banks on site, run stress tests and can force a bank to change course or close.
Bank regulators are one player in the banking industry, and an industry of their own, with their own suppliers, customers, software, regulators, and money flows. This full map is on the roadmap.
Meanwhile: how bank regulators fit into banking