Query assets and vulnerabilities via the Rapid7 InsightVM API

domain: docs.rapid7.com · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Enable the InsightVM API in your console and authenticate using HTTP Basic auth (username/password) against https://{console-host}:3780/api/3/.
  2. Retrieve a paginated list of assets with GET /api/3/assets, using query parameters page, size, and sort; each asset object includes id, hostName, ip, os, and riskScore.
  3. Query vulnerabilities for a specific asset with GET /api/3/assets/{id}/vulnerabilities, which returns lightweight VulnerabilityFinding objects including status, since, and vulnerability ID.
  4. Enrich each finding by fetching full vulnerability metadata (CVEs, CVSS scores, title, description, solutions) with GET /api/3/vulnerabilities/{vulnerabilityId}; cache results to avoid redundant calls.
  5. For bulk exports at scale, use the Bulk Export GraphQL API (available in newer InsightVM versions) to retrieve complete asset and vulnerability data including tags and groups in a single high-performance call.

Known gotchas

Related routes

Export vulnerabilities at scale with the Tenable Vulnerability Management export API
developer.tenable.com · 5 steps · unrated
Query threats and trigger remediation via the SentinelOne API
usea1.sentinelone.net · 5 steps · unrated
Query the OSV database and run OSV-Scanner across a repository to identify known vulnerabilities
osv.dev · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans