{% extends "base2.html" %}
{% block title %}/ Targets{% endblock %}
{% block target_list_menu_active %} class="active"{% endblock %}
{% block content %}
{% load bootstrap3 %}
{% if target_info %}
Service Name: | {{ target_info.name }} |
{% if target_info.abc_id %}ABC: | {{ target_info.abc_id }} |
{% endif %}
StarTrack: | {{ target_info.st_queue }} |
{% if target_info.comment %}
Comment: | {{ target_info.comment }} |
{% endif %}
{% if target_info.users.all %}
Contacts: |
{% for item in target_info.users.all %}
{{ item }}{% if forloop.last %}{% else %}, {% endif %}
{% endfor %}
|
Notify on scan start: | {{ target_info.notify_on_scan }} |
{% endif %}
Date | URI | Status | Vulnerable |
{% for scan in target_scans %}
{{ scan.start }} |
{{ scan.scan_url }} |
{{ scan.statusline }} |
{{ scan.has_sensitive_vulns }} |
{% endfor %}
{% else %}
{% if object_list %}
Name | URL | Last scan | ST Queue | Prodution | ABC | Comment |
{% for target in object_list %}
{% if target.last_scan_obj %}
{{ target.name }} |
{{ target.url }} |
{{ target.last_scan_obj.finish|date:"d.m.Y" }} |
{% if target.st_queue %}{{ target.st_queue }}{% endif %} |
{{ target.is_prod }} |
{% if target.abc_id %}View{% endif %} |
{{ target.comment|default:"" }} |
{% else %}
{% endif %}
{% endfor %}
{% else %}
No Targets found.
{% endif %}
{% endif %}
{% endblock %}