Settings > Security & Privacy > Exploit Protection > USB-C port is where you will find the USB security settings on modern devices.
The USB peripherals setting is deprecated and currently only available on devices that are in legacy extended support. It will soon be completely removed from the website to avoid any confusion.