The McAfee Update log directory is located in C:\Program Files\Common Files\mcafee\engine\amcoreupdater\amupdate.dat
So you can execute DOS commands
CD C:\Program Files\Common Files\mcafee\engine\amcoreupdater&&dir
Returned as follows:
Volume in drive C are Windows
Volume serial number is da32-cde1
Directory of C:\Program Files\Common Files\mcafee\e Ngine\amcoreupdater
2018/01/18 12:17 <DIR> .
2018/01/18 12:17 <DIR>.
2018/01/18 12:17 395,164 amupdate.dat 2017/07/19 10:59 2,399,984 amupdate.dll
2017 /07/19 10:59 574,336 amupdate.exe 2017/07/19 10:59 2,564,256 amupdate64.dll
2017/ 07/19 10:59 234,072 amupdate_plugin.dll
5 File (s) 6,167,812 bytes
2 Dir (s) 15,317,721,088 bytes Free
Can see
2018/01/18 12:17 395,164 amupdate.dat
Is the latest update time.
This can be done on the Saltstack server
Salt ' Tiberx ' cmd.run ' cd C:\Program Files\Common Files\mcafee\engine\amcoreupdater&&dir ' | grep "Amupdate.dat"
Return:
2018/01/18 12:17 395,164 amupdate.dat
If McAfee is not installed, return execution failed
Error:minions returned with Non-zero exit code