From f23f2543c2fa3065057781318deef198278b78c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Thu, 16 Nov 2017 18:30:08 +0100 Subject: [PATCH] Replacing all visualizations in the agents tab --- public/templates/agents-audit.html | 308 ++++++++++++-------------- public/templates/agents-fim.html | 165 +++++++------- public/templates/agents-oscap.html | 238 ++++++++++---------- public/templates/agents-overview.html | 134 ++++++----- public/templates/agents-pci.html | 133 ++++++----- public/templates/agents-pm.html | 164 +++++++------- 6 files changed, 591 insertions(+), 551 deletions(-) diff --git a/public/templates/agents-audit.html b/public/templates/agents-audit.html index 2e17f1433..f10228516 100644 --- a/public/templates/agents-audit.html +++ b/public/templates/agents-audit.html @@ -1,10 +1,22 @@ - + + + - -
+ +
+ +
+
+ +
+
+
+ + +
- + No results for selected time interval @@ -15,189 +27,157 @@ - - + -
+
- - - - - +
+ + + + - - - - + + + + - - - - + + + + - - - - + + + + - - + + +
Latest alert
- +
+
+
+ +
+ + + + + Groups + + + + + + + + + + Directories + + + + + - + + + + Files + + + + + + +
- - - - - Groups - - - - - - - - - - - Directories - - - - - - - +
+ + + + Alerts over time + + + + + + +
- - - - Files - - - - - - - -
+
+ + + + File read access + + + + + + - - - - - Alerts over time - - - - - - - - + + + + File write access + + + + + + + + + + Created files + + + + + + - - + + + + Removed files + + + + + + +
- - - - File read access - - - - - - - +
+ + + + Commands + + + + + + - - - - File write access - - - - - - - - - - - - - - Commands - - - - - - - - - - - - - - - Created files - - - - - - - - - - - - Removed files - - - - - - - - - - - - - + Last alerts - - - + + - +
- + \ No newline at end of file diff --git a/public/templates/agents-fim.html b/public/templates/agents-fim.html index 41042ae12..7254b1b59 100644 --- a/public/templates/agents-fim.html +++ b/public/templates/agents-fim.html @@ -1,11 +1,31 @@ - + + + - -
+ +
+ + +
+ + + +
+ + +
+
+
+ + + +
- + No results for selected time interval @@ -16,113 +36,104 @@ + dis-filter="rule.groups:syscheck " infinite-scroll="true"> -
- - - - - - Users - - - - - - - - - - - Groups - - - - - - - - - - - Permissions - - - - - - - +
- - - - +
+ + + + + Users + + + + + + + + + + Groups + + + + + + + + + + Permissions + + + + + + +
+ +
+ + + Events - - - - - - + + + +
+ +
+ Files added - - - + + - - + + Files modified - - - + + - - + + Files deleted - - - + + - -
- +
+ +
+ Alerts summary - - + - -
+
-
+ \ No newline at end of file diff --git a/public/templates/agents-oscap.html b/public/templates/agents-oscap.html index 0754439cd..3e1e6e56c 100644 --- a/public/templates/agents-oscap.html +++ b/public/templates/agents-oscap.html @@ -1,11 +1,31 @@ - + + + - -
+ +
+ + +
+ + + +
+ + +
+
+
+ + + +
- + No results for selected time interval @@ -17,160 +37,148 @@ + dis-filter="rule.groups:oscap" infinite-scroll="true"> -
- - - - - - - - - - - - - - -
Last score
- -
-
- - -
Last scan profile
- -
-
-
+
+
+ + + + + + + + + + + + + +
Last score
+ +
+
+ + +
Last scan profile
+ +
+
+
- - +
+ + Scans - - - + + - + Profiles - - - + + - + +
+
+ + Content - - - + + - + Severity - - - + + - - - - + +
+
+ + Daily scans evolution - - - + + + + + +
+
+ + + + + Top 10 - Alerts + + + + - + + + + Top 10 - High risk alerts + + + + + + - - - - - Top 10 - Alerts - - - - - - - - - - - - Top 10 - High risk alerts - - - - - - - - - - - - - - - -
Top alert
+
+
+
+ + +
Top alert
+
- - - - - - - - Last alerts - - - - - - - - +
+
+ + + + + Last alerts + + + + + + + +
- + \ No newline at end of file diff --git a/public/templates/agents-overview.html b/public/templates/agents-overview.html index c5aab4c57..5068aa14b 100644 --- a/public/templates/agents-overview.html +++ b/public/templates/agents-overview.html @@ -1,22 +1,45 @@ - + + + + - -
-
+ +
+ + +
+ + + +
+ + +
+
+
+ + + +
+ + +
- +
{{agentInfo.name}}
Name
- +
{{agentInfo.ip}}
IP Address
- +
{{ agentInfo.version | limitTo: 12 }}{{agentInfo.version.length > 12 ? '...' : ''}}
{{ agentInfo.version }} @@ -48,9 +71,9 @@
{{agentInfo.syscheck.end}}
- Start time: {{ agentInfo.syscheck.start }}
- End time: {{ agentInfo.syscheck.end }}
- Duration time: {{ agentInfo.syscheck.duration }} minutes + Start time: {{ agentInfo.syscheck.start }} +
End time: {{ agentInfo.syscheck.end }} +
Duration time: {{ agentInfo.syscheck.duration }} minutes
Last syscheck scan
@@ -59,9 +82,9 @@
{{agentInfo.rootcheck.end}}
- Start time: {{ agentInfo.rootcheck.start }}
- End time: {{ agentInfo.rootcheck.end }}
- Duration time: {{ agentInfo.rootcheck.duration }} minutes + Start time: {{ agentInfo.rootcheck.start }} +
End time: {{ agentInfo.rootcheck.end }} +
Duration time: {{ agentInfo.rootcheck.duration }} minutes
Last rootcheck scan
@@ -70,7 +93,7 @@
- + No results for selected time interval @@ -79,104 +102,95 @@ - + + infinite-scroll="true"> -
- - +
+ +
+ Top 5 alerts - - - + + - + Top 5 groups - - - + + - +
+ +
+ Top 5 PCI DSS Requirements - - - + + - - - + Alert level evolution - - - + + - - +
+
+ Alerts - - - + + - - - +
+ + +
+ Alerts summary - - - + + - + Groups summary - - - + + - +
-
+ \ No newline at end of file diff --git a/public/templates/agents-pci.html b/public/templates/agents-pci.html index a8a496e1c..0c3606c3e 100644 --- a/public/templates/agents-pci.html +++ b/public/templates/agents-pci.html @@ -1,11 +1,32 @@ - + + + - -
+ +
+ + +
+ + + +
+ + +
+
+
+ + + +
+ - + No results for selected time interval @@ -17,67 +38,61 @@ + dis-filter="_exists_:rule.pci_dss " infinite-scroll="true"> -
- +
+ + - - - - -

PCI DSS Requirement: {{tab.title}}

-
-
-
-
-
-
+ + + + +

PCI DSS Requirement: {{tab.title}}

+
+
+
+
+
+ - - - - - Requirements - - - - - - - - - - - Groups - - - - - - - - +
+ + + + Requirements + + + + + + + + + + Groups + + + + + + +
- - - - - Last alerts - - - - - - - - +
+ + + + Last alerts + + + + + + +
\ No newline at end of file diff --git a/public/templates/agents-pm.html b/public/templates/agents-pm.html index f579e754f..e5fba652f 100644 --- a/public/templates/agents-pm.html +++ b/public/templates/agents-pm.html @@ -1,82 +1,94 @@ - - - - -
- - - - - - No results for selected time interval - - - + - - - - - + -
- - - - - - Alerts over time - - - - - - - - - - - Top 5 CIS Requirements - - - - - - - - - - - Top 5 PCI DSS Requirements - - - - - - - - -
- - - - Alerts summary - - - - + + +
+ + +
+ - + +
+ + +
+
+
-
+ +
- + + + + + + No results for selected time interval + + + + + + + + + + + +
+ + +
+ + + + Alerts over time + + + + + + + + + + Top 5 CIS Requirements + + + + + + + + + + Top 5 PCI DSS Requirements + + + + + + +
+ +
+ + + + Alerts summary + + + + + + +
+
+ \ No newline at end of file