Skip to main content

:::tip Looking for the recipe? See Workflows → Track trends across releases for the task-driven guide. This page is the reference. :::

zuit show / stop / status

Use zuit show to open a local browser dashboard where you can explore your scan history, track quality trends over time, and compare findings across runs.

Three subcommands manage the dashboard:

CommandEffect
zuit showStart the dashboard server (if not already running) and open the browser.
zuit stopStop the running dashboard server.
zuit statusShow whether the server is running, and on which port.

How history works​

Every zuit analyze run automatically saves its results to history under your home directory. The dashboard reads from this history to populate all tabs and charts. By default, up to 100 scans are kept per project; older scans are removed when that limit is reached.

To skip saving a single run:

zuit analyze . --no-save

To disable saving globally, add to zuit.toml:

[history]
auto_save = false

Dashboard tabs​

TabWhat you see
OverviewLatest scores, grade summary, and change since the previous scan
ScansAll saved scans; delete or label any scan
FindingsFindings for a selected scan, filterable by dimension and severity
TrendsScore history per dimension over time
DiffFinding-level comparison between any two scans
HeatmapPer-file finding counts across all scans
ConfigThe configuration snapshot recorded with each scan

HTTP API​

The dashboard server also exposes a JSON API if you want to build your own tooling on top of the scan history.

Method · PathReturns
GET /api/healthz{ok, version}
GET /api/projectsList of projects with latest scores and scan count
GET /api/projects/:hashProject metadata and scans index
GET /api/projects/:hash/scansScans index
GET /api/projects/:hash/scans/:idFull scan result
GET /api/projects/:hash/scans/:id/analyticsFinding counts by severity, dimension, rule, and file
GET /api/projects/:hash/summaryLatest analytics plus delta vs. previous scan
GET /api/projects/:hash/diff?from=&to=Finding diff: new, resolved, and persisting
GET /api/projects/:hash/trendsPer-scan time-series data
GET /api/projects/:hash/heatmapPer-file finding rollups
GET /api/projects/:hash/configs/:cfgConfiguration snapshot
DELETE /api/projects/:hash/scans/:idDelete a scan
PUT /api/projects/:hash/scans/:id/labelSet or clear a label on a scan

Configuration​

FieldDefaultDescription
history.auto_savetrueSet to false to stop saving scans automatically.
history.max_scans_per_project100Older scans are removed when this limit is reached.
history.cachetrueEnable the incremental file cache between runs.
note

On Unix, the dashboard server runs in the background and outlives your terminal session. On Windows, it runs in the foreground.

See also​