Skip to content

feat(fortigate): add Studio Project (compliance, interface config, backup) - #72

Merged
michaelelrom merged 1 commit into
itential:mainfrom
michaelelrom:feat/fortigate-studio-project
Aug 13, 2026
Merged

feat(fortigate): add Studio Project (compliance, interface config, backup)#72
michaelelrom merged 1 commit into
itential:mainfrom
michaelelrom:feat/fortigate-studio-project

Conversation

@michaelelrom

@michaelelrom michaelelrom commented Aug 13, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Adds a netmiko-based FortiGate Studio Project with 4 workflows: golden config compliance, interface configuration (manual approval gate, pre/post MOP checks, and a diff), interface reset, and backup/config snapshot
  • Includes the supporting Jinja2 templates, MOP command template, and JSON forms
  • Verified live: the compliance workflow's treeId already matches the FortiGate - Simple golden config tree contributed separately in this repo, and 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

Test plan

  • All 4 workflows validated with zero errors/warnings against a live Itential Platform's workflow validator
  • Import fortios parser + FortiGate - Simple golden config tree, bind to a device, then import this project and confirm FortiGate - Run Compliance resolves the tree with no manual edits
  • Run each workflow against a real netmiko-wired FortiGate device

@michaelelrom
michaelelrom force-pushed the feat/fortigate-studio-project branch from 5056196 to 7f85ba5 Compare August 13, 2026 20:45
…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
michaelelrom force-pushed the feat/fortigate-studio-project branch from 7f85ba5 to e078934 Compare August 13, 2026 20:49
@michaelelrom
michaelelrom merged commit e9f7311 into itential:main Aug 13, 2026
@michaelelrom
michaelelrom deleted the feat/fortigate-studio-project branch August 13, 2026 20:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants