diff --git a/events/vulnerability_found.html b/events/vulnerability_found.html index fd75df641..89cfd28a7 100644 --- a/events/vulnerability_found.html +++ b/events/vulnerability_found.html @@ -1,4 +1,8 @@ +{% if event_data.vulnerabilities %} +{{ event_data.vulnerabilities|length }} vulnerabilities were detected in tags +{% else %} A {{ event_data.vulnerability.priority }} vulnerability ({{ 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 }} + repository {{ event_data.repository | repository_reference }} \ No newline at end of file