USBGuard is a software framework for implementing USB device authorization policies (what kind of USB devices are authorized) as well as method of use policies (how a USB device may interact with the system)
Why do you think that https://github.com/FrameworkComputer/ExpansionCards is a good alternative to usbguard