Session Relevance Query
session_relevance_queryEvaluate BigFix session relevance queries on the root server to inspect computers, fixlets, actions, and sites without client round-trips, with limit/offset paging.
Instructions
Evaluate a BigFix session relevance query on the root server.
Session relevance queries data the server already has (computers, fixlets, actions, sites, operators...) with no client round-trip. Examples: 'number of bes computers', '(name of it, id of it) of bes computers whose (now - last report time of it < 1 * day)'.
There is no way to limit rows in the relevance itself - 'first', 'firsts', 'items' and 'elements' are all undefined operators on a BigFix root server. Use the limit/offset parameters instead; the response reports total_available and truncated. Note the server still evaluates the whole query, so limit bounds the response, not the work.
Returns the server's JSON envelope: {"result": [...], "plural": ..., "type": ..., "evaltime_ms": ...} (plus "count" when the server sends it) and bounding metadata.
Results are evaluated within the configured operator's scope. Unless whoami reports is_main_operator, counts and lists are a lower bound on what exists - report them as visible to this operator, not as the complete state of BigFix.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max rows to return (default 500). The response reports total_available and truncated. | |
| offset | No | Row offset, for paging through results. | |
| relevance | Yes | A BigFix session relevance expression to evaluate. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||