New: FortiGateAPI.log connectors, to work with all Log API endpoints.
New: FortiGateAPI.monitor connectors, to work with all Monitor API endpoints.
Changed: FortiGateBase.login() for token check /api/v2/monitor/system/status
Changed: FortiGateBase._get_token_from_cookies() cookie_prefix = "ccsrftoken"
Fixed: FortigateAPI get, update methods for objects without UID
The package has been fully refactored. The skeleton has been changed to make it possible to implement any endpoint in a manner similar to FortiOS REST API documentation.
Added: FortiGateAPI object (replacement for FortigateAPI object). This object contains connectors to all Configuration (cmdb) REST API endpoints. For example old FortigateAPI.address connector have been transformed to FortiGateAPI.cmdb.firewall.address. Other connectors are transformed in a similar manner.
Added: FortiGate object (replacement for Fortigate object). It is a Python wrapper for the FortiOS REST API. The get methods have been significantly changed to support responses with any data type.
Removed: FortigateAPI object (replaced by FortiGateAPI object).
Removed: Fortigate object (replaced by FortiGate object).
Removed: SSH Netmiko connector.
Removed: CiscoConfParse adapted for Fortigate.
Added: readthedocs
Added: FortigateAPI.vdoms
Fixed: FortigateAPI.<object>.create(). Return <Response [500]> if Object already exist. Before was <Response [200]>. The behavior is the same as in the Fortigate POST method.
Fixed: FortigateAPI.<object>.delete(filter). Return <Response [404]> if no objects have been found by filter.
Fixed: FortigateAPI.<object>.update(). Return <Response [404]> if Object is not exist. Before was <Response [200]>. The behavior is the same as in the Fortigate PUT method.
Fixed: quoted parameters, FortigateAPI.delete(filter="[email protected]/32").
Added: Fortigate.get_l().
Fixed: Look for a cookie that is named "ccsrftoken"
Fixed: Fortigate._valid_url()
Added: poetry
Fixed: dependencies
Added: actions
Added: FortigateAPI.ExternalResource.
Added: Fortigate.token.
Fixed: Fortigate.__repr__() removed password.
Changed: FortigateAPI.fgt > FortigateAPI.rest.
Added: ./examples/ssh_vdom.py.
Changed: README.rst ssh.
Added: ciscoconfparse.
Fixed: ccsrftoken for fortios v7.
Fixed: py.typed.
Added: SSH.
Added: HTTPS SSL verify.
Added: with statement for FortigateAPI and Fortigate.
Fixed: setup.py, ModuleNotFoundError: No module named requests.