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
requestsPython 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¶
- Authenticates every request with
Authorization: Bearer <XDOME_API_TOKEN> - Reads
{XDOME_HOST}/api/v2/devicesand then{XDOME_HOST}/api/v2/alerts, 100 records per page, filtered byXDOME_DEVICE_TYPEwhen set - 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'scriticality. - 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'sseverity, or itsrisk_scorewhen no severity is given. - Adds CVEs found in the record (with NVD links) and xDome metadata such as device ID, location, category, status and risk score as references
- Drops records below
XDOME_MIN_SEVERITYand 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
infoseverity. All vulnerabilities are created with statusopen; the xDome status is kept in anXdome-Statusreference. - A missing or unparseable criticality or severity is mapped to
info. - A
401response stops the run. On403,429or other errors, the executor stops reading that endpoint and imports what it already fetched. - Unrecognized
XDOME_MIN_SEVERITYvalues are ignored and every record is imported. - The shared agent parameters (
AGENT_CONFIG_*tags and severity filters) are not applied by this executor. UseXDOME_MIN_SEVERITYto filter by severity.