tools.fortinet_tools module
FortiGate / FortiOS REST API v2 (read-only, allowlisted).
Uses API token authentication (Authorization: Bearer). Create a token in the
FortiGate GUI (System > Administrators > API tokens) with read-only profile for
monitoring use cases.
Security: requires UNSANDBOXED_EXEC. Default verify_ssl=false for
typical self-signed appliance certs; MITM risk on untrusted networks.
Optional vdom (default root) is passed as a query parameter where
applicable.