{% if vulns %} {% set crit = [] %}{% set high = [] %}{% set med = [] %}{% set low = [] %} {% for v in vulns %} {% if v.severity == "critical" %}{% if crit.append(1) %}{% endif %} {% elif v.severity == "high" %}{% if high.append(1) %}{% endif %} {% elif v.severity == "medium" %}{% if med.append(1) %}{% endif %} {% else %}{% if low.append(1) %}{% endif %} {% endif %} {% endfor %}
{{ vulns | length }} shown
{% if crit %}
{{ crit | length }} critical
{% endif %} {% if high %}
{{ high | length }} high
{% endif %} {% if med %}
{{ med | length }} medium
{% endif %} {% if low %}
{{ low | length }} low
{% endif %}
{% for v in vulns %} {% endfor %}
Repo Severity Name Source Location State Mitigation
{{ v.repo_name }} {{ v.severity }} {{ v.name }} {{ v.source }} {% if v.location %}{{ v.location }}{% endif %} {{ v.state }} {% if v.solution %}{{ v.solution }}{% elif v.mitigation_state %}{{ v.mitigation_state | replace("_", " ") }}{% if v.mitigation_details %} {{ v.mitigation_details }}{% endif %}{% else %}none{% endif %}
{% else %}

No vulnerabilities{% if filter and filter != "all" %} matching filter{% endif %}.

{% endif %}