I know you can issue queries within the BigFix WebUI using BigFix Query. According to the Platform documentation, you can also access that via a REST API:
Unfortunately the link on that documentation page to the REST API for BigFix Query is broken. Additionally it doesn’t seem to be referenced at all on developer.bigfix.com. Any pointers to official or unofficial docs?
I had a use for this today, and was a bit disappointed that the developer.bigfix.com documentation did not include a sample XML for posting a new clientquery. So here’s one.
<BESAPI>
<ClientQuery>
<ApplicabilityRelevance>true</ApplicabilityRelevance>
<QueryText>(ids of it, names of it) of processes</QueryText>
<Target>
<ComputerName>hostname1</ComputerName>
<!-- Other targetting options include:
<ComputerID>12345</ComputerID>
<CustomRelevance>windows of operating system</CustomRelevance>
<ComputerGroup>
<Name>ComputerGroup1<Name>
<SiteName>CustomSite1<SiteName>
</ComputerGroup>
-->
</Target>
</ClientQuery>
</BESAPI>