{% load navigation_tags %} {% load display_tags %} {% load get_note_status %} {% load authorization_tags %} {% load static %} {% load i18n %} {% block findings_list %}

{% blocktrans %}{{ filter_name }} Findings{% endblocktrans %}

{% include "dojo/filter_snippet.html" with form=filtered.form %}
{% if findings %}
{% include "dojo/paging_snippet.html" with page=findings page_size=True %}
{% if not product_tab or product_tab and product_tab.product|has_object_permission:"edit" %} {% endif %}
{% block header %} {% if not product_tab or product_tab and product_tab.product|has_object_permission:"edit" %} {% endif %} {% if system_settings.enable_finding_sla %} {% endif %} {% if system_settings.enable_jira %} {% if jira_project and product_tab or not product_tab %} {% endif %} {% endif %} {% if 'is_finding_groups_enabled'|system_setting_enabled %} {% endif %} {% if show_product_column and product_tab is None %} {% endif %} {% if filter_name != 'Closed' %} {% endif %} {% endblock header %} {% for finding in findings %} {% block body %} {% if not product_tab or product_tab and product_tab.product|has_object_permission:"edit" %} {% endif %} {% if filter_name == 'Closed' %} {% if system_settings.enable_finding_sla %} {% endif %} {% if system_settings.enable_jira %} {% if jira_project and product_tab or not product_tab %} {% endif %} {% endif %} {% if 'is_finding_groups_enabled'|system_setting_enabled %} {% endif %} {% if show_product_column and product_tab is None %} {% endif %} {% if filter_name != 'Closed' %} {% endif %} {% endblock body %} {% endfor %}
{% dojo_sort request 'Severity' 'numerical_severity' %} {% comment %} The display field is translated in the function. No need to translate here as well{% endcomment %} {% dojo_sort request 'Name' 'title' %} {% dojo_sort request 'CWE' 'cwe' %} {% trans "Vulnerability Id" %} {% trans "EPSS Score" %} {% trans "EPSS Percentile" %} {% trans "Known Exploited" %} {% trans "Used in Ransomware" %} {% trans "Date Added to KEV" %} {% if filter_name == 'Closed' %} {% comment %} The display field is translated in the function. No need to translate here as well{% endcomment %} {% dojo_sort request 'Closed Date' 'mitigated' %} {% else %} {% comment %} The display field is translated in the function. No need to translate here as well{% endcomment %} {% dojo_sort request 'Date' 'date' %} {% endif %} {% dojo_sort request 'Age' 'date' %} {% dojo_sort request 'SLA' 'sla_age_days' %} {% trans "Reporter" %} {% trans "Found By" %} {% trans "Status" %} {% trans "Jira" %} {% trans "JIRA Age" %} {% trans "JIRA Change" %} {% trans "Group" %} {% comment %} The display field is translated in the function. No need to translate here as well{% endcomment %} {% dojo_sort request labels.ASSET_LABEL 'test__engagement__product__name' %} {% dojo_sort request 'Service' 'service' %} {% dojo_sort request 'Planned Remediation' 'planned_remediation_date' %} {% dojo_sort request 'Planned remediation version' 'planned_remediation_version' %} {% trans "Reviewers" %}
{{ finding.severity_display }} {% if finding.title %} {{ finding.title|truncatechars:60 }} {% else %} {{ finding.id }} {% endif %} {% if finding.file_path %} {% endif %} {% if V3_FEATURE_LOCATIONS %} {% if finding.locations.exists %} {% else %} ✕ {{ ref.location }}
{% endif %} {% endfor %} ">
{% endif %} {% else %} {% comment %} TODO: Delete this after the move to Locations {% endcomment %} {% if finding.endpoints.exists %} {% endif %} {% endif %} {% if finding.component_name %} {% endif %} {% with visible_notes=finding.notes.all|visible_to:request.user %} {% if visible_notes %} ({{ visible_notes|length }}) {% endif %} {% endwith %} {% include "dojo/snippets/tags.html" with tags=finding.tags.all %}
{% if finding.cwe > 0 %} {{ finding.cwe|default:"" }} {% endif %} {% with finding|first_vulnerability_id as first_vulnerability_id %} {% if first_vulnerability_id %} {% if first_vulnerability_id|has_vulnerability_url %} {{ first_vulnerability_id }} {% else %} {{ first_vulnerability_id }} {% endif %} {% endif %} {% endwith %} {{ finding.epss_score|format_epss }} {{ finding.epss_percentile|format_epss }} {{ finding.known_exploited|yesno|capfirst }} {{ finding.ransomware_used|yesno|capfirst }} {{ finding.kev_date|date }} {{ finding.mitigated|date }} {% else %} {{ finding.date }} {% endif %} {{ finding.age }} {{ finding|finding_sla }} {% if finding.reporter.get_full_name and finding.reporter.get_full_name.strip %} {{ finding.reporter.get_full_name }} {% else %} {{ finding.reporter }} {% endif %} {% if finding.found_by %} {{ finding.found_by.all|join:", " }} {% else %} {{ finding.test.test_type }} {% endif %} {{ finding|finding_display_status|safe }} {{ finding|import_history }} {% if finding.has_jira_group_issue %} {{ finding.finding_group | jira_key }} {% elif finding.has_jira_issue %} {{ finding | jira_key }} {% endif %} {% if finding.has_jira_group_issue %} {{ finding.finding_group | jira_creation | timesince }} {% else %} {{ finding | jira_creation | timesince }} {% endif %} {% if finding.has_jira_group_issue %} {{ finding.finding_group | jira_change | timesince }} {% else %} {{ finding | jira_change | timesince }} {% endif %} {% if finding.has_finding_group %} {{ finding.finding_group.name }} {% endif %} {{ finding.test.engagement.product }} {% if finding.service %}{{ finding.service }}{% endif %} {% if finding.planned_remediation_date %}{{ finding.planned_remediation_date }}{% endif %} {% if finding.planned_remediation_version %}{{ finding.planned_remediation_version }}{% endif %} {% if finding.reviewers %} {% for reviewer in finding.reviewers.all %} {{reviewer.get_full_name}} {% if not forloop.last %}
{% endif %} {% endfor %} {% endif %}
{% include "dojo/paging_snippet.html" with page=findings page_size=True %}
{% else %}

{% trans "No findings found." %}

{% endif %}
{% endblock %} {% block postscript %} {% include "dojo/filter_js_snippet.html" %} {% endblock %}