{% if vulns %} {% set crit = [] %}{% set high = [] %}{% set med = [] %}{% set low = [] %} {% for v in vulns %} {% if not v.fixed_in_branch %} {% 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 %} {% endif %} {% endfor %}
| Repo | Severity | Name | Source | Location | State | Mitigation |
|---|---|---|---|---|---|---|
{{ v.repo_name }} |
{{ v.severity }} |
{{ v.name }}
{% if v.fixed_in_branch %} fixed in branch{% endif %} |
{{ 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 %} |
No vulnerabilities{% if filter and filter != "all" %} matching filter{% endif %}.
{% endif %}