In this repo I collect scripts, automation stitches, various tools I find useful in my work with Fortinet products. Make sure to watch this repository to get notified on updates. Your stars on the repository as a sign that you found it useful are appreciated, thanks.
This collection is work in progress, and will always be. If you have an idea, or already implemented an automation stitch not in the collection, I will be glad to add it for the benefit of all of us - [email protected]. Also, if you try some stitch from this repository and things do not work as expected - feel free to open an issue/PR with details.
Disclaimer: I cannot possibly test contents of this repo on all Fortigate models and FortiOS versions, and cannot guarantee that it will work on your gear, nor can predict all possible outcomes, so test before using in production. All stitches were tested on FortiOS 7.0.x and 7.2.x, and should work as is on 7.4.x as well.
Mostly based on the Automation stitches above, but not completely. Allows to scale when managing multiple Fortigates and configuring auto-stitches becomes not practical. Fortianalyzer can send notification/alerts as well as notify Fortigate to run pre-configured automation stitch on the Fortigate itself. As always - please test before using in production.