spotify/pyfg

Files validation

Opened this issue · 1 comments

Hi there!

First of all, thank you so much for this awesome API you guys nailed.

I've got a question. Is there any way this API could be used for configuration files validation? I have this project in which I need to make sure no invalid FortiGate configuration file is uploaded (that is, sections without an 'end' or 'next', weird characters...).

From what I tested, if an invalid file is uploaded, the FW reject the configuration.
Maybe it's different on specific versions..