I need to parse the Fortigate config to find and change some commands by python, but I have not found good solution. Maybe someone has experience parsing the Fortigate configuration and can recommend a good tool for this task.
I have experience with the ciscoconfparse library and would like to use some thing similar to play with the Fortigate config.
fortigate-api implements a feauture based on the CiscoConfParse to work with the Fortigate config
Below some examples