{% load display_tags %} {% load authorization_tags %} {% load static %} {% load get_endpoint_status %} {% if destination == "Report" %} {% if finding|has_endpoints %} {% with endpoints=finding|get_vulnerable_endpoints %} {% if endpoints %}
Vulnerable Endpoints / Systems ({{ endpoints|length }})
{% for endpoint in endpoints %} {% endfor %}
Endpoint Status Date Discovered Last Modified
{{ endpoint }}{% if endpoint.is_broken %} 🚩{% endif %} {{ endpoint|endpoint_display_status:finding|safe }} {{ endpoint|endpoint_date:finding|date }} {{ endpoint|endpoint_update_time:finding|date}}
{% endif %} {% endwith %} {% with endpoints=finding|get_mitigated_endpoints %} {% if endpoints %}
Mitigated Endpoints / Systems ({{ endpoints|length }})
{% for endpoint in endpoints %} {% endfor %}
Endpoint Status Mitigation Time Mitigator
{{ endpoint }}{% if endpoint.is_broken %} 🚩{% endif %} {{ endpoint|endpoint_display_status:finding|safe }} {{ endpoint|endpoint_mitigated_time:finding|date }} {{ endpoint|endpoint_mitigator:finding|safe }}
{% endif %} {% endwith %} {% endif %} {% if finding.file_path %}
Location
{% if finding.service %} {% endif %} {% if finding.component_name %} {% endif %} {% if finding.component_version %} {% endif %} {% if finding.line > 0 %} {% endif %} {% if finding.service %} {% endif %} {% if finding.component_name %} {% endif %} {% if finding.component_version %} {% endif %} {% if finding.line > 0 %} {% endif %}
ServiceComponentVersionLine Number
{{ finding.service }}{{ finding.component_name }}{{ finding.component_version }}{{ finding.line }}
File Path
{{ finding.file_path }}
{% endif %} {% else %} {% with endpoints=finding|get_vulnerable_endpoints %} {% if endpoints %}

Vulnerable Endpoints / Systems ({{ endpoints|length }})

{% if finding|has_object_permission:"Finding_Edit" %} {% endif %} {% for endpoint in endpoints %} {% if finding|has_object_permission:"Finding_Edit" %} {% endif %} {% endfor %}
Select All
Endpoint Status Date Discovered Last Modified
{{ endpoint|url_shortener }}{% if endpoint.is_broken %} 🚩{% endif %} {% include "dojo/snippets/tags.html" with tags=endpoint.tags.all %} {{ endpoint|endpoint_display_status:finding|safe }} {{ endpoint|endpoint_date:finding|date }} {{ endpoint|endpoint_update_time:finding|date}}
{% endif %} {% endwith %} {% with endpoints=finding|get_mitigated_endpoints %} {% if endpoints %}

Mitigated Endpoints / Systems ({{ endpoints|length }})

{% if finding|has_object_permission:"Finding_Edit" %} {% endif %} {% for endpoint in endpoints %} {% if finding|has_object_permission:"Finding_Edit" %} {% endif %} {% endfor %}
Select All
Endpoint Status Mitigation Time Mitigator
{{ endpoint|url_shortener }}{% if endpoint.is_broken %} 🚩{% endif %} {% include "dojo/snippets/tags.html" with tags=endpoint.tags.all %} {{ endpoint|endpoint_display_status:finding|safe }} {{ endpoint|endpoint_mitigated_time:finding|date }} {{ endpoint|endpoint_mitigator:finding|safe }}
{% endif %} {% endwith %} {% endif %}