Fixlet for Action info into log files

I am trying to make an action script which provides me all the open actions information in the log file. I have tried multiple ways to create the action script but unfortunately, I am unable to create one. I am new to BigFix and just started working on fixlet creation. I would like a little help and guidance.

Hello @sikarwar.rs Welcome!

By default, this functionality is not readily available. Achieving it involves a more complex approach, requiring the integration of a REST API into an action script, along with scripting for data formatting. The BigFix REST API typically provides data in XML format, but you can configure it to output JSON instead. However, to view the data in a human-readable format, you would need to parse the generated output using an additional method, such as a custom script or a suitable tool.

Alternatively, there is a simpler way to automate reporting for this task. You can use the Web Reports interface. Navigate to the “Actions” section and apply the filter shown in the screenshot below to extract the desired data.

Once you’ve set up the filters, utilize the Web Reports scheduling option with the archiving feature enabled. This will save the CSV output on the BigFix server, which you can then use for further processing or development.

And related to the archiving file path, that you should be able to see once 1st report is generated within your report’s scheduling config.

//example
image

I’ll look for any HCL Tech Advisor videos that are relevant to this and share them for better understanding.