Pull host vulnerability detections from the Qualys VMDR API

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

Steps

  1. Authenticate using HTTP Basic auth with your Qualys username and password; determine your API gateway URL from the Qualys platform UI (e.g., qualysapi.qg2.apps.qualys.com for US POD2).
  2. Request the Host Detection List with POST https://{gateway}/api/2.0/fo/asset/host/vm/detection/ with body action=list and optional filters such as ids (asset IDs), severities, status (New, Active, Re-Opened, Fixed), and truncation_limit.
  3. Parse the returned XML response; each <HOST> element contains <IP>, <QID>, <SEVERITY>, <STATUS>, <FIRST_FOUND_DATETIME>, and <LAST_FOUND_DATETIME> fields for each detection.
  4. Page through large result sets using the <WARNING><URL> element in the response, which provides the continuation URL for the next batch when truncation_limit is reached.
  5. Enrich detections by cross-referencing QIDs against the Qualys KnowledgeBase API (action=list on /api/2.0/fo/knowledge_base/vuln/) to obtain CVE IDs, CVSS scores, and remediation guidance.

Known gotchas

Related routes

Retrieve CVEs from the NVD API 2.0 with API-key paging and rate limits
nvd.nist.gov · 5 steps · unrated
Deploy Trivy Operator on Kubernetes for continuous, in-cluster vulnerability scanning of running workloads
aquasecurity.github.io · 6 steps · unrated
Export vulnerabilities at scale with the Tenable Vulnerability Management export API
developer.tenable.com · 5 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