Skip to main content
Version: 2.14.1

Fortinet FortiAnalyzer Zero Trust to Incident Sync

Free integration setupWe’ll install and validate this for you.
Book a setup call

Support Statement

DISCLAIMER

This documentation is provided "as is" without support for 3rd party software. The level of support for this integration guide is best effort without any SLA on response time. No 3rd party product support can be provided by Superna directly. 3rd party components require support contracts. See EULA for more details.


Overview

Customers using FortiAnalyzer can leverage this integration to send real-time Zero Trust alerts using webhooks and maintain full payload parsing using JSON-defined fields. The FortiAnalyzer Alert Ingestion Connector capability within the platform allows inbound webhook JSON payloads to be parsed and turned into host status updates.

Limitations

  • Does not look up the endpoint ID to set the client IP to an endpoint ID, or look up the end user ID to set the end user ID. These entities must already exist or be created in FortiAnalyzer.

Solution Overview

Superna Data Security Edition Zero Trust API is the cornerstone technology used to integrate with SIEM and SOAR platforms. This integration maps Zero Trust alerts to a NAS storage host created in the FortiAnalyzer platform.

What Is FortiAnalyzer?

FortiAnalyzer provides an AIOps-ready, business-aware IT monitoring platform that offers unified, end-to-end observability across complex, converging infrastructures from cloud to edge, for organizations of all sizes.

Integration Architecture

FortiAnalyzer integration architecture

Solution Configuration in FortiAnalyzer and Defender Zero Trust

Prerequisites

  • Installed Data Security Edition subscription product
  • Eyeglass OS appliance version 15.5 — verify with cat /etc/os-release
  • License key for the Zero Trust API
  • FortiAnalyzer on-premises configured with HTTPS

Features

  • Sends native Incident API calls with severity mapping from Superna to FortiAnalyzer
  • Fields mapped to FortiAnalyzer incident fields
  • Updates to existing incidents in Superna Data Security Edition do not generate duplicate incidents in FortiAnalyzer
  • Updates are not appended as comments — no API support exists for comment updates

Configuration in FortiAnalyzer

  1. Log in to the FortiAnalyzer console and navigate to SettingsAdministrators.

  2. Create an administrator profile with read-write permissions for Incidents & Events. Consult Fortinet documentation for profile creation steps.

  3. Create an API admin user and assign the profile created above:

    • Add the trusted host IP section and enter the IP address of the Eyeglass VM.
    • Set the admin profile to the profile created above.
    • Set JSON API Access to Read-Write.
    • Enter the name of the Administrative domain you configured and select it from the list.
    • Record the API token that is generated.
    note

    If the GUI returns an IPv6 error, use the CLI to create the user account. This assumes the admin profile has already been created and named Superna-Zero-Trust. Replace the trusthost IP with the IP address of the Eyeglass VM.

    config system admin user
    edit "superna"
    set user_type api
    set profileid "Superna-Zero-Trust"
    set trusthost1 172.31.1.102 255.255.255.255
    next
    end
    execute api-user generate-key superna

    Record the API key generated from the last command.

Configuration Steps on Eyeglass Virtual Machine

High-Level Steps

  1. Create the Python location to run the application on the Eyeglass VM.
  2. Create the Python main application script.
  3. Create the Linux systemd service and set it to auto-start.
  4. Create the Zero Trust configuration in Defender.
  5. Update the main script to customize it with FortiAnalyzer Python code.
  6. Test the script is running as a service.
  7. Create a test event in Defender to validate alerts appear as indexed parsed events in FortiAnalyzer.

Install the Integration

  1. From the Superna support site, download the integration .run file.

  2. Copy the file to the Eyeglass VM using SCP or WinSCP.

  3. Log in to the Eyeglass VM as admin over SSH.

  4. Run the following commands:

    sudo -s

    chmod 777 /path/to/integration.run

    ./integration.run
  5. The installer launches an interactive Text User Interface (TUI). Enter your configuration values.

  6. Press V to validate the inputs.

  7. Press I to install.

  8. Review any errors. When prompted to start the service, answer Yes.

Configure Defender Zero Trust Webhooks

  1. Configure the Zero Trust endpoint in the Ransomware Defender Zero Trust tab.

    Recommended Configuration

    Send only Critical and Major events, and only webhooks that set lockout or delayed lockout. The goal is to send findings rather than a list of alarms that do not pinpoint a security incident. Customers can customize based on specific requirements.

  2. The endpoint URL uses localhost and sends webhooks to the application service listening on port 5000:

    http://localhost:5000/webhook
  3. Add the Content-Type header with value application/json to complete the webhook configuration.

  4. Click Save to commit the configuration.

  5. Click Save on the main Webhook configuration page.

How to Test the Integration with FortiAnalyzer

  1. Download the curl command template and open it with a text editor.
  2. Copy all the text.
  3. SSH to the Eyeglass VM as the admin user.
  4. Paste the entire CLI command to the SSH prompt to send sample data to the running Zero Trust application. This sends test data directly to the application to be processed and sent to FortiAnalyzer.

A successfully processed webhook test returns an HTTP 200 status code and successCount: 1 in the log.

To review the process logs from the web application:

sudo -s

journalctl -f -u fortianalyzer

To log to a file and review with nano, showing only the most recent 250 lines:

journalctl -f -n 250 -u fortianalyzer > /tmp/ztwebhook.log

nano /tmp/ztwebhook.log

Log in to the FortiAnalyzer main dashboard to search for Superna Zero Trust events using sourcetype="supernaZT".

FortiAnalyzer SecOps Administrators Integration Experience

Once the integration is complete, SecOps administrators can view incidents generated by Zero Trust alerts in the FortiAnalyzer console. An exported incident PDF example is available in the legacy portal.

FortiAnalyzer Playbook Integration

Configuration of Connector

  1. Navigate to AutomationsCreate New.

  2. Select Generic.

  3. Fill in the fields and replace the IP address with the IP of your Eyeglass VM:

    • Click Add custom HTTP header and enter api_key as the header name.
    • Paste an API token created from the Eyeglass Integrations icon as the value.
    • Set the URL to:
    https://x.x.x.x/sera/v2/ransomware/criticalpaths
  4. Click OK to create the connector.

  5. Click PlaybooksCreate new playbook.

  6. Select the on-demand trigger option, then click Save.

  7. Drag an arrow from the on-demand block to add an action:

    • Select Generic webhook.
    • Fill in the fields as required for your environment.