Can we get the list of all the computers by an array ip address?

I have multiple IP Address like below.
arr = [ “168.22.111.2”, “168.13.122.23”, “145.45.33.121”]

I want to find all the computers present in my bigfix server with above ip address.

Can it be done using query relevance api ?

Please help me on this.

You can use the session relevance to retrieve that information. An expression like that should do the work:

( ( (names of it, ip addresses of it ) of bes computers ) as string ) whose ( it contains “0.” or it contains “1.” )

Replace 0. and 1. with the ip that you are looking for and add more or it contains … condition if you need to find more ip.