If you do not specify a value, Windows Defender will remove items from the default scan log folder, that is, 30 days. However, if you want to clear the protection history manually, you can do so ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results