Get a standard
Requires detection_rule.read. Results are scoped to the authenticated tenant. This reference is generated from source; consult the authenticated live schema for deployment-specific availability.
Authorizations
An Alignr API key.
Path Parameters
Response
Successful Response
GET /standards, GET /standards/{id}, PATCH /standards/{id},
POST /standards/{id}/copy (Standard in frontend/src/types/standards.ts).
controlCount/organizationCount are not columns — controlCount is this
standard's own control count, and organizationCount is how many organisations
have actually had a control from this standard evaluated at least once (a
freshly created or copied standard is legitimately 0, per the Clients tab's
own "not applied to any organization yet" empty state — it is not the tenant's
total organisation count, which every standard would then share and which
would never legitimately answer 0).
rollup is the five-status breakdown across every organisation's latest
evaluation of every control belonging to this standard — the Standards list
page's five-segment status bar, computed the same way
control_evaluation_service.rollup_statuses already computes it for one
evaluation run, just over latest_evaluations(standard_id=...) instead.
The five control_status values' counts, aggregated over a set of
evaluations. Unlike ComplianceGridRead.rollup (a single worst-case status
for one organisation, per frontend/src/features/organization-detail/ compliance/ComplianceTab.tsx's own note), this is the literal breakdown a
"rollup"/"statusCounts" name promises — used both by
EvaluationRunRead.statusCounts (one run) and StandardRead.rollup /
StandardOrganizationRead.rollup (the latest evaluation per control, across
a standard's organisations or one organisation's controls respectively).