Metrics and dashboards
Find the next investigation without rereading every report. Metrics groups saved findings, current-session runtime observations, and synced defect-tracker findings by severity, workspace, specialist, and time. A workspace bar chart shows where reported HIGH findings cluster; inspect those reports before assigning work.
Metrics reads the current profile's saved workspace reports, finished runtime scans, and its own detailed tracker snapshots. A raw scanner result, uploaded file, or Issue management inbox record is not automatically a Metrics record. Save a review report or explicitly sync a supported Metrics source when you need that evidence represented here. See Reports and exports.
Watch the walkthrough, or use Learn & videos in the app.

First useful view
- Run a review so the Workbench has a saved report, or sync a connected tracker as described below.
- Open Metrics → Security posture and choose one or more Sources and a Time range: all, 7, 30, or 90 days.
- Inspect severity and workspace charts. Use hover/focus values or Table on supported charts.
Expected result: retained evidence counts, not a fresh scan. Build a release view below.
Connect defect trackers
Open Metrics → Connections to see each supported tracker and its connection status. Set up ServiceNow under Settings → Scanning & triage → ServiceNow. All AVITs uses ServiceNow's Aggregate API to count the full AVIT population your account can read, with filters applied by ServiceNow. This summary does not download individual records. It reflects the last completed refresh and only shows dimensions your ServiceNow account permits. For per-finding charts and CSV, choose an explicit list of AVIT numbers or a bounded ServiceNow filter and run the separate detailed sync. The AVIT table can contain millions of records, so a full detailed download is not supported. DefectDojo uses its Settings → Scanning & triage → DefectDojo connection for a detailed sync.
GitHub Issues, Jira, and Azure DevOps Boards also have detailed Metrics adapters. Configure their individual forms under Settings → Scanning & triage, or use Configure in Settings on the tracker's Metrics card:
| Metrics source | Credentials and scope |
|---|---|
| GitHub Issues | API token with Issues and Metadata read access; one owner/repository. Pull requests are excluded. |
| Jira | Jira Cloud account email and API token; the configured Security findings JQL query. |
| Azure DevOps Boards | PAT with Work Items read access; one organization and project. This sync reads the project's work items, rather than an Issue management connection's selected work-item type. |
These settings are separate from the connections and inbox in Issue management. Saving or pulling an Issue management connection does not configure a Metrics adapter or generate a review report. Metrics uses each profile's saved tracker configuration; company members do not automatically share these legacy settings. An administrator is required to save integration credentials in a company profile; analysts can refresh configured sources and viewers can read saved results.
The all-AVIT filters are:
- Source code manager — GitHub Enterprise or Azure DevOps. Choosing Azure DevOps reveals a Project field; GitHub Enterprise shows Organization, Repository, and Branch.
- Organization, Project, Repository, Branch — the AVIT's source-control context.
These resolve to your instance's own AVIT columns through the form labels in
sys_documentation(Organization Name, Project Name, Repository, Project Branch); if your instance does not expose a column for one of them, the summary says so instead of filtering on a guessed field. As you type (two characters, or on focus once a parent filter is set), each field offers a dropdown of matching values, most common first, computed server-side with a ServiceNow group-by query; no individual AVITs are downloaded. Suggestions cascade: repositories are limited to the chosen organization, branches to the chosen repository. They are best-effort and never block typing a value the list does not include. - Finding type — Static (SAST), SCA, or Secret, matched against the Security Finding Source; or Dynamic (DAST), which matches AVITs whose source is Invicti. ServiceNow often hides Invicti AVITs from OAuth clients, so a DAST count covers only the Invicti records your account can read.
- Risk rating and State — plain-English dropdowns (Critical / High / Medium / Low / None, and Open / Resolved / Closed); you no longer type ServiceNow's numeric choice values.
Secondary fields — Substate, Assignment group sys_id, exact Finding source, and the Created date range — are under a collapsible More filters section. Empty fields mean all readable records. The Stored false-positive state count matches the configured Closed / False Positive state and substate codes; ServiceNow business rules can clear the substate, so that count can understate triaged false positives.
Refreshes are explicit and read-only; opening a dashboard does not query or update a tracker. The page shows the last successful refresh and its scope. Choose an individual detailed source to avoid combining the same issue from a report and its tracker record. Select Sync now for each configured detailed source. The selected source combination and sanitized snapshots persist in the profile's Workbench store, including across desktop ports and restarts. Failed or incomplete syncs preserve the previous snapshot. GitHub and Jira pagination have 10,000-record safety bounds; Azure DevOps refuses a project with more than 10,000 work items. Narrow an oversized scope before retrying.
The built-in dashboard
Security posture is read-only; Customize creates an editable copy.
| Widget | How to interpret it |
|---|---|
| Open risk score | Sum of weights excluding FALSE POSITIVE, REMEDIATED, RESOLVED: CRITICAL 10, HIGH 6, MEDIUM 3, LOW 1, INFO 0, unspecified 1 |
| Findings | Parsed finding count; repeated reports can count the same issue again |
| Evidence coverage % | Findings with parsed evidence references; runtime observations count as evidenced. Not proof evidence is correct |
| Reports & scans | Distinct local reports and runtime scans; tracker records are findings, not reports |
| Findings by severity / over time | Severity distribution and report/scan dates—not verified remediation progress |
| Risk by specialist or tracker / Repository risk | Weighted open findings grouped by specialist, tracker, or workspace label |
| Finding types | Groups secrets, SQL injection, XSS, and other types from recorded CWE, rule, or title; unknowns remain unclassified |
| Specialist / tracker × severity | Finding counts; darker cells mean more findings |
Workspace labels use repository basenames or runtime target URLs; identical basenames can share a label. Scores prioritize reported evidence, not validated exploitability.
Build your own
- Choose New dashboard, Duplicate, or Customize. Name it, e.g.
API release review. - Add widget; choose metric, grouping, chart, width, and optional severity filter.
- For heatmaps choose Columns too. Reorder with ↑ / ↓, remove with ×.
- Save dashboard and select it from the dashboard menu.
Result: a layout saved in the current profile's dashboards.json beside history. Desktop uses
the local operating-system profile; the hosted app uses that signed-in profile's server storage.
| Choice | Available values |
|---|---|
| Metric | findings, riskScore, uniqueFindings (fingerprint deduplication), evidenceCoverage, reports |
| Group by | severity, agent, category, workspace, day, week, disposition, confidence, source, rule, findingType |
| Chart | Stat tile, column, bar, line, donut, table, heatmap |
| Size | Small (¼ row), medium (½), full width |
Heatmaps always show finding counts. Severity colors are fixed; other entity colors stay stable.
Recipes
| Question | Metric | Group by | Chart / filter |
|---|---|---|---|
| Where are HIGH findings? | findings | workspace | Bar; HIGH (add another widget for CRITICAL) |
| What did triage decide? | findings | disposition | Donut |
| How much weighted risk did each specialist report? | riskScore | agent | Bar |
| What was reported each week? | findings | week | Line |
| Which workspace/severity combinations dominate? | findings | workspace | Heatmap; columns = severity |
Export and API
Export CSV includes retained rows for the selected source—not the dashboard/time filter—with timestamp, source, workspace, agent/category, ID, title, severity, confidence, disposition, and evidence flag. Formula-like prefixes are escaped. Treat exports as sensitive.
For a local Workbench running on its default port:
curl -s http://127.0.0.1:3000/api/metrics/overview
curl -s http://127.0.0.1:3000/api/metrics/schema
curl -s http://127.0.0.1:3000/api/metrics/sources
curl -s http://127.0.0.1:3000/api/trackers
curl -s http://127.0.0.1:3000/api/metrics/query -H 'Content-Type: application/json' \
-d '{"metric":"riskScore","groupBy":"workspace","filters":{"severity":"HIGH","source":"report"}}'
Use Refresh all AVITs in Metrics, or POST /api/trackers/servicenow-avit/aggregate
with filter fields, to refresh the full-population summary. GET on the same path returns
the last summary. Use POST /api/trackers/servicenow-avit/sync with an explicit scope, or
POST /api/trackers/defectdojo/sync, for detailed findings. The detailed sync returns the
source, finding count, and sync time. GET /api/metrics/export?source=servicenow-avit
downloads only the scoped AVIT detail snapshot, not the full-population summary. All endpoints
use the current Workbench profile. Hosted requests require the existing authenticated session,
active profile, and role permissions; these unauthenticated loopback examples are for local use.
Filters: severity, agent (ID), category, workspace, source (report, runtime,
servicenow-avit, defectdojo, github, jira, or azure-devops),
disposition, since (ISO date). The local API checks browser origins; keep the local server
on loopback. Use the authenticated gateway for a hosted deployment.
Limits
Reports and synced tracker snapshots persist; the last 25 runtime scans disappear on restart.
The all-AVIT summary contains counts, not per-finding evidence, fingerprints, or export rows.
ServiceNow field permissions can leave some dimensions unavailable. Detailed tracker sync
requires read access and can fail if its scope, permissions, or pagination limits prevent a
complete import. A failed refresh leaves the last completed summary or detail snapshot intact.
uniqueFindings deduplicates
fingerprints, not verified vulnerabilities. Report volume, scope, or model changes can move charts
without code changes. Calculations run in the Workbench backend for the current profile; reviews
may send source to your selected model provider.
Troubleshooting
| Symptom | Next action |
|---|---|
| Empty charts | Save a report, check the selected time range, then reopen Metrics |
| Counts seem duplicated | Compare report dates/IDs; use uniqueFindings where appropriate |
| Runtime counts disappeared | Restart clears session scans; export evidence before stopping |
| Cannot edit Security posture | Choose Customize to save a copy |
| CSV differs from visible chart | CSV exports all retained findings; apply filters in your analysis |