From bd153678836326338dee4a1b438704cfebe8fa5c Mon Sep 17 00:00:00 2001 From: JuanjiJG Date: Mon, 8 Oct 2018 12:19:38 +0200 Subject: [PATCH] Implement separate template for Agents' Active response configuration --- .../active-response/active-response.html | 12 -- .../agents-active-response.html | 131 ++++++++++++++++++ .../agents-active-response.jade | 4 + .../configuration/agent-configuration.jade | 2 +- .../management/configuration/welcome.html | 12 +- 5 files changed, 145 insertions(+), 16 deletions(-) create mode 100644 public/templates/management/configuration/active-response/agents-active-response.html create mode 100644 public/templates/management/configuration/active-response/agents-active-response.jade diff --git a/public/templates/management/configuration/active-response/active-response.html b/public/templates/management/configuration/active-response/active-response.html index 316eb9635..58851d31f 100644 --- a/public/templates/management/configuration/active-response/active-response.html +++ b/public/templates/management/configuration/active-response/active-response.html @@ -81,18 +81,6 @@ label="Timeout (in seconds) before reverting" value="currentConfig['analysis-active_response']['active-response'][selectedItem].timeout"> - - - - - - diff --git a/public/templates/management/configuration/active-response/agents-active-response.html b/public/templates/management/configuration/active-response/agents-active-response.html new file mode 100644 index 000000000..3ec5d523f --- /dev/null +++ b/public/templates/management/configuration/active-response/agents-active-response.html @@ -0,0 +1,131 @@ + +
+ + + + + + + +
+ + + + +
+
+ Active response settings +
+ Find here all the Active response settings for this agent +
+
+ + JSON +  ·  + XML +
+ + + +
+ + + + + + + + + + +
+ + +
+
+ + + + + +
+
+ JSON viewer +
+ View this configuration in raw JSON format +
+
+ + JSON +  ·  + XML +
+ + + +
+
+
+ +
+
+ + + + + +
+
+ XML viewer +
+ View this configuration in raw XML format +
+
+ + JSON +  ·  + XML +
+ + + +
+
{{ XMLContent }}
+
+ +
+
+ + +
+ + + + + + More info about this section + Active response documentation + Active response reference + + + + +
+ diff --git a/public/templates/management/configuration/active-response/agents-active-response.jade b/public/templates/management/configuration/active-response/agents-active-response.jade new file mode 100644 index 000000000..d63ca5540 --- /dev/null +++ b/public/templates/management/configuration/active-response/agents-active-response.jade @@ -0,0 +1,4 @@ +include ./active-response.head +include ./agents-active-response.html +include ./commands.html +include ../../../footer.foot diff --git a/public/templates/management/configuration/agent-configuration.jade b/public/templates/management/configuration/agent-configuration.jade index 312d5e777..2bd35ee52 100644 --- a/public/templates/management/configuration/agent-configuration.jade +++ b/public/templates/management/configuration/agent-configuration.jade @@ -20,7 +20,7 @@ include ./cis-cat/cis-cat.jade //- include ./vulnerabilities/vulnerabilities.jade include ./osquery/osquery.html include ./inventory/inventory.html -include ./active-response/active-response.jade +include ./active-response/agents-active-response.jade include ./wazuh-commands/wazuh-commands.html include ./integrity-monitoring/integrity-monitoring.jade diff --git a/public/templates/management/configuration/welcome.html b/public/templates/management/configuration/welcome.html index 60ae7684f..07f0521bb 100644 --- a/public/templates/management/configuration/welcome.html +++ b/public/templates/management/configuration/welcome.html @@ -6,9 +6,9 @@ Configuration SYNCHRONIZED NOT SYNCHRONIZED - + - Configuration + Configuration Check your Wazuh cluster configuration @@ -171,12 +171,18 @@

Gather relevant information about your system OS, hardware, packages, etc.

- +

Active threath addressing by inmmediate response

+ +
+ +

Active threath addressing by inmmediate response

+
+