I’m developing an integration that is pulling data out of BigFix via its REST API. For this I have a custom analysis that is collecting data from the clients, and I can retrieve this data, so all good. I also want to pull out general device details, but the complete set of data seems to come from multiple analyses, and I’m not sure how to link all of this data together in a single session relevance query.
I can produce a custom report that has all of the device details I am looking to pull out. I’m looking for details such as:
device name, domain, make, model, cpu name, cpu count, core count, ram, last logged user, BIOS date (and more.)
So I have some questions:
1, Is it possible via the REST API to call a custom report by name to pull out the data?
2, Is it possible to export the report definition so it can be distributed?
3, Is it possible to get the session relevance query definition from a report so that I can re-use it?
Any help and advice in this regard would be helpful.
1, Is it possible via the REST API to call a custom report by name to pull out the data?
If by custom report, you mean a custom Web Report, not really, no. That said, you can create a scheduled task within Web Reports to output the data associated with the custom report on a periodic basis to email or file which can potentially be used for your integration.
2, Is it possible to export the report definition so it can be distributed?
If the Custom Report leverages session relevance, than yes (you could extract the session relevance for the report definition by click ‘Edit Source’. Stored reports generated via the Native Web Reports UI do not have associated session relevance.
3, Is it possible to get the session relevance query definition from a report so that I can re-use it?
One query was ‘can you call a Web Report from the REST interface’, which @Aram has kindly confirmed that you cannot, and the other was ‘how do you join multiple analysis results into a single session relevance query’, which @Aram informed me of the Excel Connector that can simplify the creation of such queries.