Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ It is designed for teams that want more than "a newer tag exists". The app keeps
- **Observed Images**: repositories and tags discovered from Docker Hub account data
- **Runtime Containers**: live workload inventory with update and vulnerability state
- **Docker Instances**: configured engines plus usage history
- **Shared Base Images**: base-image reuse across observed images
- **Base Images**: base-image reuse across observed images
- **Scan History**: recent background activity and outcomes

## Runtime requirements
Expand Down
2 changes: 1 addition & 1 deletion docs/areas/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ operator or another component can rely on — formats, limits, error behavior, g
| [Scan engine](scan-engine.md) | Background jobs and their intervals, dynamic own-image interval, overlap rules, scan runs, crash recovery, retention and cleanup, single-instance assumption | What a scan evaluates (the feature areas) |
| [Web UI](web-ui.md) | Pages and routes, what each page shows and triggers, dashboard refresh, error and not-found pages, theme | How the shown values are computed (the feature areas) |
| [Detail pages](detail-pages.md) | Layout and contents of the detail pages: header, details column, panels in order, resource history charts | Routes, actions table, shared display and errors (Web UI); how values are computed (the feature areas) |
| [List pages](list-pages.md) | Layout and contents of the list pages, so far Vulnerabilities: header, severity overview, filters, table, expanded rows, pager | Routes, actions table, shared display and errors (Web UI); how values are computed (the feature areas) |
| [List pages](list-pages.md) | Layout and contents of the list pages (My Images, Observed Images, Base Images, Docker Instances, Scan History, Vulnerabilities): headers, panels, columns, shared vulnerability cell, form, meter, cards | Routes, actions table, shared display and errors (Web UI); how values are computed (the feature areas) |
| [Telemetry](telemetry.md) | Logs, traces and metrics, OTLP export, activity and instrument names, inventory gauges, what never reaches telemetry | Deployment of the observability stack (`INSTALL.md`) |
<!-- project:end area-index -->
109 changes: 102 additions & 7 deletions docs/areas/list-pages.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,100 @@

## Scope

The layout and contents of the list pages, so far the Vulnerabilities page: its header, the severity overview, the
filters, the table, the expanded rows and the pager. Users rely on it to see how the active advisories are spread
over the severities and to find the ones that matter.
The layout and contents of the list pages My Images, Observed Images, Base Images, Docker Instances, Scan History and
Vulnerabilities: header, panels, columns and cell variants, the registration form, the memory meter, the single-instance
panel, the shared vulnerability cell and the cards below 960 px. Runtime Containers uses the shared cell too. Users
rely on them to see what is running, what was scanned and what needs attention.

## Behavior

### All list pages

- Each page shows the page header with its title and one sentence, without an eyebrow, then one panel per list with
its title and a muted meta text on the right, and no description line. The table fills its panel to the edges.
Column heads are sentence case. Names that lead to a detail page are semibold links.
- Every scan status is a dot with its status text in the shared tone (`Succeeded` green, `Partial` orange, `Failed`
red, `Running` blue); any other status, such as `NotScanned`, is neutral. Every other state is a chip.
- While a page loads, its panel shows the table skeleton with the panel title. A list without items shows its empty-state
text in a panel, with no meta text and no table. A failed first load shows the alert of
[Web UI](web-ui.md#limits-and-errors) in place of the skeleton.
- A count in a meta text is singular for one (`1 image`, `1 container`).

### My Images

- Header `My Images`: `Own images discovered from the configured Docker Hub account; running ones come first.`. The panel
title is the configured Docker Hub user name, trimmed, or `Images from Docker account` without one, also on the
skeleton. The meta reads `{n} images · {r} running`, where `r` counts the images with at least one running container.
- Columns: *Name* (link to the image, the description muted below it when there is one), *Image* (the reference), *Latest
scan* (indicator, the scan message muted below it when there is one), *Running* (`{n} containers`, `1 container`, or
muted `Not running`), *Base runtime* (the alert summary in semibold high-severity text, or muted `No runtime
warning`) and *Vulnerabilities* ([shared cell](#vulnerability-cell)).

### Observed Images

- Header `Observed Images`: `Manually tracked images. Register a registry reference to scan it right away.`.
- The panel `Register image` shows a label above each of the fields `Name`, `Image reference` (placeholder
`registry/repository:tag`) and `Description` (with a muted `(optional)`), and the primary button `Register and scan`
in one row from 960 px, in the proportions 1 : 2 : 2 : auto. Each label is tied to its input. The button is offset by
the label height, so a validation message under a field lengthens only that field. Below 960 px the fields stack,
below 600 px the button takes the full width. The formats hint stands muted below the row. Validation, the busy
button, the error alert with its `Open own image` link and the move to the new image's page are described in
[Web UI](web-ui.md#actions).
- The panel `Manual images` has the meta `{n} images`. Its columns are *Name*, *Image* and *Latest scan* as on My
Images, *Updates* (the number of active update findings in medium weight, or `—`), *Base runtime* (the hint summary
muted, or `—`) and *Vulnerabilities* (shared cell). An empty list or a failed load shows its text or alert inside
this panel, and the form stays usable.

### Base Images

- Header `Base Images`: `Base images shared by two or more enabled images or containers, with the images built on
them, the containers that run them and their vulnerability status.`; the browser tab reads `Base Images`. The panel
`Base image overview` has the meta `{n} base images`.
- Columns: *Base image* (semibold), *Parent images* (one plain reference per line, no links, or muted `No parent image
recorded`), *Runtime containers* (one link per line to the container's page with the instance name muted beside it,
or muted `No linked container`), *Observed images* (the count) and *Vulnerabilities*: the chips of the shared cell,
below them the muted line `{count} active · {source}` and the assessment message when there is one. This cell has no
rescan button and no per-severity counts.

### Docker Instances

- Header `Docker Instances`: `Configured Docker endpoints with their connection, latest runtime scan and current
resource usage.`. The panel `Configured instances` has the meta `{n} instances · {c} containers`, `c` being the sum of
the instances' container counts.
- Columns: *Name* (link), *Endpoint* (masked as in [Web UI](web-ui.md), 13 px monospace, breaks anywhere), *Connection*,
*Latest scan* (indicator, the completion time in UTC muted below it; none for an instance never scanned), *CPU*,
*Memory*, *Network* (one line) and *Containers*.
- *Memory* shows the value, and below it a meter 6 px high and at most 140 px wide announced as `{p} percent of host
memory`, only when the usage and a host memory total above 0 are known. `p` is the share rounded to a whole percent,
half away from zero; above 100 the bar is full and `p` stays real. Without a total the cell shows the bytes alone, and
`n/a` without usage.
- With exactly one instance whose detail has loaded, a panel above the table has the instance name as title and its
endpoint as meta, and shows the cells `CPU`, `Memory` and `Network` with their current value and history chart; the
table then hides those three columns. Without stored history the cells show no chart and the text `No resource
history is currently stored for this Docker instance.` stands below them.

### Scan History

- Header `Scan History`: `Image, runtime container and vulnerability scan runs with trigger, target and outcome.`. The
panel `Latest 20 runs` has as meta the counts above 0 of the listed runs in the order succeeded, running, pending,
partial, failed, joined by ` · ` (`17 succeeded · 1 running · 1 partial · 1 failed`); runs with another status are not
counted.
- Columns: *Type*, *Status* (indicator), *Trigger* (muted), *Target*, *Started* (muted, tabular figures) and *Error*:
the stored message, red for a `Failed` run and muted otherwise.
- While vulnerability scanning is enabled the header holds the primary button `Refresh vulnerabilities` (`Refreshing
vulnerabilities...` while busy), with `Next scheduled vulnerability refresh: {value}` in 13 px muted text to its left
when scanning is scheduled. A failed refresh shows an error alert between header and panel.

### Vulnerability cell

- One component serves Runtime Containers, My Images and Observed Images. With active findings it shows a chip of the
highest active severity, beside it a chip of the status when that is not `Findings detected`, and below the line
`{count} active · {n} critical, …` in the order critical, high, medium, low, unknown (`Unknown` is in the low tone).
Without active findings only the status chip shows, in the tone of its status.
- Then follow `Checked {UTC time}` or `Never scanned`, the rescan error when there is one, and the chip `Base images
affected` with its summary when base images have active findings. The rescan icon button stands on the right.
- The stored assessment message is not shown in this cell; the detail pages show it.

### Vulnerabilities page header and panel

- The page header shows the title `Vulnerabilities` and the description `Active advisories across all images, with the
Expand Down Expand Up @@ -50,9 +138,14 @@ over the severities and to find the ones that matter.

### Layout

- Below 960 px each row is a card that keeps its expand button, and the filter field and the severity select each
take the full width of the panel header. Long values, such as a package name or an image reference, wrap
inside the card instead of widening it. From 960 px the field is 260 px and the select 150 px wide.
- Below 960 px each row of every list is a card with a label before each value; multi-line cells (name, scan, base
runtime, vulnerabilities, parent images, containers, memory) stack their lines, and the rescan control of the
vulnerability cell takes the full width of its card. On Vulnerabilities the card keeps its expand button, and the
filter field and the severity select each take the full width of the panel header. From 960 px the tables of My
Images, Observed Images, Base Images, Docker Instances and Scan History are fixed-layout and never wider than their
panel, with the columns in fixed shares; on Vulnerabilities the field is 260 px and the select 150 px wide.
- Long values, such as a package name, an image reference with a digest, a stored error or an endpoint, break anywhere
and wrap inside their cell or card instead of widening the page.

## Limits and errors

Expand All @@ -61,11 +154,13 @@ over the severities and to find the ones that matter.

## Related decisions

- [`decisions/0082-the-runtime-container-list-names-the-highest-active-severity-and-keeps-a-failed-checks-status-beside-it.md`](../decisions/0082-the-runtime-container-list-names-the-highest-active-severity-and-keeps-a-failed-checks-status-beside-it.md)
— the shared cell names the highest active severity and keeps a failed check's status beside it.
- [`decisions/0084-the-vulnerabilities-page-pages-its-advisories-itself-and-draws-its-own-pager.md`](../decisions/0084-the-vulnerabilities-page-pages-its-advisories-itself-and-draws-its-own-pager.md)
— the page keeps the page index and size and draws its own pager.

## Not here

- Routes, the actions table, shared display and error behavior in [Web UI](web-ui.md).
- How severities, CVSS scores and fix status are computed in [Vulnerabilities](vulnerabilities.md).
- The detail pages in [Detail pages](detail-pages.md); the other list pages join this area when they are converted.
- The detail pages in [Detail pages](detail-pages.md).
Loading