You can turn off this annoying little feature if you are confident that you are protected.
Defender is useless and you may as well leave it off.
Open security settings
On the Malware protection tab, expand it.
Choose "Show me my options"
Choose "I have a malware programme and I will monitor it myself"