Continuous Compliance Documentation

User Journey

1. Customer Opens Fortinet Integration

The customer goes to:

Integrations -> Configurations -> Fortinet

They open the Fortinet OEM integration and start adding a new device.

2_tunnel.png

2. Customer Adds Device Details

The customer enters:

·         Device name.

·         Optional description.

·         Fortinet username.

·         Fortinet password.

These details identify the device and allow COMPASS to authenticate with Fortinet once the tunnel is active.

3_tunnel.png

3. COMPASS Creates the Tunnel

When the customer clicks Initiate Tunnel, COMPASS creates the required Cloudflare tunnel configuration in the background.

COMPASS generates:

·         A unique tunnel hostname, for example https://<tenant_name>-fortinet.COMPASS.cyraacs.com.

·         A tunnel token.

·         A command that the customer can run in their environment.

The customer also provides the local Fortinet service address, such as localhost and port 8080.

4. Customer Runs the Tunnel Command

After COMPASS creates the tunnel, it displays a command similar to:

cloudflared tunnel run --token <token string>

The customer must run this command inside their own network. This starts the secure connection between the customer environment and Cloudflare.

Step 1: Choose the Machine

The customer should first choose where cloudflared will run.

The selected machine must be able to access the Fortinet service locally using the configured IP/host and port, for example localhost:8080 or an internal Fortinet IP address.

Recommended options:

·         The Fortinet server itself, if the customer allows installing software on it.

·         A separate Ubuntu/Linux or Windows server in the same network.

·         A jump server, utility server, or integration server that is always powered on and has network access to Fortinet.

For production, avoid using a personal laptop. The tunnel will stop if that laptop is shut down, disconnected, or moved outside the customer network.

Step 2: Install cloudflared

The customer installs a small Cloudflare connector called cloudflared on the selected machine. The machine can be Ubuntu/Linux, Windows, macOS, or a container host.

Customer machine type

What the customer installs

Where they run the COMPASS command

Ubuntu / Linux server

Install cloudflared using the Cloudflare package repository or the Linux package/binary for the server architecture.

Run the command in the Linux terminal on the server that can reach Fortinet.

Windows server

Install cloudflared using winget install --id Cloudflare.cloudflared or the Windows executable from Cloudflare.

Run the command in Command Prompt or PowerShell on the Windows server that can reach Fortinet.

macOS machine

Install cloudflared using Homebrew with brew install cloudflared, or use the macOS release from Cloudflare.

Run the command in the macOS terminal. This is usually better for testing than production.

Docker/container host

Use the official cloudflared container image.

Run the container on a host that can reach the Fortinet service locally.

Cloudflare installation reference: cloudflared downloads

Step 3: Run the COMPASS Command

After cloudflared is installed, the customer uses the command shown in COMPASS.

  1. Open the Fortinet device setup screen in COMPASS.

  1. Copy the generated cloudflared tunnel run --token <token> command.

  1. Open Terminal, Command Prompt, or PowerShell on the selected customer machine.

  1. Paste and run the command.

  1. Confirm that the command starts successfully and keeps running.

Customer-friendly explanation:

  1. Pick a server inside your network that can access Fortinet.

  1. Install cloudflared on that server.

  1. Copy the command from COMPASS.

  1. Run the command on that server.

  1. Once it is running, COMPASS can securely connect to Fortinet through the tunnel.

Step 4: Keep the Connector Running

The cloudflared connector should remain running after setup. If it is stopped, COMPASS will not be able to reach the Fortinet service through the tunnel.

For production, the customer should run cloudflared on a stable server and manage it like a normal background service or long-running process.

4_tunnel.png

Why This Is Needed

·         The tunnel connector needs local access to Fortinet, for example localhost:8080 or another internal IP and port.

·         COMPASS does not connect directly to the customer's private network.

·         The connector creates an outbound secure connection to Cloudflare, and COMPASS reaches Fortinet through that tunnel hostname.

·         The customer does not need to open inbound firewall ports for COMPASS.

5. COMPASS Fetches Fortinet Data

After the tunnel is active, COMPASS uses the generated tunnel hostname to access the Fortinet service securely.

The data access path is:

5_tunnel.png