Tenable × Metabase

How to build Tenable dashboards in Metabase

Tenable is a vulnerability management platform that scans infrastructure, cloud, and web assets for vulnerabilities and prioritizes exposure across the attack surface. Metabase is where you turn those security signals into shared, trustworthy dashboards. This guide covers two complementary paths: a lightweight MCP + CLI route that pulls live data with the Tenable MCP Server and loads a CSV into Metabase with the Metabase CLI, and a durable pipeline route that syncs Tenable findings into a database so you can build dashboards anyone can read.

Heads up: Metabase connects to databases and warehouses — it does not ship a native Tenable connector, and a BI warehouse is the wrong home for raw security telemetry. Sync findings, entities, and daily rollups — vulnerabilities, detections, control results, auth summaries — and leave the event firehose in Tenable.

How do you connect Tenable to Metabase?

Most teams combine both routes: use MCP and CLI uploads for a fast first pass, then move recurring security reporting to a warehouse-backed model.

1 · MCP + CLI route (AI-assisted)

Live data in, quick analysis out

Pair the Tenable MCP Server with the Metabase CLI. Use MCP for live lookups, write a scoped result to CSV, then load it into Metabase as a ready-to-query table and model.

Best for
  • Quick lookups such as "show me open criticals by asset group"
  • Loading a Tenable export into Metabase in seconds
  • Spot-checks and one-off analyses without a warehouse
Trade-offs
  • Great for exploration, not governed security reporting
  • Use read-only, minimally scoped credentials — security tools especially
  • CSV uploads are snapshots — refresh or move to the pipeline for history
2 · Pipeline route (warehouse-backed)

Durable dashboards with history

Sync Tenable findings and metadata into a database or warehouse with a connector, custom pipeline, or API, then point Metabase at it.

Best for
  • Tenable posture reporting leaders and auditors depend on
  • Joining Tenable data with assets, HR, ticketing, or other security tools
  • Long-run trends for open criticals by asset group and median time to remediate by severity
Trade-offs
  • You own the refresh schedule and the snapshot cadence
  • Sync findings, entities, and daily rollups — not the raw event firehose
  • Metric definitions must be consistent across tools and teams

What can you analyze from Tenable data in Metabase?

  • Open criticals by asset group — built from vulnerability findings and the related assets, scans, plugins data your sync exposes.
  • Median time to remediate by severity — built from vulnerability findings and the related assets, scans, plugins data your sync exposes.
  • Vulnerability SLA compliance — built from vulnerability findings and the related assets, scans, plugins data your sync exposes.
  • Scan coverage and stale assets — built from vulnerability findings and the related assets, scans, plugins data your sync exposes.
  • Finding aging buckets — built from vulnerability findings and the related assets, scans, plugins data your sync exposes.

Which Tenable dashboards should you build in Metabase?

For: CISO, security leadership

Exposure overview

The headline risk picture across the estate.

  • Open critical and high findings (number + trend)
  • New vs. remediated findings this month (combo)
  • SLA compliance by severity (bar)
  • Riskiest asset groups (table)
For: Vulnerability management team

Remediation operations

The queue that needs attention this week.

  • Findings past SLA due date (table)
  • Median time to remediate by severity (line)
  • Assigned findings gone stale (table)
  • Reopened findings (number)
For: Asset and service owners

Ownership views

Who owns the risk, and who's paying it down.

  • Open findings by owner and team (bar)
  • Oldest criticals per team (table)
  • Fix rate by team (line)
  • Exceptions and accepted risk (table)
For: Board reporting

Trend and posture

The quarter-over-quarter story, in plain numbers.

  • Open criticals trend (line)
  • Mean age of open criticals (line)
  • Scan coverage of the asset inventory (number)
  • Remediation velocity by quarter (bar)

How do you use the Tenable MCP Server with the Metabase CLI?

Pair the Tenable MCP Server with the Metabase CLI for fast, hands-on analysis. MCP is useful for scoped lookups and summarized exports; the Metabase CLI's upload command loads CSV data into Metabase and creates a ready-to-query table and model.

Example workflow

  • Ask the MCP server for the open critical and high vulnerability findings with severity, status, and first-seen dates.
  • Export the result as CSV, keeping stable IDs, severities, statuses, owners, and timestamps.
  • Run mb upload csv to load it into Metabase as a table and model, then build questions and dashboards on top.

Be honest about the limits

  • MCP lookups are excellent for exploration, not scheduled reporting.
  • A CSV upload is a snapshot; refresh it with mb upload replace or move to the pipeline for real history.
  • First-seen and resolved timestamps are required for remediation-time and SLA metrics; daily snapshots are required for open-findings trends.
  • mb upload csv needs an uploads database configured under Admin → Settings → Uploads.

How do you set up Tenable MCP and the Metabase CLI?

Tenable MCP Serverofficial

Transport
Hosted remote MCP via Streamable HTTP
Auth
X-ApiKeys header (access key + secret key)
Best for
Live scoped lookup and export

Metabase CLIofficial

Install
npm install -g @metabase/cli
Auth
mb auth login
Load data
mb upload csv --file data.csv
Requires
An uploads database (Admin → Settings → Uploads)
MCPExample MCP client config
{
  "mcpServers": {
    "tenable": {
      "url": "https://cloud.tenable.com/mcp/",
      "headers": {
        "X-ApiKeys": "accessKey=<ACCESS_KEY>;secretKey=<SECRET_KEY>"
      }
    }
  }
}

Tenable's hosted server (branded Hexa AI MCP) exposes ~90 tools across VM, assets, and scans. It requires a Tenable One Foundation plan or higher — check your license before planning on it.

TerminalLoad a Tenable CSV with the Metabase CLI
# Install the Metabase CLI
npm install -g @metabase/cli

# Log in (opens your browser; requires Metabase v62+)
mb auth login --url https://your-metabase.example.com

# Load a vulnerability-findings export — creates a table AND a model
mb upload csv --file tenable-vulnerability-findings.csv --collection root

# Refresh that same table later from a new export
mb upload replace <table-id> --file tenable-vulnerability-findings.csv

Can you generate a Tenable dashboard with AI?

Yes. Use the prompt below with any assistant that can run the Tenable MCP Server and the Metabase CLI. It works end to end: if Tenable tables already exist in Metabase it analyzes those; otherwise it pulls scoped, summarized data over MCP, loads it with mb upload csv, then builds the dashboard and caveats any metric that needs missing history.

Prompt for creating a Tenable Vulnerability Management Overview dashboard
Create a polished Metabase dashboard for Tenable vulnerability management analytics.
Work end to end: get the data into Metabase if it isn't there yet, then build.

Goal: Help security and engineering leaders understand open exposure, remediation velocity, SLA compliance, and the riskiest assets from Tenable data.

Step 1 — Find or load the data:
- First, check what already exists in Metabase (search for tenable tables and
  models). If durable Tenable data is already present — synced from a warehouse
  or uploaded earlier — use it and skip to Step 2.
- If nothing is there, pull a scoped, summarized export with the Tenable MCP Server:
  vulnerability findings, plus assets, scans, plugins.
  Prefer aggregated or entity-grain views over raw events. Write each result to a
  CSV, then load it with the Metabase CLI — run "mb upload csv --file <export>.csv"
  so each upload creates a table and a ready-to-query model. Use "mb upload replace
  <table-id> --file <export>.csv" to refresh an existing table instead of creating
  duplicates.

Step 2 — Inspect before querying:
Do not assume exact table or column names. Inspect available fields, severities,
statuses, timestamps, and whether snapshots or history exist before creating
duration or trend cards.

Important:
- Build on whatever data is present; don't claim Metabase connects natively to
  Tenable — it reads a database or CLI-uploaded tables.
- Never try to load raw security telemetry or event firehoses into Metabase; use
  findings, detections, entities, and daily rollups.
- Only compute durations (time to remediate, time to triage, time to detect)
  when the required timestamps exist.
- Exclude test environments and suppressed or accepted-risk items from headline
  cards, and keep them visible in a labeled register instead.
- A single CSV is a point-in-time snapshot: only build trend cards if there is a
  usable date column or multiple periods have been uploaded.

Dashboard title: Tenable Vulnerability Management Overview

Sections:
1. Executive summary: Open criticals; New findings last 30 days; Remediated last
   30 days; SLA compliance; Median time to remediate.
2. Exposure: Open findings by severity and asset group; aging buckets.
3. Remediation: New vs. remediated by week; median remediation days by severity.
4. SLA: Compliance by severity; findings past due with owner.
5. Ownership: Open findings by team; oldest criticals; accepted-risk register.

Filters: Date range, Severity, Status, Team or owner, Environment or asset group.

Output: Build the dashboard if you have permission; otherwise provide the exact
questions, SQL, model definitions, and layout. Include caveats for any metric
that cannot be calculated from the available data.

How do you sync Tenable data into a database or warehouse?

For dashboards that need history and reliability, land Tenable findings and metadata in a database first, then connect Metabase to that database.

Connector options

  • Managed ETL — use a connector when one covers the objects you need.
  • Custom pipeline — use the Tenable Vulnerability Management API for control over fields, snapshot cadence, and refresh schedule.
  • MCP + CSV — use this for quick exploration and one-off slices.

No managed ELT connector exists — use Tenable's bulk export endpoints (/vulns/export, /assets/export), the best in this category, via scheduled scripts or community Singer taps to land findings and assets in your warehouse.

Notes

  • Decide the snapshot cadence first (daily is the norm for security data) — posture trends only exist if you build the history.
  • Land raw entity tables first, then build clean Metabase models on top.
  • Normalize asset, severity (one scale across scanners), status, first-seen, resolved-at, and source-scanner fields.

How should you model Tenable data in Metabase?

Core tables

TableGrainKey columns
tenable_findingsone row per finding per assetasset_id, plugin_id, cve, severity, state, first_found, last_found, last_fixed
tenable_assetsone row per assetid, hostname, asset_group, criticality, sources, last_scanned_at
tenable_scansone row per scan runid, name, targets, status, started_at, completed_at

Modeling advice

  • Build a clean vulnerability_findings model with common columns across tools, so multi-source dashboards don't fork definitions.
  • Separate entity tables (assets, users, controls) from findings, events, and daily snapshot tables.
  • Exclude test environments and suppressed or accepted-risk items from headline metrics; keep them in a labeled register instead.
  • Use stable IDs for asset, user, and finding joins; display names change.

Which Tenable metrics should you track in Metabase?

MetricDefinitionNotes
Open critical vulnerabilitiesOpen critical and high findings, deduplicated across scanners.Count findings, not per-scan rows.
Mean time to remediateMedian days from first-seen to resolved, by severity.Use medians; exclude still-open findings.
Vulnerability SLA complianceFindings closed within their severity SLA over all findings due.Count overdue open findings against the SLA too.
Scan coverageAssets scanned in the window over the full inventory.The denominator must come from outside the scanner.

What SQL powers Tenable dashboards in Metabase?

These assume a cleaned analytical model in a warehouse (PostgreSQL dialect). Adjust table and column names to match your pipeline.

Open critical and high findings by asset groupPostgreSQL

The exposure table, with age buckets.

SELECT
  a.asset_group,
  COUNT(*) AS open_critical_findings,
  COUNT(*) FILTER (
    WHERE f.first_seen_at < CURRENT_DATE - INTERVAL '30 days'
  ) AS older_than_30d,
  COUNT(*) FILTER (
    WHERE f.first_seen_at < CURRENT_DATE - INTERVAL '90 days'
  ) AS older_than_90d
FROM vulnerability_findings f
JOIN assets a ON a.id = f.asset_id
WHERE f.status = 'open'
  AND f.severity IN ('critical', 'high')
GROUP BY a.asset_group
ORDER BY open_critical_findings DESC;
Median time to remediate by severityPostgreSQL

Remediation velocity from lifecycle timestamps.

SELECT
  date_trunc('month', resolved_at) AS month,
  severity,
  percentile_cont(0.5) WITHIN GROUP (
    ORDER BY EXTRACT(EPOCH FROM (resolved_at - first_seen_at)) / 86400
  ) AS median_days_to_remediate
FROM vulnerability_findings
WHERE resolved_at IS NOT NULL
GROUP BY 1, 2
ORDER BY 1, 2;
SLA compliance by severityPostgreSQL

Findings closed within their SLA window, of all findings due.

SELECT
  severity,
  COUNT(*) AS findings_due,
  COUNT(*) FILTER (
    WHERE resolved_at IS NOT NULL AND resolved_at <= sla_due_at
  ) AS closed_within_sla,
  ROUND(
    100.0 * COUNT(*) FILTER (
      WHERE resolved_at IS NOT NULL AND resolved_at <= sla_due_at
    ) / NULLIF(COUNT(*), 0), 1
  ) AS sla_compliance_pct
FROM vulnerability_findings
WHERE sla_due_at < CURRENT_DATE
GROUP BY severity
ORDER BY severity;

What are common mistakes when analyzing Tenable in Metabase?

Syncing the raw security-event firehose into the warehouse.→ Land findings, detections, entities, and daily rollups. Raw telemetry belongs in Tenable or a security data lake; the warehouse is for trends and joins.
Counting per-scan rows instead of deduplicated findings.→ The same CVE on the same asset appears in every scan. Deduplicate on asset + CVE + source in a modeled layer, or every trend double-counts.
Mixing severity scales across scanners.→ One tool's "high" is another's CVSS 7.2. Normalize to a single scale in the model and keep the source severity as a reference column.
Building dashboards from live MCP lookups only.→ MCP is useful for exploration; durable dashboards need a database-backed model with history.

Related analytics

Related dashboards

Related integrations

FAQ

Does Metabase connect natively to Tenable?
No. Metabase reads databases and warehouses. Sync Tenable findings and metadata into a database first, or upload a CSV with the Metabase CLI, then build Metabase models and dashboards on top.
Should Metabase replace Tenable?
No — they answer different questions. Tenable is built for hands-on security work: triage, investigation, and enforcement. Metabase is where you build governed, shareable reporting on top of the same records — the cross-tool view for leadership and the board that no single vendor console covers — and join them with HR, asset, and business data.
How do I combine findings from multiple scanners without double-counting?
Build a canonical finding key — asset plus CVE (or rule) plus source — and deduplicate on it in a modeled layer. Keep the per-scanner rows in raw tables for drill-down, but report open critical vulnerabilities from the deduplicated model, with severities normalized to one scale.
Can I trend open findings from a single export?
No — a single export is a point-in-time snapshot. Trends need either lifecycle timestamps (first-seen and resolved) or daily snapshots of open counts. Set up the snapshot table on day one; it's the cheapest data you'll ever thank yourself for.