BigFix Inventory API Not returning all records or None at all

I am using the API call https://hostname:port/api/sam/v2/detailed_hw_ip_addresses?token=token and I’m not getting a results at all in our prod environment. But with the same API call, I get one result in dev but not all records. Not sure what else can be done to fix this or is this a bug?

Any help would be appreciated. Thanks

Are the “Collect Detailed hardware information” task and analysis running/enabled in production? Does the role used to run the API query have the View Endpoints and View Hardware Inventory permissions?

1 Like

My account has permissions but noticed the collect detailed hardware information task is not enabled but the analysis is activated.

Take a look at the tema.log file. Every RestAPI query should be displayed there and it may give you an indication what the problem is. If it doesn’t may be worth opening a support case.

Running the “Collect Detailed hardware information” task periodically and the analysis are required to make the data available for the API calls.

Take action with this task
Wait for the Analysis to report data into BFI
Run a manual import or wait for scheduled import to run and then check the API query again.

The query can also be run from the browser, after logging into BFI

1 Like

So that particular task not being deployed was the root cause. But looks like after the first scheduled import, not all endpoints were uploaded. I’m assuming it may take a few rounds of imports and scans for most of the data to be uploaded into BFI. Thanks everyone for the support.

2 Likes