If you just connected the Scanner, make sure to install the driver. Windows 11/10 would usually find it and list it under Settings > Devices > Printers and Scanners. Make sure its status is online ...
No, Windows Defender or Windows Security doesn’t scan mapped drives by default. No matter whether you use Windows 11 or Windows 10, or any other version, this functionality remains the same.