{# SAST program dashboard: a findings funnel, a CVSS-band breakdown, a "Top Vulnerability Types" (CWE) breakdown, and a short "Top findings" preview linking out to the full, filterable findings register at /activities/sast/findings (sast_findings_list.html) -- the one dashboard in this app backed by a stored table (sast_findings) instead of report text re-parsed on every request. See web/sast_dashboard.py's module docstring for why. #} {% from "_macros.html" import info_tip %} Program dashboard
SAST findings still open in the register.
A finding stays open until a later scan no longer reports it, or a reviewer closes it.
{% endcall %} {{ sast_dash.funnel.findings }} Open findingsOpen findings the scan did not mark Latent.
Latent means the vulnerable code is present but not reachable in the current build.
{% endcall %} {{ sast_dash.funnel.exploitable }} Exploitable (not Latent)Open findings with a Confirmed verdict.
The scan checked the code and believes the issue is real, not just a pattern match.
{% endcall %} {{ sast_dash.funnel.verified }} Verified (Confirmed verdict)Open findings whose CVSS v3.1 score is High or Critical (7.0 or above).
secfoo computes the score from the finding's own vector. The model does not pick the band.
{% endcall %} {{ sast_dash.funnel.severe }} Severe (CVSS High/Critical)Open findings banded by the CVSS v3.1 score secfoo computes from each finding's vector.
None means the finding had no vector, so no score could be computed.
{% endcall %}Computed by secfoo from each finding's own CVSS v3.1 vector -- never asserted directly by the model.
Open findings grouped by CWE, the weakness type.
Findings without a specific CWE ("unverified") are left out of this breakdown.
{% endcall %}Open findings by CWE. Findings without a specific CWE ("unverified") are excluded from this breakdown.
{% if sast_dash.top_cwe_counts %} {% else %}No findings with a specific CWE yet.
{% endif %}The five highest-CVSS open findings across every project.
The full register, including closed findings and filters, is on the findings page.
{% endcall %}The highest-CVSS open findings across all projects.
| Project | Access | Title | Source location | Last seen | CVSS |
|---|---|---|---|---|---|
| {{ f.project_display_name }} | {% if f.verdict and f.verdict.lower() == 'confirmed' %}Verified{% endif %} {% if f.cvss_vector | cvss_network_reachable %}External{% endif %} | {{ f.title }} {{ f.cwe or "unverified" }} |
{{ f.location_file }}{% if f.location_line %}:{{ f.location_line }}{% endif %} |
{{ f.last_seen_at | fmt_time }} | {% if f.cvss_score is not none %} {% else %} No vector {% endif %} |