{#- The accepted risk register: the shown context's entries and the all-cluster ones, active first. Each row can be revoked with a CSRF-protected POST, unless this kubedelos is read-only. -#} {% extends "base.html" %} {% block title %}Accepted · kubedelos{% endblock %} {% block run_line %}

Accepted risk

{% endblock %} {% block content %}

An acceptance takes a finding off the fix list and the findings page until it expires. Every count stays as it is. Start one from the Accept… link on a findings row.

{% if cve %}

Showing {{ cve }} only. show all

{% endif %} {% if not rows %}

Nothing accepted{% if cve %} for {{ cve }}{% endif %} on {{ context }} yet.

{% else %}
{%- for row in rows %} {%- set e = row.entry %} {%- endfor %}
CVE Where Reason Owner Expires Covers Action
{{ e.vuln_id }} {{ "all clusters" if e.context is none else e.context }} {%- if e.namespace %} namespace {{ e.namespace }}{% endif %} {%- if e.repo %} image {{ e.repo }}{% endif %} {%- if e.pkg_name %} package {{ e.pkg_name }}{% endif %} {%- if not (e.namespace or e.repo or e.pkg_name) %} anywhere{% endif %} {{ e.reason }} {{ e.owner }} {%- if e.state == "revoked" %}revoked {%- elif e.state == "expired" %}{{ row.days }} {%- else %}{{ e.expires.isoformat() }} {{ row.days }}{% endif -%} {%- if e.state != "active" %}— {%- elif e.covers is none %}no run yet {%- elif e.covers == 0 %}covers nothing {%- else %}covers {{ e.covers }} {{ e.covers | plural("finding") }} in run {{ run.number }}{% endif -%} {%- if e.state != "revoked" and can_write(request) %}
{%- endif %}

{{ rows | length }} {{ rows | length | plural("entry", "entries") }}

{% endif %} {% endblock %}