I'm by no means a pro at creating reports. It takes me alot of playing around and figuring it out.
The report below works by setting a scan for a file location, using the date modified.
If the date is greater than (>) it is green
If it is older than (<) it is red
If it does not exist, it is yellow, but says Out of date.
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tsysAssetTypes.AssetTypename,
tsysAssetTypes.AssetTypeIcon10 As icon,
tblAssets.IPAddress,
tblAssets.Lastseen,
tblAssets.Lasttried,
tblFileVersions.Found,
tblFileVersions.FilePathfull,
Case
When tblFileVersions.LastModified > '12/06/2022 00:00:00' Then 'Up to date'
Else 'Out of date'
End As [Patch Status],
Case
When tblFileVersions.LastModified < '12/06/2022 00:00:00' Then '#ff6666'
When tblFileVersions.LastModified >= '12/06/2022 00:00:00' Then '#009900'
When tblFileVersions.Found = 'false' Then '#ffff00'
End As backgroundcolor,
tblFileVersions.FileVersion,
tblFileVersions.CreationDate,
tblFileVersions.LastModified
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Inner Join tblFileVersions On tblAssets.AssetID = tblFileVersions.AssetID
Where
tblFileVersions.FilePathfull =
'C:\file path to software' And
tblAssetCustom.State = 1
Please note: I only have on premise - not cloud version of lansweeper. Our license is old enough it doesn't allow it.
You will need to set up a file & registry scanning scan.
If I had more time available, I'd re-write the report for using the installed software reports from scanning.