Skip to main content

Module views

Module views 

Source
Expand description

The read side of the API (RFC-108 D9): what the latest report of every project says, grouped the way each UI view needs it.

Everything here is computed from the latest stored report of each project. A console holds one row per project for this, so the work grows with the number of projects and not with the number of reports.

Structs§

ProjectModel
One project as the latest report describes it.

Functions§

capabilities
GET /capabilities: every capability across projects, with the versions in use. type_filter keeps one capability type.
capability
GET /capabilities/{type}/{id}: where one capability is used.
harnesses
GET /harnesses: the project by harness matrix. A cell is the number of capabilities the project has installed for that harness.
policies
GET /policies: who carries which policy, who carries none, and every rule recorded as not enforced.
project
GET /projects/{id}: one project, its capabilities per target, its recorded policy gaps, and its latest report as stored.
projects
GET /projects: each project with its summary, and the totals the Dashboard shows.