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

@joshuanode/n8n-nodes-sophos-central

v0.4.2

Published

n8n community node for Sophos Central (Firewall Management API)

Readme

Sophos Central Node for n8n

npm version License: MIT n8n community TypeScript GitHub

Community node for the Sophos Central Firewall Management API — built for MSPs and Organizations.

Note: This node currently focuses on Sophos Firewalls only, as that is the hardware I have access to for development and testing. Sophos Central supports additional products (Endpoints, Email, etc.) — contributions to expand the nodes are welcome!

Region Testing: This node has been tested with US data regions (api-us01, api-us03). Non-US regions should work via the dynamic region routing, but have not been verified.


Features

| Feature | Description | | --------------------- | ----------------------------------------------------------------- | | Multi-Tenant | Execute operations across all managed tenants in a single run | | Dynamic Regions | Auto-routes to correct data region (api-us01, api-eu01, etc.) | | Firewall Mgmt | List, retrieve, and monitor firewall status | | Firmware Ops | Check compliance, schedule upgrades, cancel pending | | Alerting | Get alerts, acknowledge, resolve — with "Only Actionable" filter | | Health Checks | Retrieve connection and managing status | | Partner APIs | Billing usage, admin management, roles (MSP only) | | Tenant Management | Create, get, list tenant organizations (MSP only) |


Installation

Community Nodes (Recommended)

  1. In n8n, go to Settings → Community Nodes → Install
  2. Enter: @joshuanode/n8n-nodes-sophos-central
  3. Click Install

Manual Installation

npm install @joshuanode/n8n-nodes-sophos-central

Credentials

Partner (MSP)

For managing multiple tenant accounts:

| Field | Value | | ------------------ | --------------------------------------------------------------- | | Client ID & Secret | From Sophos Partner Portal | | Account Type | Partner | | Tenant ID | Leave empty |

Tip: Leave the Tenant field empty in operations to aggregate data from all managed tenants.

Organization

For managing a single account:

| Field | Value | | ------------------ | ----------------------------- | | Client ID & Secret | From Sophos Central Admin | | Account Type | Organization | | Tenant ID | Your Tenant API ID (required) |


Operations

Firewall

| Operation | Description | | ------------ | ---------------------------------------------------- | | Get | Retrieve a specific firewall | | Get Many | List firewalls with filters (Name, Serial, Firmware) |

Firmware

| Operation | Description | | ------------------ | -------------------------------------------- | | Check Upgrades | Check current version and available upgrades | | Upgrade | Schedule or trigger immediate upgrade | | Cancel Upgrade | Cancel a scheduled upgrade |

Firewall Groups

| Operation | Description | | ------------------- | ---------------------------- | | Get | Retrieve a firewall group | | Get Many | List all groups | | Get Sync Status | Check synchronization status |

Alerts

| Operation | Description | | ------------------ | ------------------------------------------------------------- | | Get | Retrieve a specific alert | | Get Many | List alerts with filters (Severity, Product, Only Actionable) | | Perform Action | Acknowledge or Resolve (supports batch) |

Health

| Operation | Description | | -------------- | ----------------------------- | | Get Health | Retrieve status for firewalls |

Organization (Partner Only)

| Operation | Description | | ------------ | ------------------------------------- | | Create | Provision a new tenant organization | | Get | Retrieve tenant details by ID | | Get Many | List all managed tenant organizations |

Partner (Partner Only)

| Operation | Description | | -------------------------- | ---------------------------------------- | | Create Admin | Create a new partner administrator | | Delete Role Assignment | Remove a role assignment from an admin | | Get Admin | Get a specific partner administrator | | Get Billing Usage | Monthly usage report for billing | | Get Many Admins | List all partner administrators | | Get Many Roles | List available roles and permission sets | | Get Role Assignments | Get all role assignments for an admin |


Architecture

┌─────────────┐     ┌──────────────┐     ┌─────────────────┐
│   n8n       │ ──▶ │  This Node   │ ──▶ │  Sophos Central │
│  Workflow   │     │  (OAuth2)    │     │  API v1         │
└─────────────┘     └──────────────┘     └─────────────────┘
                           │
                    ┌──────┴──────┐
                    ▼             ▼
              Token Cache    Region Cache
              (5 min TTL)    (per tenant)
  • Automatic Region Routing: Caches tenant-to-region mapping
  • Token Caching: Caches OAuth tokens for 5 minutes

Development

# Install dependencies
npm install

# Build
npm run build

# Lint
npm run lint

License

MIT