{% load i18n %} {% load display_tags %} {% load authorization_tags %} {% load static %} {% if destination == "Report" %} {% if finding.has_endpoints%} {% with endpoints=finding.active_endpoints %} {% if endpoints %}
| Endpoint | Status | Date Discovered | Last Modified | {% for endpoint in endpoints %}||||
|---|---|---|---|---|---|---|---|
| {{ endpoint.location }}{% if endpoint.is_broken %} 🚩{% endif %} | {{ endpoint.status }} | {{ endpoint.created|date }} | {{ endpoint.audit_time|date}} | {% else %} {% comment %} TODO: Delete this after the move to Locations {% endcomment %}{{ endpoint }}{% if endpoint.endpoint.is_broken %} 🚩{% endif %} | {{ endpoint.status }} | {{ endpoint.date|date }} | {{ endpoint.last_modified|date}} | {% endif %}
| Endpoint | Status | {% if V3_FEATURE_LOCATIONS %}Auditor | Audit Time | {% else %} {% comment %} TODO: Delete this after the move to Locations {% endcomment %}Mitigator | Mitigation Time | {% endif %} {% for endpoint in endpoints %}||
|---|---|---|---|---|---|---|---|
| {{ endpoint.location }}{% if endpoint.is_broken %} 🚩{% endif %} | {{ endpoint.status }} | {{ endpoint.auditor }} | {{ endpoint.audit_time|date }} | {% else %} {% comment %} TODO: Delete this after the move to Locations {% endcomment %}{{ endpoint }}{% if endpoint.endpoint.is_broken %} 🚩{% endif %} | {{ endpoint.status }} | {{ endpoint.mitigated_by }} | {{ endpoint.mitigated_time|date }} | {% endif %}
| Service | {% endif %} {% if finding.component_name %}Component | {% endif %} {% if finding.component_version %}Version | {% endif %} {% if finding.line > 0 %}Line Number | {% endif %}
|---|---|---|---|
| {{ finding.service }} | {% endif %} {% if finding.component_name %}{{ finding.component_name }} | {% endif %} {% if finding.component_version %}{{ finding.component_version }} | {% endif %} {% if finding.line > 0 %}{{ finding.line }} | {% endif %}
| File Path |
|---|
| {{ finding.file_path }} |
| Select All | {% endif %}Endpoint | Status | Date Discovered | Last Modified | {% for endpoint in endpoints %}||||
|---|---|---|---|---|---|---|---|---|
| {% endif %} {% if V3_FEATURE_LOCATIONS %} | {{ endpoint.location|url_shortener }}{% if endpoint.is_broken %} 🚩{% endif %} {% include "dojo/snippets/tags.html" with tags=endpoint.location.readable_tags %} | {{ endpoint.status }} | {{ endpoint.created|date }} | {{ endpoint.audit_time|date}} | {% else %} {% comment %} TODO: Delete this after the move to Locations {% endcomment %}{{ endpoint.endpoint|url_shortener }}{% if endpoint.endpoint.is_broken %} 🚩{% endif %} {% include "dojo/snippets/tags.html" with tags=endpoint.endpoint.tags.all %} | {{ endpoint.status }} | {{ endpoint.date|date }} | {{ endpoint.last_modified|date}} | {% endif %}
| Select All | {% endif %}Endpoint | Status | {% if V3_FEATURE_LOCATIONS %}Auditor | Audit Time | {% else %} {% comment %} TODO: Delete this after the move to Locations {% endcomment %}Mitigator | Mitigation Time | {% endif %} {% for endpoint in endpoints %}||
|---|---|---|---|---|---|---|---|---|
| {% endif %} {% if V3_FEATURE_LOCATIONS %} | {{ endpoint.location|url_shortener }}{% if endpoint.is_broken %} 🚩{% endif %} {% include "dojo/snippets/tags.html" with tags=endpoint.location.readable_tags %} | {{ endpoint.get_status_display }} | {{ endpoint.auditor }} | {{ endpoint.audit_time|date }} | {% else %} {% comment %} TODO: Delete this after the move to Locations {% endcomment %}{{ endpoint.endpoint|url_shortener }}{% if endpoint.endpoint.is_broken %} 🚩{% endif %} {% include "dojo/snippets/tags.html" with tags=endpoint.endpoint.tags.all %} | {{ endpoint.status }} | {{ endpoint.mitigated_by }} | {{ endpoint.mitigated_time|date }} | {% endif %}