Skip to content

Claroty xDome Executor

Category: OT and IoT Security Script: claroty_xdome.py Integration: REST API Faraday Plugin: Raw JSON Website: https://claroty.com/healthcare-cybersecurity/xdome

Description

Imports the connected-device inventory and the security alerts of a Claroty xDome tenant into Faraday. Each xDome device and each alert becomes a Faraday host with one vulnerability, so OT, IoT and medical devices appear next to the rest of your scanner results.

Prerequisites

  • A Claroty xDome tenant with API access
  • An xDome API token with permission to read devices and alerts
  • The requests Python package in the agent environment

Configuration

Environment Variables (Setup)

Variable Required Description
XDOME_HOST Yes Base URL of your xDome tenant (e.g., https://us1.xdome.io). https:// is added if you omit the scheme.
XDOME_API_TOKEN Yes xDome API token, sent as a Bearer token
XDOME_PAGES No Maximum number of pages of 100 records to read from each endpoint (default: 10, maximum: 100)

These variables are also accepted as execution arguments, so a single run can override them.

Execution Arguments

Parameter Type Mandatory Description
XDOME_DEVICE_TYPE string No Only import devices and alerts of this device type (e.g., medical, iot, ot, it, or a numeric type ID, depending on your tenant). Default: all device types.
XDOME_MIN_SEVERITY string No Minimum severity to import: info, low, medium, high or critical (default: import everything)

YAML Configuration Example

executors:
  claroty_xdome:
    repo_executor: claroty_xdome.py
    max_size: 65536
    varenvs:
      XDOME_HOST: "https://us1.xdome.io"
      XDOME_API_TOKEN: "<api_token>"
    params:
      XDOME_DEVICE_TYPE:
        mandatory: false
        type: string
        base: string
      XDOME_MIN_SEVERITY:
        mandatory: false
        type: string
        base: string

How It Works

  1. Authenticates every request with Authorization: Bearer <XDOME_API_TOKEN>
  2. Reads {XDOME_HOST}/api/v2/devices and then {XDOME_HOST}/api/v2/alerts, 100 records per page, filtered by XDOME_DEVICE_TYPE when set
  3. Maps each device to a host (IP, MAC, hostnames, and an OS string built from manufacturer, model, OS and firmware) with one [ASSET-INVENTORY] xDome device: ... vulnerability. Its severity comes from the device's criticality.
  4. Maps each alert to a host keyed on the first related device IP (or the alert's source/destination IP) with one [xDome Alert] ... vulnerability. Its severity comes from the alert's severity, or its risk_score when no severity is given.
  5. Adds CVEs found in the record (with NVD links) and xDome metadata such as device ID, location, category, status and risk score as references
  6. Drops records below XDOME_MIN_SEVERITY and sends the rest to Faraday

Notes

  • Devices and alerts without a usable IP are grouped under the host 0.0.0.0. Loopback addresses are ignored.
  • Alerts that xDome marks as resolved, muted, suppressed or dismissed are imported with info severity. All vulnerabilities are created with status open; the xDome status is kept in an Xdome-Status reference.
  • A missing or unparseable criticality or severity is mapped to info.
  • A 401 response stops the run. On 403, 429 or other errors, the executor stops reading that endpoint and imports what it already fetched.
  • Unrecognized XDOME_MIN_SEVERITY values are ignored and every record is imported.
  • The shared agent parameters (AGENT_CONFIG_* tags and severity filters) are not applied by this executor. Use XDOME_MIN_SEVERITY to filter by severity.