Claroty risk triage

From automateyournetwork/netclaw · View interactive version

Claroty risk triage is an AI agent skill from the GitHub repository automateyournetwork/netclaw. Triage Claroty xDome alerts and vulnerabilities, compute blast radius, correlate with NVD CVE data, and drive ITSM-gated workflow actions (acknowledge, label, assign, set relevance).

How to use this skill

Skill file

Claroty Risk Triage

Unified alert + vulnerability triage for OT / IoT / IoMT environments via Claroty xDome. Alerts and vulnerabilities are bundled into one skill because real incident response crosses the boundary constantly — operators investigate an alert, pivot to the affected device's CVE list, and back to the alert label.

When to Use

MCP Server

Available Tools

| Tool | Parameters | What It Does |

|------|------------|--------------|

| list_alerts | severity?, status?, site_id?, assignee?, limit?, offset?, max_items? | List security alerts with filters |

| get_alert_with_devices | alert_id, device_limit? | Alert + affected devices in one call |

| list_vulnerabilities | severity?, cvss_min?, cve_contains?, limit?, offset?, max_items? | List CVE-aligned findings |

| get_vulnerable_devices | vulnerability_id, limit?, offset? | Devices affected by one CVE (blast radius) |

| acknowledge_alert | alert_id, resolution, cr_number, note? | Write (ITSM-gated) — set resolution state |

| set_vulnerability_relevance | device_id, vulnerability_id, relevant, cr_number, note? | Write (ITSM-gated) — suppress / re-enable CVE on a device |

| label_alerts | alert_ids, labels, cr_number, replace? | Write (ITSM-gated) — apply / replace labels |

| assign_alerts | alert_ids, assignee, cr_number, note? | Write (ITSM-gated) — assign alerts to a user / queue |

Compose with:

Workflow Examples

Triage all high-severity open alerts

"List all open high-severity alerts at site warehouse-east"

Calls list_alerts(severity="high", status="open", site_id="warehouse-east"). Returns severity-sorted alert table.

Blast-radius investigation

"Show me alert a1b2c3 and every device it touches"

Calls get_alert_with_devices(alert_id="a1b2c3") and renders the alert metadata plus affected devices. From there, pivot to list_vulnerabilities filtered by site to understand combined risk.

CVE blast radius across the fleet

"What devices are vulnerable to CVE-2024-12345? Correlate with NVD for full context."
  1. list_vulnerabilities(cve_contains="2024-12345") → xDome finding ID.
  2. get_vulnerable_devices(vulnerability_id="<id>") → affected device list.
  3. nvd_get_cve(cve_id="CVE-2024-12345") (nvd-cve skill) → CVSS vector, references, fix availability.
  4. Optionally list_devices with cross-reference to Nautobot to confirm criticality.

Suppress a known false positive

"Mark CVE-2024-12345 as not-relevant for device 7a2c (mitigated by network ACL) under CHG0013001"

Calls set_vulnerability_relevance(device_id="7a2c...", vulnerability_id="<id>", relevant=False, cr_number="CHG0013001", note="mitigated by network ACL").

Label and assign an alert during a hunt

"Label alerts [a1, a2, a3] as 'ransomware-candidate' and assign to alice under CHG0013002"
  1. label_alerts(alert_ids=[...], labels=["ransomware-candidate"], cr_number="CHG0013002").
  2. assign_alerts(alert_ids=[...], assignee="alice", cr_number="CHG0013002").

Acknowledge after remediation

"Acknowledge alert a1b2c3 as resolved with a note pointing at CHG0013001's evidence"

Calls acknowledge_alert(alert_id="a1b2c3", resolution="resolved", cr_number="CHG0013001", note="...").

ITSM gating

Identical to other Claroty write tools: CHG\d+ format, ServiceNow "Implement" state check (skipped in lab mode). Rejected gate returns {"itsm_gate": {...}, "applied": false} and the xDome write is not made.

ISE handoff pattern

If a Claroty alert resolves to "compromised endpoint", do NOT call ISE quarantine from inside this skill. Hand off to ise-incident-response per Principle XIV (human-in-the-loop for external actions). That skill enforces the human decision point before any quarantine action.

Token scope expectations

If a write tool returns applied: false and an error object with status_code: 403, the ITSM gate passed and the body was correctly built — xDome rejected at RBAC. The token in CLAROTY_API_TOKEN lacks write scope on the relevant resource (alerts for acknowledge_alert/label_alerts/assign_alerts; vulnerabilities for set_vulnerability_relevance). Don't retry — escalate to whoever provisions xDome API tokens. The wrapper surfaces xDome's response body verbatim so you can see exactly which scope is missing.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.