Create Custom Action through BigFix REST API

I’ve took a look to the BigFix REST API Documentation(Link) to see if it’s possible to create a Custom Action with the API, instead using a Fixlet as Source for this action.

The documentation is not clear about if it’s possible(As many things from IBM that are not documented well).

So, is it something possible?

Did you look into the RESTAPI fixlet?

It specifically mentions “Create a fixlet in the specified site.” under the POST method.

There are also multiple examples of how to use the BigFix RESTAPI available on github. The preceding link is, in fact, for creating a new Fixlet.

Here’s a simple example on how to create an action through the REST API:

https://developer.bigfix.com/rest-api/examples/create-action.html

Essentially, you’d be doing a POST to the /api/actions resource, and your input XML should follow the BES.xsd ( https://www.ibm.com/developerworks/community/wikis/home?lang=en#!/wiki/Tivoli%20Endpoint%20Manager/page/BES.xsd ) leveraging ‘SingleAction’.

That’s what I was looking for, thanks.