Hello everyone, I'm currently trying to add a custom osquery table with osquery-python to get the information of how many installed packages are outdated. Are there some better solutions than just simply using "os.system" or "subprocess.run" for similar tables?
02/22/2023, 10:34 PM
This is a little vague… Are you asking if there’s an API for “how many installed packages are outdated”?
That answer is highly OS dependent. In some cases, shelling out to the native packaging tools might be the best you can do