feat(fortigate): add golden configuration baseline and fortios parser - #64
Merged
michaelelrom merged 1 commit intoAug 12, 2026
Merged
Conversation
Adds the fortios Config Manager parser (cisco-ios lexer template plus a # comment rule for FortiOS's #-prefixed config-export header lines) and the FortiGate - Simple golden config tree covering admin session timeout, password policy, NTP, syslog forwarding, and interface/admin access hardening. Ships with no device bindings.
michaelelrom
force-pushed
the
feat/fortigate-golden-config
branch
from
August 12, 2026 21:56
2c1204b to
4e68da2
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
fortiosConfig Manager parser: built on thecisco-ioslexer template (whitespace-delimited words, quoted strings preserved), plus a#comment rule to correctly skip the#-prefixed metadata header lines (#config-version=...,#buildno=...) FortiOS always emits at the top of a config export.deviceType: fortios), covering:trusthost1 0.0.0.0 0.0.0.0management ACLport1Fortinet/FortiGate/README.mdwith Configuration Parsers and Golden Configurations sections (TOC, Contents table, asset docs).Test plan
configblock →setlines) with correctevalMode/severityper line (required/error, disallowed/error, ignored, informational).