diff --git a/dashboard/templates/dashboard/index.html b/dashboard/templates/dashboard/index.html index c6ce9dda..3017eab6 100644 --- a/dashboard/templates/dashboard/index.html +++ b/dashboard/templates/dashboard/index.html @@ -21,280 +21,251 @@ Dashboard {% block main_content %}
-
-
-
-
-
- +
+
+
+
Statistics
+
+
+ +
+
+

Total Targets

+

{{domain_count|intcomma}}

-
{{domain_count|intcomma}} Targets
+
+
+
+

View all targets
-
-
-
+ + +
-
-
+
+
+ {% if info_count > 0 or low_count > 0 or medium_count > 0 or high_count > 0 or critical_count > 0 %} +
+
-
- -
-
{{subdomain_count|intcomma}} Subdomains
- Alive Subdomains: {{alive_count|intcomma}}
- View all subdomains -
-
-
-
+
+
+
Vulnerability Scan Summary
+
+
-
-
-
-
-
- +
+
+
+
Vulnerability Breakdown by Severity
+
-
{{endpoint_count|intcomma}} Endpoints
- Alive endpoints: {{endpoint_alive_count|intcomma}}
- View all endpoints -
-
-
-
-
-
-
-
-
-
-
-
- -
-
{{total_vul_count|intcomma}} Vulnerabilities
- {{critical_count}} Critical, {{high_count}} High
- View all vulnerabilities -
-
-
-
-
-
-
-
-
-
-
-
- -
-
{{scan_count|intcomma}} Scans Performed
- Currently Scanning {{currently_scanning.count}}
- View all scan history -
-
-
-
-
-
-
-
-
-
- {% if info_count > 0 or low_count > 0 or medium_count > 0 or high_count > 0 or critical_count > 0 %} -
-
-
-
-
-
Vulnerability Scan Summary
-
-
- View all vulnerabilities +
+
Most Vulnerable Targets
+
+ + + + + + + {% for item in most_vulnerable_target %} + + + + + {% empty %} + Not enough data. + {% endfor %} + +
Target 
{{item.domain_name}} +
+
+
+
-
-
-
-
-
Vulnerability Breakdown by Severity
-
-
-
-
Most Vulnerable Targets
-
- +
+
Most Common Vulnerabilities
+
+
+ - - + + + - - {% for item in most_vulnerable_target %} - - - - - {% empty %} - Not enough data. - {% endfor %} - -
Target Vulnerability NameCountSeverity
{{item.domain_name}} -
-
-
-
-
-
-
-
Most Common Vulnerabilities
-
- - - - - - - - {% for item in most_common_vulnerability %} - - - - - - {% empty %} - Not enough data - {% endfor %} - -
Vulnerability NameCountSeverity
{{item.name}} - {{item.count}} - -
- {% if item.severity == 0 %} - Info - {% elif item.severity == 1 %} - Low - {% elif item.severity == 2 %} - Medium - {% elif item.severity == 3 %} - High - {% elif item.severity == 4 %} - Critical - {% endif %} -
-
- *Informational vulnerabilities are ignored. -
+ {% for item in most_common_vulnerability %} + + {{item.name}} + + {{item.count}} + + +
+ {% if item.severity == 0 %} + Info + {% elif item.severity == 1 %} + Low + {% elif item.severity == 2 %} + Medium + {% elif item.severity == 3 %} + High + {% elif item.severity == 4 %} + Critical + {% endif %} +
+ + + {% empty %} + Not enough data + {% endfor %} + + + *Informational vulnerabilities are ignored.
- {% endif %} -
-
-
-
-
-
Activity Feed
-
-
-
-
- {% for item in activity_feed %} -
-
-
-
-

{{item.title}} {% if item.status == 2 %} {% if item.title != 'Scan Completed' %} completed {% endif %}{% elif item.status == 1 %} initiated {% elif item.status == 0 %} {% if item.title != 'Scan aborted' %} aborted {% endif %} {% endif %}for {{item.scan_of.domain_name.domain_name}}

-

{{item.time|naturaltime}}

-
-
- {% empty %} - Feed will be automatically generated while the scan is running. - {% endfor %} -
-
-
-
-
-
-
+ {% endif %} +
+
-
Vulnerability Feed
+
Activity Feed
- - {% for item in vulnerability_feed %} + {% for item in activity_feed %}
-

- Discovered {{item.name}} on -
- {{item.host}} -
-

- {% if item.severity == 0 %} - Info - {% elif item.severity == 1 %} - Low - {% elif item.severity == 2 %} - Medium - {% elif item.severity == 3 %} - High - {% elif item.severity == 4 %} - critical - {% endif %} -

{{item.discovered_date|naturaltime}}

+

{{item.title}} {% if item.status == 2 %} {% if item.title != 'Scan Completed' %} completed {% endif %}{% elif item.status == 1 %} initiated {% elif item.status == 0 %} {% if item.title != 'Scan aborted' %} aborted {% endif %} {% endif %}for {{item.scan_of.domain_name.domain_name}}

+

{{item.time|naturaltime}}

{% empty %} Feed will be automatically generated while the scan is running. {% endfor %} -
-
- +
+
+
+
+
Vulnerability Feed
+
+
+
+
+ + {% for item in vulnerability_feed %} +
+
+
+
+

+ Discovered {{item.name}} on +
+ {{item.host}} +
+

+ {% if item.severity == 0 %} + Info + {% elif item.severity == 1 %} + Low + {% elif item.severity == 2 %} + Medium + {% elif item.severity == 3 %} + High + {% elif item.severity == 4 %} + critical + {% endif %} +

{{item.discovered_date|naturaltime}}

+
+
+ {% empty %} + Feed will be automatically generated while the scan is running. + {% endfor %} + +
+
+ +
+ +
+
+
+
@@ -586,7 +557,7 @@ var target_chart_option = { chart: { id: 'sparkline1', type: 'area', - height: 70, + height: 58, sparkline: { enabled: true }, @@ -595,6 +566,9 @@ var target_chart_option = { curve: 'smooth', width: 2, }, + markers: { + size: 0 + }, series: [{ name: 'Target added', data: [{{targets_in_last_week.0}},{{targets_in_last_week.1}},{{targets_in_last_week.2}},{{targets_in_last_week.3}},{{targets_in_last_week.4}},{{targets_in_last_week.5}},{{targets_in_last_week.6}}] @@ -603,11 +577,18 @@ var target_chart_option = { yaxis: { min: 0 }, - colors: ['#1b55e2'], + grid: { + padding: { + top: 0, + bottom: 0, + left: 0 + } + }, + colors: ['#2196f3'], tooltip: { x: { show: true, - } + }, }, fill: fill_options, } @@ -619,7 +600,7 @@ var subdomains_chart_options = { chart: { id: 'sparkline1', type: 'area', - height: 70, + height: 58, sparkline: { enabled: true }, @@ -628,6 +609,9 @@ var subdomains_chart_options = { curve: 'smooth', width: 2, }, + markers: { + size: 0 + }, series: [{ name: 'Subdomains Discovered', data: [{{subdomains_in_last_week.0}},{{subdomains_in_last_week.1}},{{subdomains_in_last_week.2}},{{subdomains_in_last_week.3}},{{subdomains_in_last_week.4}},{{subdomains_in_last_week.5}},{{subdomains_in_last_week.6}}] @@ -636,6 +620,13 @@ var subdomains_chart_options = { yaxis: { min: 0 }, + grid: { + padding: { + top: 0, + bottom: 0, + left: 0 + } + }, colors: ['#FF8F00'], tooltip: { x: { @@ -652,7 +643,7 @@ var vuln_chart_options = { chart: { id: 'sparkline1', type: 'area', - height: 70, + height: 58, sparkline: { enabled: true }, @@ -661,6 +652,16 @@ var vuln_chart_options = { curve: 'smooth', width: 2, }, + markers: { + size: 0 + }, + grid: { + padding: { + top: 0, + bottom: 0, + left: 0 + } + }, series: [{ name: 'Vulnerabilities Discovered', data: [{{vulns_in_last_week.0}},{{vulns_in_last_week.1}},{{vulns_in_last_week.2}},{{vulns_in_last_week.3}},{{vulns_in_last_week.4}},{{vulns_in_last_week.5}},{{vulns_in_last_week.6}}] @@ -718,15 +719,28 @@ var endpoint_chart_options = { chart: { id: 'sparkline1', type: 'area', - height: 70, + height: 58, sparkline: { enabled: true }, }, + markers: { + size: 0 + }, stroke: { curve: 'smooth', width: 2, }, + grid: { + padding: { + top: 0, + bottom: 0, + left: 0 + } + }, + markers: { + size: 0 + }, series: [{ name: 'Endpoints Discovered', data: [{{endpoints_in_last_week.0}},{{endpoints_in_last_week.1}},{{endpoints_in_last_week.2}},{{endpoints_in_last_week.3}},{{endpoints_in_last_week.4}},{{endpoints_in_last_week.5}},{{endpoints_in_last_week.6}}] diff --git a/static/assets/css/widgets/modules-widgets.css b/static/assets/css/widgets/modules-widgets.css index 62aa27e6..aba0d100 100644 --- a/static/assets/css/widgets/modules-widgets.css +++ b/static/assets/css/widgets/modules-widgets.css @@ -1,22 +1,3 @@ -/* - =============================== - @Import Function - =============================== -*/ -/* - =============================== - @Import Mixins - =============================== -*/ -/* - =============================== - /|\ /|\ - /|\ /|\ - /|\ Analytics Section /|\ - /|\ /|\ - /|\ /|\ - =============================== -*/ .layout-spacing { padding-bottom: 25px; } @@ -2230,7 +2211,7 @@ height: auto; } /* =========================== - Wallet + Wallet =========================== */ .widget-account-invoice-three .widget-heading {