This repository has been archived on 2020-03-24. You can view files and clone it, but cannot push or open issues or pull requests.
quay/events/vulnerability_found.html

8 lines
629 B
HTML
Raw Normal View History

2019-11-12 16:09:47 +00:00
{% if event_data.vulnerabilities %}
{{ event_data.vulnerabilities|length }} vulnerabilities were detected in tags
{% else %}
A <a href="{{ event_data.vulnerability.link }}">{{ event_data.vulnerability.priority }} vulnerability</a> ({{ event_data.vulnerability.id }}) was detected in tags
{% endif %}
{{ 'tags' | icon_image }}
{% for tag in event_data.tags[0:3] %}{%if loop.index > 1 %}, {% endif %}{{ (event_data.repository, tag) | repository_tag_reference }}{% endfor %} {% if event_data.tags|length > 3 %}(and {{ event_data.tags|length - 3 }} more) {% endif %} in
repository {{ event_data.repository | repository_reference }}