Rest APi querry to pull Linux servers OS from envirnoment

Hi All, Could someone please guide me for a rest api query to get systems names with Linus OS from environment on Bigfix.?

Certainly. Currently, the easiest way to approach this is to generate a session relevance statement that you’d then pass to /api/query.

There’s actually a very similar use case described in the following post which I’d recommend reviewing as it can potentially help you generate the session relevance logic for similar future queries: Find machine name with user name

In the mean time, here’s a sample session relevance query that will return system names for machines whose operating systems start with ‘Linux’:

names of bes computers whose (operating system of it starts with "Linux")

3 Likes