- FortiManager Methods for handling addresses and services (get and delete)
Changed
- Upgrade requests to >=2.32 due to dependabot warning
Removed
Fixed
- Fix crash when logging or audit_logging in configuration is not a dictionary - Fix crash when log_file in configuration is missing or empty
2.1.1
Changed
- Upgrade black to ~24.03.0 due to dependabot warning - Upgrade jinja2 to ~3.1.4 due to dependabot warning - Upgrade pylint to ~3.1.0 - Minor update of several dependencies
2.1.0
Added
- Option `--raw` for `fmg get devices` - Support for HTTP `PATCH` and `DELETE` method in FortiClientEMS - Option `--smtp` for `fgt config check`
Changed
- `fmg get devices` also shows ha nodes if device is a cluster - Make `Fortinet.api()` more generic to support more HTTP methods - Improve error handling and tests for `Fortinet.api()` - Updated GitHub actions to latest major version due to Node.js 16 deprecation warning - Use new dependency groups for Poetry in pyproject.toml - Manage readthedocs dependencies with Poetry (instead of generated requirements.txt)
Fixed
- Better handling of EMS license expiry evaluation - Fix slicing on secrets output - Better syntax for lists in documentation (developer/architecture/1_introduction_goals.html)
2.0.1
Added
- Option ssl_verify for Vault service
2.0.0
Added
- Support for Hashicorp Vault service to store sensitive inventory data - Add license, repository and classifiers in pyproject.toml
Changed
- Enhance create_dir() in files helper - Change default logging (console logging enabled with log-level WARNING)
1.1.0
Added
- Add support for Python 3.12 - Option `--smtp` for `fmg assign` and `fmg_post` - Method `inventory.get_item()` to only get one single item from the inventory
Fixed
- Add dev dependencies to docs requirements file (due to readthedocs build error) - Update to urllib3 2.0.7 due to dependabot security warning - No more Traceback for FortiGates without hostname or token specified - Result.print_result_as_table() gives error with empty Response. Now it just prints an empty line if no results were pushed.
Changed
- Disable caching in Github Actions due to an error since Python 3.12 - `fortimanager.post()` now returns list of errors instead of just the number of errors