Skip to content
Connector

FortiGate Cloud

Manage cloud-managed firewalls, report schedules and backups

Add and manage devices, schedule reports, set config auto-backup, block or unblock IP addresses, quarantine IPs, and call the FortiOS API through FortiGate Cloud.

@ftnt-dspilleMaintainer v1.2.0 Published Oct 6, 2026 Updated Nov 3, 2026
View source

github.com/ftnt-dspille/connector-fortigate-cloud

Connector code runs on your platform and is not hosted here. Review it at the source, then follow the .

Configuration · 6 fields

  • Region region select required

    Select the FortiGate Cloud region that hosts your account. A device is only visible from the region it was provisioned into.

    Default Global

    Options GlobalUSEUJapan
  • Server URL server_url text

    Optionally specify the FortiGate Cloud API URL to override the selected region, for example https://api.fortigate.forticloud.com. Leave blank to use the region.

  • API ID api_id text required

    Specify the API ID, i.e. the username of the FortiCloud IAM API user, in UUID format XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX. The IAM API user must be granted Admin permissions for FortiGate Cloud.

  • Password password password required

    Specify the password of the FortiCloud IAM API user.

  • Client ID client_id text required

    Specify the client ID used to request the FortiGate Cloud access token.

    Default fortigatecloud

  • Verify SSL verify_ssl checkbox

    Specifies whether the SSL certificate for the server is to be verified.

    Default true

Operations · 22

  • Get Devices 3 params
    get_devices

    Retrieves the list of devices provisioned to FortiGate Cloud, optionally paginated and sorted.

    • Limit limit text

      Specify the maximum number of devices to retrieve per page.

    • Offset offset text

      Specify the index of the first device to retrieve, starting from 0.

    • Sort sort text

      Specify the field by which to sort the results. Only 'sn' is supported.

  • Get Device 1 param
    get_device

    Retrieves the details of a specific device provisioned to FortiGate Cloud based on its serial number.

    • Serial Number sn text required

      Specify the serial number of the FortiGate provisioned to FortiGate Cloud.

  • Add Device 1 param
    add_device

    Adds a device to FortiGate Cloud using its device key.

    • Device Key device_key text required

      Specify the device key of the device to add to FortiGate Cloud.

  • Update Device Management 5 params
    update_device_management

    Enables or disables the FortiGate Cloud management feature for a device. Enabling management requires the FortiGate 'admin' user credentials; disabling it does not.

    • Serial Number sn text required

      Specify the serial number of the FortiGate provisioned to FortiGate Cloud.

    • Enable Management management checkbox required

      Select this option to enable the management feature for the device, or clear it to disable management.

      Default true

    • Username username text

      Specify the FortiGate 'admin' user name. Required when enabling management.

    • Password password password

      Specify the FortiGate 'admin' user password. Required when enabling management.

    • Force Password Change force_password_change checkbox

      Select this option to force a password change on the device.

  • Get Report Schedules 1 param
    get_report_schedules

    Retrieves all report schedules configured for a device on FortiGate Cloud.

    • Serial Number sn text required

      Specify the serial number of the FortiGate provisioned to FortiGate Cloud.

  • Get Report Schedule 2 params
    get_report_schedule

    Retrieves a specific report schedule configured for a device on FortiGate Cloud based on its OID.

    • Serial Number sn text required

      Specify the serial number of the FortiGate provisioned to FortiGate Cloud.

    • Schedule OID oid integer required

      Specify the OID of the report schedule to retrieve.

  • Add or Update Report Schedule 7 params
    add_report_schedule

    Adds a report schedule for a device on FortiGate Cloud, or updates an existing schedule when its OID is specified.

    • Serial Number sn text required

      Specify the serial number of the FortiGate provisioned to FortiGate Cloud.

    • Config OID config_oid integer required

      Specify the OID of the report configuration to schedule.

    • Schedule OID oid integer

      Specify the OID of an existing report schedule to update. Leave blank to add a new schedule.

    • Schedule Type schedule_type text

      Specify how often the report runs, for example: daily.

    • VDOM vdom text

      Specify the VDOM for which to generate the report.

    • Email email text

      Specify the email address to which to send the report.

    • Send Email email_flag checkbox

      Select this option to email the report when it is generated.

      Default false

  • Delete Report Schedule 2 params
    delete_report_schedule

    Deletes a report schedule from a device on FortiGate Cloud based on its OID.

    • Serial Number sn text required

      Specify the serial number of the FortiGate provisioned to FortiGate Cloud.

    • Schedule OID oid integer required

      Specify the OID of the report schedule to delete.

  • Get Config Auto Backup Setting 1 param
    get_auto_backup_setting

    Retrieves the configuration auto backup setting of a device on FortiGate Cloud.

    • Serial Number sn text required

      Specify the serial number of the FortiGate provisioned to FortiGate Cloud.

  • Update Config Auto Backup Setting 6 params
    update_auto_backup_setting

    Updates the configuration auto backup setting of a device on FortiGate Cloud.

    • Serial Number sn text required

      Specify the serial number of the FortiGate provisioned to FortiGate Cloud.

    • Enable Auto Backup enable checkbox

      Select this option to enable configuration auto backup for the device.

      Default true

    • Backup Option backup_option text

      Specify when a backup is taken, for example: PERSESSION.

    • Alert alert checkbox

      Select this option to send an alert when a configuration backup occurs.

      Default false

    • Alert Language alert_lang text

      Specify the language of the alert email, for example: en.

    • Alert Emails alert_emails text

      Specify the email addresses to which to send backup alerts.

  • Call FortiOS API 5 params
    fos_api_call

    Proxies a FortiOS API call to a managed FortiGate through FortiGate Cloud. The FortiGate must be deployed to FortiGate Cloud with configuration management enabled and its management tunnel online. Only the GET method is available on free FortiGate Cloud accounts; the POST, PUT and DELETE methods require a paid FortiGate.

    • Serial Number sn text required

      Specify the serial number of the FortiGate provisioned to FortiGate Cloud.

    • Method method select required

      Select the HTTP method of the FortiOS API call. POST, PUT and DELETE require a paid FortiGate.

      Default GET

      Options GETPOSTPUTDELETE
    • FortiOS API Path fos_api_path text required

      Specify the FortiOS API path to call, for example: api/v2/monitor/license/status. Refer to the FortiOS API documentation for available paths.

    • Query Parameters query_parameters json

      Specify the query parameters of the FortiOS API call as a JSON object. Refer to the FortiOS API documentation for available query parameters.

    • Payload payload json

      Specify the request body of the FortiOS API call as a JSON object. Applies to the POST and PUT methods.

  • Generic API Call 3 params
    generic_api_call

    Makes an arbitrary call to the FortiGate Cloud API. Use this operation to reach endpoints that this connector does not expose as a dedicated action.

    • Method method select required

      Select the HTTP method of the API call.

      Default GET

      Options GETPOSTPUTDELETE
    • Endpoint endpoint text required

      Specify the API endpoint to call, relative to the FortiGate Cloud API base path, for example: /devices.

    • Payload payload json

      Specify the request body of the API call as a JSON object.

  • Get FortiGate System Status 1 param
    get_fgt_system_status

    Reads the FortiOS system status (hostname, model, firmware, serial, VDOM, resource use) of a FortiGate managed by FortiGate Cloud, through the FortiGate Cloud FortiOS proxy.

    • Serial Number sn text required

      Specify the serial number of the FortiGate provisioned to FortiGate Cloud.

  • List Firewall Addresses 3 params
    list_firewall_addresses

    Lists the firewall address objects configured on a FortiGate managed by FortiGate Cloud, through the FortiGate Cloud FortiOS proxy. Supports limit and offset pagination.

    • Serial Number sn text required

      Specify the serial number of the FortiGate provisioned to FortiGate Cloud.

    • Limit limit text

      Maximum number of address objects to return (1-1000). Defaults to 100.

    • Offset offset text

      Number of address objects to skip, for pagination.

  • List Firewall Policies 3 params
    list_firewall_policies

    Lists the firewall policies configured on a FortiGate managed by FortiGate Cloud, in policy order (top of the match order first), through the FortiGate Cloud FortiOS proxy.

    • Serial Number sn text required

      Specify the serial number of the FortiGate provisioned to FortiGate Cloud.

    • Limit limit text

      Maximum number of policies to return (1-1000). Defaults to 100.

    • Offset offset text

      Number of policies to skip, for pagination.

  • Create Firewall Address 4 params
    create_firewall_address

    Creates a firewall address object on a FortiGate managed by FortiGate Cloud, through the FortiGate Cloud FortiOS proxy. The IP accepts a single IPv4 address (a /32 object) or a CIDR network. Writes through the FortiOS proxy require a paid FortiGate; an unentitled device answers 403 permission_deny.

    • Serial Number sn text required

      Specify the serial number of the FortiGate provisioned to FortiGate Cloud.

    • Address Name name text required

      Name of the firewall address object to create.

    • IP or CIDR ip text required

      IPv4 address or CIDR network for the address object, for example 203.0.113.10 or 203.0.113.0/24.

    • Comment comment text

      Optional comment stored on the address object.

  • Delete Firewall Address 2 params
    delete_firewall_address

    Deletes a firewall address object on a FortiGate managed by FortiGate Cloud, through the FortiGate Cloud FortiOS proxy. Writes through the FortiOS proxy require a paid FortiGate; an unentitled device answers 403 permission_deny.

    • Serial Number sn text required

      Specify the serial number of the FortiGate provisioned to FortiGate Cloud.

    • Address Name name text required

      Name of the firewall address object to delete.

  • Block IP 6 params
    block_ip

    Blocks an IPv4 address or CIDR on a FortiGate managed by FortiGate Cloud: creates (or reuses) an FSR-BLOCK-<ip> address object and a deny policy that matches only that address, then moves the policy to the top of the policy order. Traffic to or from other hosts is not affected. Idempotent: rerunning reuses existing objects. Writes through the FortiOS proxy require a paid FortiGate; an unentitled…

    • Serial Number sn text required

      Specify the serial number of the FortiGate provisioned to FortiGate Cloud.

    • IP or CIDR ip text required

      IPv4 address or CIDR network to block, for example 203.0.113.10 or 203.0.113.0/24.

    • Direction direction select

      Block traffic from the address (inbound), to the address (outbound), or both. Defaults to both.

      Default both

      Options inboundoutboundboth
    • Source Interfaces srcintf text

      Comma-separated source interface names for the deny policy. Defaults to any.

      Default any

    • Destination Interfaces dstintf text

      Comma-separated destination interface names for the deny policy. Defaults to any.

      Default any

    • Comment comment text

      Optional comment stored on the created address object and policies.

  • Unblock IP 2 params
    unblock_ip

    Removes what Block IP created for an IPv4 address or CIDR on a FortiGate managed by FortiGate Cloud: deletes the FSR-BLOCK deny policies, then deletes the address object unless a policy the connector did not create still references it. Idempotent: objects that are already absent are reported, not treated as errors. Writes through the FortiOS proxy require a paid FortiGate; an unentitled device…

    • Serial Number sn text required

      Specify the serial number of the FortiGate provisioned to FortiGate Cloud.

    • IP or CIDR ip text required

      IPv4 address or CIDR network to unblock, matching the value passed to Block IP.

  • Quarantine IP 5 params
    quarantine_ip

    Quarantines (bans) one or more IPv4 addresses on a FortiGate managed by FortiGate Cloud using the FortiOS Quarantine Monitor: a runtime ban that touches no address objects or policies and carries its own expiry, so it reverts on its own when the duration passes. Idempotent: already-banned addresses are reported, not re-banned. Writes through the FortiOS proxy require a paid FortiGate; an…

    • Serial Number sn text required

      Specify the serial number of the FortiGate provisioned to FortiGate Cloud.

    • IP Addresses ips text required

      One or more IPv4 addresses, comma-separated, for example 203.0.113.10, 198.51.100.4.

    • Time To Live time_to_live select

      How long the ban stays in effect. Choose Custom Time to pass an exact duration in seconds with the Duration parameter.

      Default 1 Hour

      Options 1 Hour6 Hours12 Hours1 Day1 Week1 MonthCustom TimeNever
    • Duration (seconds) duration text

      Ban duration in seconds when Time To Live is Custom Time. 0 means the ban never expires.

    • VDOM vdom text

      FortiOS VDOM that owns the Quarantine Monitor list. Defaults to root.

      Default root

  • Unquarantine IP 3 params
    unquarantine_ip

    Releases Quarantine Monitor bans previously created by Quarantine IP (or the FortiGate CLI's diagnose user banned-ip add). Idempotent: addresses that are not currently banned are reported as such instead of erroring. Writes through the FortiOS proxy require a paid FortiGate; an unentitled device answers 403 permission_deny.

    • Serial Number sn text required

      Specify the serial number of the FortiGate provisioned to FortiGate Cloud.

    • IP Addresses ips text required

      One or more IPv4 addresses, comma-separated, for example 203.0.113.10, 198.51.100.4.

    • VDOM vdom text

      FortiOS VDOM that owns the Quarantine Monitor list. Defaults to root.

      Default root

  • List Banned IPs 2 params
    list_banned_ips

    Lists the FortiOS Quarantine Monitor's current IP bans on a FortiGate managed by FortiGate Cloud. Each entry carries the vendor fields (ip_address, expiry, created, cause) verbatim. Requires the device's management tunnel to be up.

    • Serial Number sn text required

      Specify the serial number of the FortiGate provisioned to FortiGate Cloud.

    • VDOM vdom text

      FortiOS VDOM that owns the Quarantine Monitor list. Defaults to root.

      Default root

Something wrong with this item? Sign in to report

Report a problem

Sensitive data, copied content, broken imports, anything that shouldn't be here.

At least 10 characters. Please don't paste the sensitive value itself.0/1000