{% if vulns %} {% set crit = [] %}{% set high = [] %}{% set med = [] %}{% set low = [] %} {% for v in vulns %} {% if v.branch_status != "fixed" and not v.report_stale %} {% 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.branch_status == "fixed" %} fixed in branch{% endif %} {% if v.branch_status == "outdated_branch" %} run branch pipeline{% endif %} {% if v.branch_status == "outdated_default" %} run default pipeline{% endif %} {% if v.branch_status == "introduced" %} introduced in branch{% endif %} {% if v.report_stale %} stale report{% 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 %}