← Course Index

7.8 Enterprise Vulnerability Management Platforms:
Qualys VMDR, Rapid7 InsightVM & Tenable

Sensor & Agent Architectures, Risk-Scoring Models (TruRisk, Real Risk Score & VPR), Remediation Workflows & API Integration

Module 7: Vulnerability Research & Defense Enterprise VM Platforms Qualys • Rapid7 • Tenable

1. Scaling Vulnerability Assessment Across Hybrid Enterprises

Enterprise vulnerability management platforms—led by Qualys VMDR, Rapid7 InsightVM, and Tenable (Tenable.io / Tenable.sc / Tenable One)—combine network scanners, lightweight endpoint agents, passive sensors, and cloud connectors to continuously inventory assets and detect weaknesses across on-premises, cloud, container, and operational environments. Rather than stopping at raw CVE lists, all three platforms layer threat intelligence and asset context onto findings to drive remediation workflows.

Authenticated & Agent-Based Visibility: Unauthenticated network scans only observe externally visible ports and service banners. Pairing lightweight endpoint agents with credentialed network scans exposes missing OS/application patches, insecure configurations, and local software inventories with minimal network overhead.
1. COLLECTION SENSORS Cloud & Endpoint Agents Authenticated Network Scanners Cloud, Container & OT Connectors External ASM & Passive Sensors 2. ENTERPRISE VM ENGINE Asset Normalization & Tagging Deduplicate hosts, business units & owners Risk Scoring & Threat Context TruRisk • Real Risk Score • VPR / CES 3. REMEDIATION & REPORTING ITSM / Jira tickets, patch & SOAR hooks Compliance benchmarks & SLA tracking 4. OPERATIONAL VALUE • Unified Hybrid Asset Inventory • Risk-Ranked Owner Queues • Continuous Compliance Evidence
Figure 7.8: Enterprise Vulnerability Management Architecture Spanning Multi-Mode Sensors, Normalization, Risk Scoring, and ITSM/Patch Orchestration.

2. Comparing Qualys VMDR, Rapid7 InsightVM & Tenable

Dimension Qualys VMDR Rapid7 InsightVM Tenable (io / sc / One)
Deployment Model Cloud-native SaaS platform (with Private Cloud Platform option). Cloud-managed Insight platform with distributed scan engines and Insight Agents. Cloud SaaS (Tenable.io / One) or on-premises Security Center (Tenable.sc).
Risk Scoring Model TruRisk & Qualys Detection Score (QDS) incorporating EPSS, KEV, and asset criticality. Real Risk Score weighting exploit availability, malware exposure, and attacker behavior. Vulnerability Priority Rating (VPR) and Cyber Exposure Score (CES).
Remediation & Workflow Native Qualys Patch Management integration alongside ITSM ticketing. Remediation Projects, Jira/ServiceNow workflows, and InsightConnect SOAR. ITSM integrations, exposure management workflows, and Tenable Patch.
Notable Ecosystem Strengths Unified cloud platform combining VMDR, WAS, Policy Compliance, and CSAM. Tight alignment with InsightIDR SIEM, DevSecOps workflows, and rapid deployment. Deep Nessus plugin heritage, strong OT/ICS coverage, and Active Directory exposure.
Plan Scanner Placement & Credential Hygiene: Misplaced network scanners traversing stateful firewalls or NAT gateways can distort scan results or trigger IPS blocks, while unrotated or overly broad scan credentials create operational risk. Segment scanner appliances close to target subnets and use least-privilege, vaulted scan accounts.

3. Practical Enterprise VM Integration, Normalization & Auditing Examples (10 Scenarios)

Example 1: Querying a VM Platform API with Bearer Token Authentication (Bash / curl)

Bash (curl) — Exporting Asset or Vulnerability Summaries via REST API
curl -s -H "Accept: application/json" \
     -H "X-ApiKeys: accessKey=$VM_ACCESS_KEY; secretKey=$VM_SECRET_KEY" \
     "https://cloud.tenable.com/workbenches/assets?date_range=7" | head -c 220
SAMPLE OUTPUT
{"assets":[{"id":"a19f02c4-8812-4c11-9a20-001122334455","has_agent":true,"last_seen":"2026-11-26T12:00:00Z","ipv4":["10.20.4.18"]}],"total_asset_count":1}

Example 2: Normalizing Findings Across Multiple VM Scanners in Python

Python — Mapping Qualys, Rapid7 & Tenable Records into a Common Schema
raw_records = [
    {"vendor": "qualys",  "host": "web-01", "cve": "CVE-2024-6387", "vendor_score": 850},
    {"vendor": "rapid7",  "host": "web-01", "cve": "CVE-2024-6387", "vendor_score": 890},
    {"vendor": "tenable", "host": "db-02",  "cve": "CVE-2024-3094", "vendor_score": 9.4},
]

normalized = [
    {"asset": r["host"], "cve": r["cve"], "source": r["vendor"]}
    for r in raw_records
]

unique_pairs = {(n["asset"], n["cve"]) for n in normalized}
print("Raw rows:", len(raw_records), "| Deduplicated asset-CVE pairs:", len(unique_pairs))
SAMPLE OUTPUT
Raw rows: 3 | Deduplicated asset-CVE pairs: 2

Example 3: Grouping Findings by Business Unit & Owner Tag in Python

Python — Routing Deduplicated Findings to Remediation Teams
from collections import defaultdict

items = [
    {"asset": "web-01", "owner_tag": "team-frontend", "cve": "CVE-2024-6387"},
    {"asset": "web-02", "owner_tag": "team-frontend", "cve": "CVE-2024-6387"},
    {"asset": "db-02",  "owner_tag": "team-data",     "cve": "CVE-2024-3094"},
]

by_owner = defaultdict(list)
for i in items:
    by_owner[i["owner_tag"]].append(f"{i['asset']}:{i['cve']}")

for owner, list_items in by_owner.items():
    print(f"{owner} ({len(list_items)}): {', '.join(list_items)}")
SAMPLE OUTPUT
team-frontend (2): web-01:CVE-2024-6387, web-02:CVE-2024-6387
team-data (1): db-02:CVE-2024-3094

Example 4: Auditing Scan Coverage & Agent Health in Python

Python — Detecting Stale Agents or Unauthenticated Scans
assets = [
    {"host": "app-01", "authenticated": True,  "days_since_checkin": 1},
    {"host": "app-02", "authenticated": False, "days_since_checkin": 2},
    {"host": "app-03", "authenticated": True,  "days_since_checkin": 21},
]

for a in assets:
    healthy = a["authenticated"] and a["days_since_checkin"] <= 7
    print(f"{a['host']}: auth={a['authenticated']} | checkin_days={a['days_since_checkin']} | healthy={healthy}")
SAMPLE OUTPUT
app-01: auth=True | checkin_days=1 | healthy=True
app-02: auth=False | checkin_days=2 | healthy=False
app-03: auth=True | checkin_days=21 | healthy=False

Example 5: Checking Local Vulnerability Agent Service Status on Linux (Bash)

Bash (systemctl) — Verifying Endpoint VM Agent Status
for svc in qualys-cloud-agent ir_agent nessusagent; do
  systemctl is-active "$svc" 2>/dev/null && echo "$svc: active"
done
SAMPLE OUTPUT
qualys-cloud-agent: active

Example 6: Correlating VM Findings with Active Telemetry in Sentinel (KQL)

KQL (Microsoft Sentinel) — Checking Recent Network Connections on Vulnerable Hosts
DeviceNetworkEvents
| where Timestamp > ago(24h)
| where DeviceName in~ ("web-01", "db-02")
| summarize
    Connections = count(),
    RemoteIPs = dcount(RemoteIP)
  by DeviceName, LocalPort
| order by Connections desc
SAMPLE OUTPUT
DeviceName LocalPort Connections RemoteIPs
---------- --------- ----------- ---------
web-01     443       3120        84

Example 7: Checking Open Scanner / Agent Ports & Outbound Connectivity (Bash)

Bash (ss) — Reviewing Active Outbound HTTPS Connections from an Agent
ss -tn state established '( dport = :443 )' | head -n 5
SAMPLE OUTPUT
Recv-Q Send-Q Local Address:Port  Peer Address:Port
0      0      10.20.4.18:51842    198.51.100.25:443

Example 8: Velociraptor VQL — Checking Installed VM Agents Across Endpoints

VQL (Velociraptor) — Verifying Running VM Agent Processes
SELECT
  Pid,
  Name,
  Exe
FROM pslist()
WHERE Name =~ "(qualys|ir_agent|nessus)"
SAMPLE OUTPUT
Pid  Name               Exe
---  ----               ---
1184 qualys-cloud-agent /usr/local/qualys/cloud-agent/bin/qualys-cloud-agent

Example 9: Wazuh Rule — Alerting on VM Agent Stoppage or Configuration Tampering

XML (Wazuh Rule) — Monitoring VM Agent Service Health

  
    syslog
    qualys-cloud-agent|ir_agent|nessusagent
    Stopped|Stopping|failed
    Vulnerability management agent stopped or failed on $(hostname)
  
SAMPLE OUTPUT
** Alert 1795712304.51908: - local,vm_platform,agent_health
2026 Nov 26 15:10:12 (app-server-07) 10.20.4.22->/var/log/syslog
Rule: 102010 (level 8) -> 'Vulnerability management agent stopped or failed on app-server-07'

Example 10: Summarizing Scan Coverage Percentage in Python

Python — Calculating Authenticated Scan & Agent Coverage
total_assets = 250
covered_assets = 232

coverage_pct = (covered_assets / total_assets) * 100
print(f"Covered assets: {covered_assets}/{total_assets} ({coverage_pct:.1f}%)")
SAMPLE OUTPUT
Covered assets: 232/250 (92.8%)

4. Interactive Enterprise VM Architecture & Operations Simulator

Select an enterprise vulnerability management scenario below to review deployment and operational guidance:

← Previous: 7.7 Attack Surface Management (ASM) 7.9 Enterprise Deception & Canary Tokens →