One-click fixes for Config Health; Config Health at the top of the Config tab (v0.35.0)
#239: findings with one clearly right fix get a "Fix it" button that
shows the exact change, runs it under Change Guard, and re-runs the audit
so the finding clears:
- spanning tree off, or classic STP: /interface/bridge set
protocol-mode=rstp - a VLAN interface whose VLAN the bridge isn't tagged in: add the bridge
to that VLAN's tagged ports, creating the entry if there is none (a VLAN
inside a multi-VLAN entry is left for the device)
The fix endpoint only acts on a finding recorded for that device. Other
findings have no button and say why: more than one reasonable fix, or
device-mode, which can only be changed at the device.
Config Health moves from the Security tab to the top of the Config tab.
Tested on a CRS309: an empty bridge running classic STP raised the
finding; Fix it (API and UI) set RSTP under Change Guard and the finding
cleared. RouterOS 7.24 tags the bridge in a VLAN interface's VLAN by
itself, so the VLAN fix only applies to older releases (unit tested).
Docs: change-guard.md (One-click fixes).
Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com
Container images (published once CI passes):
ghcr.io/2gt-media-group-llc/mikrotik-manager-backend:0.35.0-betaghcr.io/2gt-media-group-llc/mikrotik-manager-nginx:0.35.0-beta
Documentation: https://2gt-media-group-llc.github.io/mikrotik-manager/