Please use this script to detect the third party antivirus status which is enabled or disable,up-to-date or not and if there is antivirus in the system or not.
Note: It will check the Windows defender antivirus status .
Run the Script as Custom monitoring
Please refer the link
(https://scripts.comodo.com/frontend/web/topic/detecting-third-party-antiviruss-status)