Skip to content
Guide navigation
Fortinet

Collect a FortiGate

Prepare a FortiGate REST API token or SSH account and check backup permissions.

On this page

Create a REST API credential

  1. Create the API administrator

    Open System > Administrators > Create New > REST API Admin.

  2. Assign the profile

    Assign permissions for the required reads, including backup access where needed.

  3. Restrict the source

    Set Trusted Hosts to the collector source IP or approved subnet.

  4. Save the token

    Save the generated token securely; it is displayed once.

Choose API or SSH

MethodCredentialWhat to check
REST APIFortiGate API token or supported account sessionAPI access, source restrictions and configuration-backup permission.
SSHAuthorized account and passwordSSH reachability and permission to run show full-configuration.

Run the collector

Choose the FortiGate target or supported generic firewall target, enter its management address and API/SSH credentials, then add the workspace token and collect.

Encrypted backups and VDOMs

Encrypted REST backups cannot be analyzed as plain configuration. A supported app may switch to SSH using account credentials; an API token is not an SSH password. Multi-VDOM backups require VDOM selection when prompted.

Official references