Use this guide to understand the terms, figures, and controls used in the Security Assurance Toolkit.
How to use the dashboard
Use the filters to narrow the reporting view, then follow repository links to investigate the detail behind a result.
What the numbers mean
Counts describe the records in the current view. Priorities help you decide where remediation needs attention first; they do not replace engineering or risk-owner judgement.
Need more detail?
Select an information button next to a heading or metric for an explanation specific to that part of the dashboard.
Filters
Filters change the records shown on the page. Select a value, then choose Apply to refresh the view. An empty filter means all available values are included.
Finding trends
Outstanding shows findings still open at each interval. Discovered and resolved show the number of findings created or resolved during each interval.
Repository view
A repository is the unit used to group scan results and findings. Select its name to move from an overview to the evidence behind that repository.
Risk priority
Severity describes the seriousness of an individual scanner finding. Remediation priority combines severity, security domain, occurrence count, and repository breadth to rank work.
Central fix candidate is separate from both. It identifies a curated common theme affecting at least 2 repositories and 2% of the complete scanned estate. Filters change what is visible, but do not change that estate-wide threshold.
These signals support triage and coordinated remediation; teams should still verify the evidence and applicability in each repository.
Learn how remediation priority is profiled.
Findings
A finding is an issue reported by one of the assurance checks. The source identifies the scanner or analysis that produced it; the detail provides the evidence available for remediation.
Finding search
Choose a field and search for all findings containing your value. Vulnerability identifiers are stored as scanner rule IDs, and matching is case-insensitive. Results are grouped by the selected field and show the affected repositories.
Policies and Rules
This page lists scanner rules that have raised findings and the policy controls or standards they are mapped to. These mappings provide context; they do not demonstrate compliance.
Repositories list
This page lists every repository the discovery agent currently tracks, with its finding count and latest scan. Select a repository to open its full assurance detail page.
Findings by severity
These cards show how many scanner findings across the whole estate fall into each severity band. Use them to gauge overall estate risk before drilling into individual repositories.
Run Hadolint locally
Hadolint lints your Dockerfile. Run the same version the toolkit uses (v2.12.0) in a container from your repository root:
docker run --rm -i hadolint/hadolint:v2.12.0 \
hadolint --format json - < Dockerfile
An exit code of 1 means findings were reported.
Run Betterleaks locally
Betterleaks scans the whole working tree for secrets. There is no official image, so this mirrors the toolkit by fetching the same release (v1.8.1) inside a container, run from your repository root:
docker run --rm -v "$PWD:/repo" -w /repo alpine:3 sh -c '\
wget -qO- https://github.com/betterleaks/betterleaks/releases/download/v1.8.1/betterleaks_1.8.1_linux_x64.tar.gz \
| tar xz -C /usr/local/bin betterleaks && \
betterleaks dir /repo --report-format json --report-path - --no-color'
Run Conftest (Docker) locally
Conftest evaluates your Dockerfile against the toolkit's Rego base-image policy. Copy the policy/docker directory from the discovery agent repository into your project, then run Conftest v0.64.0 in a container:
docker run --rm -v "$PWD:/project" -w /project \
openpolicyagent/conftest:v0.64.0 test \
--parser dockerfile --policy policy/docker \
--namespace docker.baseimage --output json Dockerfile
The toolkit feeds Conftest a parsed Dockerfile AST; --parser dockerfile is the closest local equivalent, so exact results may vary slightly.
How Scorecard findings are assessed
OpenSSF Scorecard gives each automated check a score from 0 to 10 and a check-specific risk level. Lower scores indicate weaker controls. Scorecard uses the risk level to weight check results in its aggregate project score.
The discovery agent converts check scores into an initial finding severity: 0 to 2 is Critical, above 2 to 4 is High, above 4 to 7 is Medium, and above 7 to 9 is Low. A score of 10 produces no finding. The toolkit limits this using Scorecard's check-risk level, so Pinned Dependencies cannot exceed Medium, Token Permissions cannot exceed High and License cannot exceed Low. Identified vulnerability advisories use their resolved vulnerability severity instead.
The toolkit then calculates a separate remediation priority from intrinsic severity, security-domain sensitivity, estate prevalence and capped repeat evidence. It does not reuse Scorecard's aggregate project score.
Reusable workflow attribution
We avoid showing recursive findings against repositories that only call actions or reusable workflows under ministryofjustice/. The caller is not individually responsible for controls implemented in the shared workflow. Mixed or local workflows, external actions and findings that cannot be safely attributed remain visible.
Learn how Scorecard risk differs from toolkit priority.
Run this check locally
This finding comes from a scanner the toolkit runs automatically. To reproduce it, run the same scanner against a local checkout of the repository in a container. See the discovery agent documentation for the exact tool version, image, and command.
Security posture score
Each axis is a security domain. The actual score starts at 100 (no findings) and is reduced by a severity-weighted penalty for the findings in that domain, so a lower score means more or more severe issues.
On the Policies and Rules page the score is averaged across all scanned repositories; on a repository page it reflects that repository alone. The dashed outer ring is the target of 100.
Learn about scoring limitations.
Learn more about risk, scoring and prioritisation.