FortiSOAR Discussions
Jian
New Contributor

Tutorial / Documentation for writing json files to construct playbooks

Hi everyone,

We are working on a project to programmatically generating playbooks by auto-write the json files.

For instance, we want to generate json files like this https://github.com/fortinet-fortisoar/solution-pack-ot-vulnerability-management/blob/release/1.0.0/p.... which could be loaded for FortiSoar and display as a playbook.

However we have some difficulties to find documentation / information on the exact definition of different field names. For example, we want to understand more systematically about the different subfields and values in the "argument" and the "condition" json object in the link above.

Do you know if there are any available documentation and tutorials for this?

Best,

Jian

2 REPLIES 2
anarula
Staff
Staff

@Jian -- Thank you for posting your quetion.

We did not anticipate that our customer base would like to use raw JSON to create playbooks and hence have not planned on documenting the individual constructs.

 

Could you elaborate on the use case, and why you would like to generate JSON?

 

CTO (SOAR Business) | VP of Engineering
Jian
New Contributor

Hi Anarula,

Thanks for the quick reply.

We are experimenting with programmatically generate playbooks in batch with more config flexibility. Mostly we have a lot of repetition work and want to see if we can make it a bit faster.

We would highly appreciate if you could provide some pointers on documents or information that helps us learns better how to write the json files, especially definition of those fields. And maybe there could be some collaboration in the future if things pans out.

Best,

Jian