Skip to main content

Fortinet FortiGate

Description

The Fortinet FortiGate connector uses the FortiOS REST API over HTTPS to discover local administrator accounts on a FortiGate firewall or FortiManager. It authenticates using API key authentication and enumerates administrator profiles and their access permissions across virtual domains (VDOMs).

System Type Classification

FieldValue
System TypeInfrastructure
Default Scan Priority200

Version Support

OrbisID EditionSupported
CommunityNo
ProYes
EnterpriseYes

Supported Protocol

ProtocolPortNotes
REST API (HTTPS)443 TCPAPI key authentication via Authorization: Bearer header

What OrbisID Discovers

DataSource
Administrator accountsGET /api/v2/cmdb/system/admin
Admin profilesGET /api/v2/cmdb/system/accprofile
VDOM assignmentsvdom array per administrator
MembershipsDerived from admin-to-profile associations

Connection Requirements

Required Permissions

Create a dedicated API administrator in FortiGate with a read-only profile.

Minimum permissions:

  • Read-only system access profile with sysgrp and loggrp read permissions
  • API key generated from the administrator account

Credential Mapping

OrbisID FieldValue
credential.passwordFortiGate API key (token)
system.hostnameFortiGate management IP or FQDN

Network Requirements

The OrbisID server must have HTTPS access to the FortiGate management interface on port 443. Self-signed certificates are accepted automatically.

Configuration Steps

  1. In FortiGate, navigate to System → Administrators → Create New → REST API Admin
  2. Assign a read-only admin profile and generate an API key
  3. Note the API key displayed (shown only once)
  4. Create a Credential in OrbisID:
    • Password: FortiGate API key
  5. Navigate to Systems → Add System
  6. Fill in the fields:
FieldValue
NameDescriptive name (e.g., FortiGate – Edge Firewall)
OS TypeFortinetFortigate
System TypeInfrastructure
HostnameFortiGate management IP or hostname
CredentialThe API key credential
  1. Click Test Connection
  2. Click Save

Troubleshooting

SymptomLikely CauseResolution
401 UnauthorizedInvalid or expired API keyRegenerate the API key in FortiGate
No accounts returnedRead-only profile missing permissionsAdd system read permissions to the API admin profile
Cannot connectREST API not enabledEnable REST API under System → Feature Visibility
VDOM errorsMulti-VDOM mode not configuredSet the VDOM parameter in the API URL if applicable