{% load display_tags %} {% load humanize %} {% load get_endpoint_status %} {% load get_note_status %} {% load get_notetype_availability %} {% load event_tags %} {% if endpoints %}

== Endpoints ==

{% for endpoint in endpoints %}

=== {{ endpoint }} with {{ endpoint.active_findings|length|apnumber }} active findings ===

{% for find in endpoint.active_findings %}
==== Finding {{ find.id }}: {{ find.title | nice_title }} {% if find.mitigated %} Mitigated on: {{ find.mitigated }} {% endif %} {% if find.tags %} [ {% for tag in find.tags.all %} {{ tag }} {% endfor %} ] {% endif %} ====

==== Product: ====
{{ find.test.engagement.product.name }}


==== Status: ====
{{ find.status }}

==== CVSSv3: ====
{{ find.cvssv3|linebreaksbr }}


==== Severity: ====
{{ find.severity }} ({{ find.numerical_severity }})

==== Description / Exploit: ====
{{ find.description|linebreaksbr }}


==== Impact: ====
{{ find.impact|linebreaksasciidocbr }}


{% with endpoints=find|get_vulnerable_endpoints %} {% if endpoints %}

==== Vulnerable Endpoints: ====
{% for endpoint in endpoints %} {{ endpoint }} +
{% endfor %}


{% endif %} {% endwith %} {% with endpoints=find|get_mitigated_endpoints %} {% if endpoints %}

==== Remediated Endpoints: ====
{% for endpoint in endpoints %} {{ endpoint }} +
{% endfor %}


{% endif %} {% endwith %}

==== Suggested Mitigation: ====
{{ find.mitigation|linebreaksasciidocbr }}


==== Further References: ====
{{ find.references|linebreaksasciidocbr }}


{% if include_finding_images %}

==== Finding Images: ====
{% include "dojo/snippets/file_images.html" with size='small' obj=find format="AsciiDoc" %}


{% else %}
{% endif %}
{% if include_finding_notes %} {% with notes=find.notes.all|get_public_notes %} {% if notes.count > 0 %}

==== Finding Notes: ====
{% if notes|get_notetype_notes_count > 0 %} {% for note in notes reversed %} {{ note.author }} - {{ note.date }} - {% if note.note_type != None %}{{ note.note_type }}{% endif %} - {{ note }} +
{% endfor %} {% else %} {% for note in notes reversed %} {{ note.author }} - {{ note.date }} - {{ note }} +
{% endfor %} {% endif %}


{% endif %} {% endwith %} {% endif %} {% endfor %} {% endfor %} {% endif %}