You can search for Computers with windows an a specific windows update or for Linux with a specific package.
"
https://wiki.ocsinventory-ng.org/04.Management-console-and-its-advanced-features/Querying-inventory-results/