Changelog

v1.1.1 - 2026-09-10

  • Report what the device objected to when it rejects a request: FortiOS returns cli_error as a list of cli output lines and the handler only recognised a single string, so every rejection surfaced as a bare 500 Server Error with no reason at all. A static route created without device now reports Attribute 'device' MUST be set. instead.

v1.1.0 - 2026-09-09

  • Support FortiOS 7.4 and 7.6: send the intf field of local-in policies and the monitor field of ipsec phase1 interfaces in the form the device expects, a table on 7.4 and 7.6 and a single value on 7.2. The form is decided by reading the schema the device publishes for its own objects rather than by comparing FortiOS versions, so releases that changed at another point work too. The model keeps the single value either way, so existing models need no change.

  • Keep the rest of the body when an administrator password changes: the password payload replaced the update payload, so a fortigate::SystemAdmin deploy that changed both the password and another attribute reported success and applied only the password.

  • Ignore the name field of fortiflex configuration parameters when diffing: the fortiflex api started reporting the parameter display label (e.g. “Number of CPUs”) instead of the parameter type (e.g. “CPU”), which made every configuration permanently out of sync.

  • Select the service parameters to clean by parameter id instead of parameter name in the fortiflex cleaner: the same api change made the name comparison always fail, silently disabling the cleaning of all fortiguard and cloud services.

v1.0.6 - 2026-06-23

  • Explicitly disable followProgram when updating the end date of an entitlement: a program renewal with auto-extend marks active entitlements as follow-program, after which the fortiflex api rejects end date updates that do not disable the flag in the same request.

  • Make Entitlement.end_date optional: when null the orchestrator does not manage the end date and the entitlement follows the program end date (fortiflex termination mode “Follow Program”).

  • Never select the mandatory FortiManager support service (FMGFC247) for cleaning in the fortiflex cleaner: the fortiflex api rejects configuration updates that blank it, which wedged the test suite cleanup.

  • Add the support_services (mandatory since May 2026) and cloud_services parameters to FortiManagerConfiguration.

v1.0.5 - 2026-01-12

  • Add shield reference support for SystemAdmin password

v1.0.4 - 2025-05-26

  • Fix vdom deletion

v1.0.3 - 2024-11-25

  • Cache fortiflex credentials in agent state directory, for minimal fortiflex api usage.

v1.0.2 - 2024-11-18

  • Improve reporting of fortigate api token resolving errors

  • Avoid parallel sessions towards fortiflex api

  • Make less useless call to fortiflex authentication api

  • Optimize the number of calls made to the fortiflex authentication api

v1.0.1 - 2024-09-26

  • Update README.md

v1.0.0 - 2024-08-28

  • Add _parent reverse relation and index on PrefixList’s Rule

  • Fix dry-run of StaticRange resource (#28)

v0.4.2 - 2024-07-23

  • Make sure to refresh expired entitlement token before attempting to install it.

v0.4.1 - 2024-07-16

  • Handle GRACE_PERIOD status in fortigate::fortiflex::Entitlement resource handler

v0.4.0 - 2024-06-24

  • Add AddressGroup and AddressGroup6 resources

v0.3.4 - 2024-05-28

  • Fix id fields blackhole static route

v0.3.3 - 2024-05-16

v0.3.2 - 2024-05-07

  • Add default token field

  • Fix agent name for Fortiflex resources

    • Make sure that two fortigate resources cannot deploy at the same time (entitlement + other Fortigate resource)

  • Improve Entitlement Handler

    • Will now wait for the license to be up before interacting with the Firewall. If it takes too much time, the resource will be skipped

  • The body of the password change request is now hidden

  • Fix interface mode not being reset

v0.3.1 - 2024-04-23

  • Update inmanta-module-restbase version

v0.3.0 - 2024-04-15

  • Add support for secrets

v0.2.0 - 2024-02-23

  • Handle redistributes correctly on BGP

  • Handle graceful-restart-time correctly on BGP

  • Normalize netmasks in Fortigate resources

  • Stop using deprecated jsonschema.RefResolver

  • Add restbase caching mechanism for schemas

  • Add Administrator resources + ability to change admin password

  • Fix special case where the installation of the entitlement would fail: install an entitlement with an expired end date

v0.1.1 - 2024-01-16

  • Clean up duplicated Address entities

  • Fix installation of an entitlement leading directly to a failure

  • Fix static range when DHCP was used

  • Fix SSL warning

v0.1.0 - 2023-11-27

  • Add co-management for Range resources

  • Add Static Route Range resource

  • Add Policy Range resources

  • Entitlement and Configuration handlers have been improved

v0.0.1 - 2023-08-29

  • Initial release