Sophos SG

This document provides the steps required to configure the Sophos SG Inspector.

👍

Quick Details:

Recommended Agent: On-Premises
Supported Agents: On-Premises or Self-Hosted
Is Auto-Discovered By: N/A
Can Auto-Discover: N/A
Parent/Child Type Inspector: No
Inspection via: API
Data Summary: Here

Overview

See it in Action

Video isn't playing? Click here.

Inspector Setup Preparation

Log into the Sophos SG interface

Liongard Sophos SG Inspector Setup Step 1Liongard Sophos SG Inspector Setup Step 1

Liongard Sophos SG Inspector Setup Step 1

Create a Read-Only Local User

  • Navigate to "Definitions & Users" > "Users & Groups" and then click "New User"
  • Fill in the Username and Real name fields with "liongard"
  • Set Authentication to Local and set a password
  • Make this user a member of the Read-Only group so that "liongard" has read-only access
  • This user will be used later only to map the API token in later steps
Liongard Sophos SG Inspector Setup Step 2Liongard Sophos SG Inspector Setup Step 2

Liongard Sophos SG Inspector Setup Step 2

Enable the REST API

  • Enable the REST API on Sophos SG by going to Management > WebAdmin Settings > RESTful API.
  • Click the checkbox to enable the API, and then create a new API token.
  • Map the token to the "liongard" user you created in the earlier step.
  • Save this token for later when setting up the Sophos SG Liongard Inspector.
Liongard Sophos SG Inspector Setup Step 3Liongard Sophos SG Inspector Setup Step 3

Liongard Sophos SG Inspector Setup Step 3

Liongard Inspector Setup

In Liongard, navigate to Admin > Inspectors > Navigate to the Sophos SG Inspector > Select Add System.

Fill in the following information:

  • Environment: Select the Environment this System should be associated to
  • Friendly Name: Suggested "Sophos SG [Environment Name]"
  • Agent: Select the On-premises Agent installed for this Environment or the Self-Hosted Agent
  • Inspector Version: Latest
  • IP Address: Input the IP address of the Sophos SG firewall
  • Port: Input the Port for the Sophos SG firewall. The Sophos default is 4444.
  • Token: Input the Token from the steps above.
  • Scheduling: The Inspector will default to run once a day at the time the Inspector is set up. Here you can adjust the schedule

Select Save. The Inspector will now be triggered to run within the minute.

If you have any issues with connectivity after setting up the Inspector, then you may need to whitelist the IP of the Agent running the Inspector to allow access to the Sophos SG firewall.

🚧

Serverless Environment

We recommend deploying the Sophos SG Inspector using an On-Premises Agent. However, if a client network is serverless, you can deploy and whitelist a Self-Hosted Agent and use that Agent to run the Inspector. Please review this documentation for more information.

This Inspector runs on Port 4444.

Roll out Inspectors at Mass via CSV Import

For more information, please watch our How To video

To import Sophos XG Inspectors via CSV Import, navigate to Admin > Inspectors > Sophos SG > Select the down arrow icon in the top right-hand to Download CSV Import Template.

In the CSV Template, each row, starting on row three, will represent an Inspector. Fill in the following information for each Inspector you want to roll out:

  • Agent.Name: This column is case sensitive. Copy and paste the associated Agent name from the Admin > Agents screen
  • Inspector.Name: Enter "sophos-sg-inspector"
  • Environment.Name: This column is case sensitive. Copy and paste the associated Environment name from the Dashboard screen
  • Alias: Enter the Desired Friendly Name
  • Config.Base_URL: Enter the IP Address of your Sophos SG console
  • Config.PORT: Enter the port number of your Sophos SG console
  • Config.TOKEN: Enter the token you created in the Inspector Setup Preparation
  • FreqType: Enter "days"
  • FreqInterval: Enter "1"

When ready to Import the CSV Template of Inspectors, navigate to Admin > Inspectors > Sophos SG > Select the up arrow icon in the top right-hand to Import CSV > Select your saved template.

After the successful import notification, reload your browser to find your imported Inspectors.

These Inspectors will automatically trigger themselves to run within a minute.

Optional: Turn on Flexible Asset/Configuration Auto-Updating

If you would like this Inspector's data to be sent to ConnectWise and/or IT Glue, turn on Flexible Assets/Configurations for this Inspector:

  • ConnectWise: Admin > Integrations > ConnectWise > Configuration Types > Confirm the "Configuration Auto-Updating" toggle is enabled
  • IT Glue: Admin > Integrations > IT Glue > Flexible Assets > Confirm the "Flexible Asset Auto-Updating" toggle is enabled

Did this page help you?