Please use this script to detect the third party antivirus software 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 also.
This procedure supports the list of antivirus mentioned below:
10. Windows Defender
11. Bitdefender total and internet security
Please refer this wiki guide to use custom monitoring script:
Run the Script as Custom monitoring