npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

n8n-nodes-fortimanager

v1.8.0

Published

n8n community node for FortiManager API integration with comprehensive network security management capabilities

Readme

n8n-nodes-fortimanager

This is an n8n community node for FortiManager API integration. It provides comprehensive network security management capabilities for your n8n workflows.

Features

Implemented ✅

  • 🔥 Security Console: Policy package installation and deployment (NEW!)
    • Install policy packages to devices or device groups
    • Preview installations before deployment
    • Install multiple packages in parallel
    • ADOM revision support for change tracking
    • Returns task ID for monitoring deployment progress
  • Policy Management (PM): Get firewall policies and addresses
    • List all firewall policies (package or device-based)
    • Get specific policy details
    • Get firewall address objects
  • Device Management (DVM): Full device lifecycle management
    • List all managed devices with filtering
    • Get device details
    • Add new devices to FortiManager
    • Update device configuration
    • Delete devices from management
  • Task Management: Monitor and manage FortiManager async operations
    • List all tasks with filtering
    • Get task details by ID
    • Wait for task completion with configurable polling
  • System Operations (SYS): System-level management
    • Execute JSON proxy operations

Planned 🚧

  • CLI Operations: Execute CLI commands on managed devices
  • Security Operations: Manage security profiles (IPS, AV, Web Filter, etc.)
  • User Management (UM): Handle user accounts and permissions
  • DVMDB Operations: Device database and ADOM operations
  • Advanced PM Operations: Create, update, delete policies and objects

Installation

To use this community node in your n8n instance:

npm install n8n-nodes-fortimanager

Configuration

Configure your FortiManager credentials with:

  • Base URL: Your FortiManager instance URL (e.g., https://fmg.company.com)
  • Authentication Type: Choose between Session-based (Username & Password) or API Key
  • Username/Password: For session-based authentication
  • API Key: For token-based authentication
  • Ignore SSL Issues: Option to bypass SSL validation (for development)

Usage

The node provides multiple API domains organized hierarchically:

Policy Management (PM Domain)

Resource: Firewall

  • List Policies: Get all firewall policies from a policy package or device
    • Filter by package or device-based access
    • Support for VDOM-specific queries
    • Pagination support for large datasets
  • Get Policy: Retrieve specific policy details by ID
  • Get Firewall Addresses: List firewall address objects

Device Management (DVM Domain)

Resource: Device

  • List Devices: Get all managed devices in an ADOM
    • Filter by device properties
    • Select specific fields to return
    • Pagination support
  • Get Device: Retrieve detailed information about a specific device
  • Add Device: Register a new FortiGate device to FortiManager
    • Supports all device types (FortiGate, FortiSwitch, FortiMail, etc.)
    • Configure management mode (FortiManager, FortiAnalyzer, or both)
    • Optional platform and OS version specification
  • Update Device: Modify device configuration
    • Update IP address, credentials, description
    • Change management mode
  • Delete Device: Remove a device from FortiManager management

Task Management (Task Domain)

Resource: Task

  • List Tasks: Get all FortiManager tasks
    • Filter by state, percent complete, etc.
    • Pagination support
  • Get Task: Retrieve specific task details by task ID
    • View task state, progress, and result
  • Wait for Task: Poll a task until completion
    • Configurable timeout (default: 5 minutes)
    • Configurable poll interval (default: 5 seconds)
    • Returns final task state (done, error, aborted, warning)

System Operations (SYS Domain)

Resource: Proxy

  • Execute JSON: Execute JSON-RPC proxy operations

Operation Parameters

Common Parameters

  • ADOM: Administrative Domain (default: "root" for global)
  • Filter: FortiManager filter expression (e.g., name==device-01)
  • Limit: Maximum number of results to return
  • Return All: Use pagination to fetch all results

Device Operations

  • Device Name: Name or hostname of the device
  • Device IP: IP address for management connection
  • Username/Password: Admin credentials for device access
  • Management Mode: FortiManager only, FortiAnalyzer only, or both

Task Operations

  • Task ID: Numeric task identifier
  • Timeout: Maximum wait time in seconds
  • Poll Interval: How often to check task status

Examples

Example 1: List All Devices

Domain: Device Manager (dvm)
Resource: Device
Operation: List
ADOM: root
Return All: true

Example 2: Add a New Device

Domain: Device Manager (dvm)
Resource: Device
Operation: Add
ADOM: root
Device Name: FG-Branch-01
Device IP: 192.168.1.99
Username: admin
Password: ********

Example 3: Install Policy Package to Device

Domain: Security Console
Resource: Install
Operation: Install Package
ADOM: root
Package Name: default
Install Scope: Specific Device
Device Name: FGT-Branch-01
VDOM: root

Example 4: Wait for Installation Task

Domain: Task
Resource: Task
Operation: Wait
Task ID: {{$json.taskId}}  # From previous install operation
Timeout: 300 seconds
Poll Interval: 5 seconds

Example 5: Install Multiple Packages in Parallel

Domain: Security Console
Resource: Install
Operation: Reinstall Packages (Multiple)
ADOM: root
Targets JSON:
[
  {"pkg": "hub-package", "scope": {"name": "hub-fgt", "vdom": "root"}},
  {"pkg": "branch-package", "scope": {"name": "branch-fgt", "vdom": "root"}}
]

Requirements

  • n8n version 0.87.0 or later
  • FortiManager 7.6.2 or later
  • Valid FortiManager API credentials

License

MIT