Mobile Device Management ToolsIntegrate Hexnode

Integrate Hexnode

This article covers how to connect your Hexnode MDM instance with Scrut.

What this Integration Does in Scrut?

This integration enables Scrut to automatically collect device inventory, user information, and application data from your Hexnode MDM instance, streamlining compliance monitoring and asset management. It performs the following functions in Scrut:

  • User Endpoint Devices: This integration fetches employee device details, including security posture and installed software. These devices are mapped to employees and visible in their profile under the People → Employees → Technicals section.
  • Automated Tests: This integration is used by Scrut to run automated compliance checks. These checks continuously evaluate configurations against applicable compliance frameworks.
  • Asset Management: This integration populates the Asset Management module in Scrut. It automates asset discovery and supports asset-related compliance evidences.

Prerequisites

Before setting up the integration, ensure you have:

  • An active Hexnode MDM account with administrator access

    • Devices enrolled and actively managed in Hexnode
    • User accounts in Hexnode with associated email addresses

Permissions and Access Requirements

For Hexnode

  • Admin access to generate API keys in Hexnode
  • Read access to device inventory, user data, and application information

For Scrut

  • Admin access to Scrut (or Contributor with access to the Integration module)

Limitations

  • Hard drive encryption status is not available through the Hexnode API and will not be populated in Scrut
  • Screen lock enabled status is not available through the Hexnode API and will not be populated in Scrut
  • Application data is collected, but antivirus detection depends on matching app names against Scrut's predefined antivirus list
  • Only devices with device_type = computer are synced to the Employee Devices section in the People module
  • All device types (computers, smartphones, tablets) are synced to Asset Management as mobile devices
  • Region is not available through the Hexnode API, and will remain empty in the Asset Management module for Hexnode devices

Data Collected

The Hexnode integration collects device, user, and application data from your MDM instance and maps it to the following areas in Scrut:

1: People → Employees → Technicals

Data is synced to the Technicals section under each employee's profile. Only devices where device_type = computer are included here.

Scrut FieldHexnode Source DataNotes
Computer Namedevice.device_nameThe device name as configured in Hexnode
Owner Emailuser.emailUsed to match the device to an employee in Scrut
Serial Numberdevice.serial_numberHardware serial number from the device
OS Versiondevice.os_name + device.os_versionCombined OS name and version (e.g., "iOS 9.12")
Last ChecklastreportedTimestamp of the last time the device reported to Hexnode
HD EncryptedNot AvailableThis field will remain empty (Hexnode API limitation)
AV InstalledDerived from applications arrayAutomatically detected by matching installed apps against Scrut's antivirus software list
Screenlock EnabledNot AvailableThis field will remain empty (Hexnode API limitation)

Note:

Smartphones and tablets are excluded from Employee Devices but are captured in Asset Management.

2: People → Employees → Tasks → Required Software Installed

Application data is extracted from the applications[] array for each device. Each application is stored as a separate record and linked to its associated device and user.

Scrut FieldSource DataNotes
App NamenameThe name of the installed application
VersionversionThe version number of the installed application
Blacklistedblack_listedBoolean flag indicating if the app is blacklisted
StatusstatusInstallation status (e.g., "Installed", "Pending")

Usage: This application dataset is used to:

  • Populate the "Required Software Installed" checklist in the People module
  • Validate that employees have mandatory security software installed
  • Identify unauthorized or blacklisted applications on managed devices

3: Asset Management → Mobile Devices

All devices (computers, smartphones, tablets) in your Hexnode MDM instance are synced to Asset Management as mobile device records.

Scrut FieldSource DataNotes
Asset TypeMobile DeviceAll Hexnode devices are categorized as mobile devices
Resource Namedevice.device_nameThe device name, as shown in Hexnode
Resource IDdevice.serial_numberUnique identifier for the asset
SourceFixed value: HexnodeIdentifies the data source
RegionNot AvailableThis field will remain empty
Owneruser.emailEmail of the user assigned to the device in Hexnode

Sync Frequency

Data is synced automatically once every 24 hours. You can also manually trigger a sync from the integration settings page when needed.

Integration Setup

The Hexnode - Scrut integration setup involves two main steps:

  1. Generate an API key in Hexnode with appropriate permissions
  2. Add the API key & Base URL to Scrut and complete the integration configuration

Step 1: Retrieve Your API Key in Hexnode

  1. Log in to your Hexnode MDM portal using your administrator credentials.

  2. Navigate to the Admin tab, then click API in the left-hand navigation panel.

  3. Copy your API Key and store it securely.

  4. Next, note your Hexnode Base URL.

    • It’s typically in the format: https://yourcompany.hexnodemdm.com
  5. You’ll need to enter the API Key and base URL in Scrut in the next step.

Step 2: Enter the API Key and Base URL in Scrut

  1. Click Integrations in the left navigation panel.

  2. Select Mobile Devices Management Tools in the Categories section in the Integration Library, and search for Hexnode.

  3. Click the Integrate button in the Hexnode tile.

  4. Enter the API Key and Base URL you copied from Hexnode and click Submit.

What Happens Next?

Initial Data Sync

The initial data sync will begin automatically. This may take several minutes, depending on the number of devices. You can monitor sync status in the Audit Logs section of the Hexnode integration.

Review Synced Data

Once the data sync is completed, you can view the data fetched from Hexnode in the following sections in Scrut:

  • Navigate to People → Employees → Technicals to view employee device records
  • Navigate to People → Employees → Tasks to view applicable device security details
  • Navigate to Asset Management → Mobile Devices to view mobile device inventory
  • Navigate to Tests → All Tests → Automated Tests and use the Application filter to view tests related to Hexnode.

Common Errors & Troubleshooting

Invalid API Key or Authentication Failed

Possible Solutions:

  • Verify you copied the correct API key without extra spaces
  • Check that the API key hasn't been revoked in Hexnode
  • Ensure the API key has read permissions for devices, users, and applications
  • Generate a new API key and update it in Scrut

Connection Timeout or Unable to Reach Hexnode

Possible Solutions:

  • Verify your Hexnode portal URL is correct
  • Verify if your internet connection is active
  • Contact your IT team to ensure Scrut's IP addresses aren't blocked
  • Verify your Hexnode subscription is active

Employee Devices Not Appearing in People Module

Possible Solutions:

  • Verify that device_type is set to computer in Hexnode for the devices in question
  • Ensure user email addresses in Hexnode match employee email addresses in Scrut
  • Check that devices have associated users in Hexnode
  • Manually trigger a sync and wait for processing to complete

Antivirus Not Detected on Devices

Possible Solutions:

  • Verify the antivirus application is actually installed on the device in Hexnode
  • Check the exact name of the antivirus application in the Hexnode application list
  • Contact Scrut support to add the antivirus name to the recognition list

Hard Drive Encryption or Screen Lock Status Shows as N/A

Cause: This data is not available through the Hexnode API

Possible Solutions:

  • This is a known limitation
  • You may need to collect this information manually or through other integrations
  • Consider using complementary integrations to fill these gaps
  • Document the limitation in your compliance workflow

FAQs