{% extends 'base/base.html' %} {% load static %} {% load humanize %} {% load permission_tags %} {% block title %} Scan history {% endblock title %} {% block custom_js_css_link %} {% endblock custom_js_css_link %} {% block breadcrumb_title %} {% endblock breadcrumb_title %} {% block page_title %} Quick Scan History {% endblock page_title %} {% block main_content %}
{% if user|can:'initiate_scans_subscans' %} {% endif %}
{% csrf_token %} {% for scan_history in scan_history.all %} {% endfor %}
Serial Number Serial Number Domain Name Summary Scan Engine Used Last Scan Initiated By Status Progress Action
{{ scan_history.id }} {{ scan_history.id }} {{ scan_history.domain.name }}
{% if scan_history.cfg_starting_point_path %} Path: {{scan_history.cfg_starting_point_path}} {% endif %}
{% for organization in scan_history.domain.get_organization %} {{ organization.name }} {% endfor %}
{{scan_history.get_subdomain_count}} {{scan_history.get_endpoint_count}} {{scan_history.get_vulnerability_count}} {{ scan_history.scan_type }} {{scan_history.start_scan_date|naturaltime}} {{scan_history.initiated_by.username}} {% if scan_history.scan_status == -1 %} Pending {% elif scan_history.scan_status == 0 %} Failed {% if scan_history.error_message %}

Scan Failed due to: {{scan_history.error_message}}

{% endif %} {% elif scan_history.scan_status == 1 %} In Progress {% elif scan_history.scan_status == 2 %} Successful {% elif scan_history.scan_status == 3 %} Aborted
Aborted by: {{scan_history.aborted_by}} {% else %} Unknown {% endif %}
{% if scan_history.scan_status == -1 %}
{% elif scan_history.scan_status == 0 %}
{% elif scan_history.scan_status == 1 %}
{% elif scan_history.scan_status == 2 %}
{% elif scan_history.scan_status == 3 %}
{% else %}
{% endif %}
View Results
{% endblock main_content %} {% block page_level_script %} {% endblock page_level_script %}