I am attempting to write some custom relevance to extract a list of applicable Fixlets per Computer, from BigFix. I need to extract this as a CSV so that it can be consumed by an external system. These are the data items I am trying to extract:
Computer ID, Fixlet Name, Source Release Date
I have developed some custom Relevance using the BigFix Session Relevance Tester:
(name of it, source release date of it) of relevant fixlets whose (display name of site of it = “Patches for Windows” AND fixlet flag of it AND (category of it = “Security Update” OR category of it = “Security Hotfix” OR category of it contains “Critical Update”)) of bes computers whose (id of it as string = “12763049”)
This works successfully within the Session Relevance Tester. However, if I try to use the BigFix API I get an error. I have tried using the /api/query resource:
I think you got the URL encoding of the session relevance wrong (session relevance does work in RestAPI too) or at least that’s the case on the few browsers I tested it with. Try this (it works for me):