{#- The dashboard: the run line, the KPI tiles (all findings carries the severity bar and its legend), then Fix first
beside Worst images. Bars are SVG with their geometry in attributes: the CSP allows no inline style. -#}
{% extends "base.html" %}
{% from "partials/macros.html" import versions, factor_chips, risk_score %}
{% block title %}Dashboard · kubedelos{% endblock %}
{% block page_title %}Dashboard{% endblock %}
{% block run_line %}{% with page_title = self.page_title() %}{% include "partials/run_line.html" %}{% endwith %}{% endblock %}
{% block content %}
{% if not run %}
{% if narrower_href %}
There is no cluster-wide run of {{ context }} yet, only narrower ones.
See the newest run's findings. No scans of {{ context }} yet. Start one on the Scans page.
Note: a newer run of {{ newer.scope }} exists, from {{ newer.when }}: see its findings.
{% endif %}No vulnerabilities found in the {{ scanned }} {{ scanned | plural("image") }} that scanned; {{ kpis.images_failed }} failed to scan.
{% elif run.gaps %} {%- set gaps = run.gaps | length %}No vulnerabilities found in the {{ kpis.images }} {{ kpis.images | plural("image") }} that could be listed; {{ gaps }} {{ gaps | plural("namespace or resource", "namespaces or resources") }} could not be listed.
{% else %}No vulnerabilities found in {{ kpis.images }} {{ kpis.images | plural("image") }}.
{% endif %} {% endif %} {% if failed_total %}{%- if retry_href %}Retry failed images{% endif %} See all {{ failed_total }}
hint: {{ hint }}
{%- endfor %}{% if by == "fix" %}by fix{% else %}by fix{% endif %} · {% if by == "image" %}by image{% else %}by image{% endif %} · Print report
{{ risk_note }}
{% endif %} {% if not fix_rows %}No Critical or High findings have a released fix.
{% elif by == "fix" %}Installed: {{ row.installed | join(", ") }}
{%- endif %} {%- if risk_shown %}{{ factor_chips(row.factors) }}{% endif %}{{ ref }}{% if namespaces %} in {{ namespaces | join(", ") }}{% endif %}and {{ row.images - sample_cap }} more: see them in findings
{%- endif %}| Risk | {% endif %}Image | Namespaces | Critical | High | With a fix |
|---|---|---|---|---|---|
| {{ risk_score(row.score, row.factors) }} | {% endif %}{{ row.ref }} |
{{ row.namespaces | join(", ") }} | {{ row.critical }} | {{ row.high }} | {{ row.fixable }} |
showing {{ fix_rows | length }} of {{ fix_total }}: see the full list in findings
{% endif %} {% if no_fix %} {% endif %} {% if accepted_left_out %}{{ accepted_left_out }} accepted Critical/High {{ accepted_left_out | plural("finding") }} not shown
{% endif %}{{ bar.short }}
{{ bar.critical }} Critical · {{ bar.high }} High