feat(fortigate): add Studio Project (compliance, interface config, backup) - #72
Merged
michaelelrom merged 1 commit intoAug 13, 2026
Conversation
michaelelrom
force-pushed
the
feat/fortigate-studio-project
branch
from
August 13, 2026 20:45
5056196 to
7f85ba5
Compare
…ckup) Add a netmiko-based FortiGate Studio Project with 4 workflows: golden config compliance, interface configuration (with manual approval, pre/post MOP checks, and a diff), interface reset, and backup/config snapshot. Includes the supporting Jinja2 templates, MOP command template, and JSON forms. All 4 workflows validated cleanly (zero errors/warnings) against a live Itential Platform's workflow validator. The compliance workflow's treeId already matches the FortiGate - Simple golden config tree contributed separately in this repo -- verified live that Config Manager's golden config import preserves treeId verbatim, so importing that tree before this project resolves the dependency with no manual editing. Documented that chain, plus the netmiko requirement (sendConfig needs real set-config support, which fortigate-rest doesn't offer), in the README.
michaelelrom
force-pushed
the
feat/fortigate-studio-project
branch
from
August 13, 2026 20:49
7f85ba5 to
e078934
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
treeIdalready matches theFortiGate - Simplegolden config tree contributed separately in this repo, and Config Manager's golden config import preservestreeIdverbatim — so importing that tree before this project resolves the dependency with no manual editing. Documented that chain, plus the netmiko requirement (sendConfigneeds realset-configsupport, whichfortigate-restdoesn't offer), in the READMETest plan
fortiosparser +FortiGate - Simplegolden config tree, bind to a device, then import this project and confirmFortiGate - Run Complianceresolves the tree with no manual edits