diff --git a/CHANGELOG.md b/CHANGELOG.md index efc4302fa6..b9321bd525 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -41,8 +41,8 @@ All notable changes to the Wazuh app project will be documented in this file. - Updated the `pdfmake` dependency to `0.2.6` [#4985](https://github.com/wazuh/wazuh-kibana-app/pull/4985) - The button to export the app logs is now disabled when there are no results, instead of showing an error toast [#4992](https://github.com/wazuh/wazuh-kibana-app/pull/4992) - Unify the SCA check result label name [#5031](https://github.com/wazuh/wazuh-kibana-app/pull/5031) -- Updated `pdfmake, mocha and json5` dependencies [#5062](https://github.com/wazuh/wazuh-kibana-app/pull/5062) - +- Updated `mocha` dependency to `10.1.0` [#5062](https://github.com/wazuh/wazuh-kibana-app/pull/5062) +- Updated `pdfmake` dependency to `0.2.7` [#5062](https://github.com/wazuh/wazuh-kibana-app/pull/5062) ### Fixed @@ -79,6 +79,7 @@ All notable changes to the Wazuh app project will be documented in this file. - Removed custom styles from kibana 7.9.0 [#4491](https://github.com/wazuh/wazuh-kibana-app/pull/4491) - Removed the `angular-chart.js` dependency [#4985](https://github.com/wazuh/wazuh-kibana-app/pull/4985) +- Remove the `pug-loader` dependency [#5062](https://github.com/wazuh/wazuh-kibana-app/pull/5062) [#5089](https://github.com/wazuh/wazuh-kibana-app/pull/5089) ## Wazuh v4.3.10 - OpenSearch Dashboards 1.2.0 - Revision 4311 diff --git a/public/templates/agents-prev/agents-prev.head b/public/templates/agents-prev/agents-prev.head deleted file mode 100644 index c11412d214..0000000000 --- a/public/templates/agents-prev/agents-prev.head +++ /dev/null @@ -1,4 +0,0 @@ -
-
- -
\ No newline at end of file diff --git a/public/templates/agents-prev/agents-prev.old.html b/public/templates/agents-prev/agents-prev.old.html deleted file mode 100644 index 7594c55b33..0000000000 --- a/public/templates/agents-prev/agents-prev.old.html +++ /dev/null @@ -1,33 +0,0 @@ -
-
-
- - - Error fetching agents - - -
-

- {{ ctrl.errorInit || 'Internal error' }} -

-
-
- -
-
-
-
-
- -
-
- -
-
- - -
-
diff --git a/public/templates/agents-prev/agents-prev.pug b/public/templates/agents-prev/agents-prev.pug deleted file mode 100644 index 055019940a..0000000000 --- a/public/templates/agents-prev/agents-prev.pug +++ /dev/null @@ -1,3 +0,0 @@ -include ./agents-prev.head -include ./agents-prev.html -include ../footer.foot diff --git a/public/templates/agents/agents-module.html b/public/templates/agents/agents-module.html deleted file mode 100644 index 5549b81555..0000000000 --- a/public/templates/agents/agents-module.html +++ /dev/null @@ -1,63 +0,0 @@ -
-
- -
-
-
-
- -
-
-
- -
- -
- - -
-
-
- - - - - - -
-
{{loadingStatus}}
-
-
- - -
-
-
- - - - - - -
-
{{reportStatus}}
-
-
-
- -
- -
- - -
-
- -
-
-
\ No newline at end of file diff --git a/public/templates/agents/agents-syscollector.html b/public/templates/agents/agents-syscollector.html deleted file mode 100644 index 720938ff45..0000000000 --- a/public/templates/agents/agents-syscollector.html +++ /dev/null @@ -1,4 +0,0 @@ -
- - -
\ No newline at end of file diff --git a/public/templates/agents/agents-welcome.html b/public/templates/agents/agents-welcome.html deleted file mode 100644 index ad7fe432c4..0000000000 --- a/public/templates/agents/agents-welcome.html +++ /dev/null @@ -1,25 +0,0 @@ -
-
-
-
- -
- Could - not fetch data for this agent. Reason: {{emptyAgent}} -
-
- - Try again -
-
-
-
-
-
-
- -
-
-
\ No newline at end of file diff --git a/public/templates/agents/dashboards.head b/public/templates/agents/dashboards.head deleted file mode 100644 index 075e566cb5..0000000000 --- a/public/templates/agents/dashboards.head +++ /dev/null @@ -1,5 +0,0 @@ -
-
- -
\ No newline at end of file diff --git a/public/templates/agents/dashboards.pug b/public/templates/agents/dashboards.pug deleted file mode 100644 index 2f576b7e7a..0000000000 --- a/public/templates/agents/dashboards.pug +++ /dev/null @@ -1,6 +0,0 @@ -include ./dashboards.head -include ./agents-welcome.html -include ./agents-module.html -include ./agents-syscollector.html - -include ../footer.foot diff --git a/public/templates/footer.foot b/public/templates/footer.foot deleted file mode 100644 index 7f5eaa32ef..0000000000 --- a/public/templates/footer.foot +++ /dev/null @@ -1 +0,0 @@ -
\ No newline at end of file diff --git a/public/templates/management/groups/groups.html b/public/templates/management/groups/groups.html deleted file mode 100644 index 988c98b2c9..0000000000 --- a/public/templates/management/groups/groups.html +++ /dev/null @@ -1,11 +0,0 @@ -
- -
- -
-
\ No newline at end of file diff --git a/public/templates/management/management-welcome.html b/public/templates/management/management-welcome.html deleted file mode 100644 index b2132f1323..0000000000 --- a/public/templates/management/management-welcome.html +++ /dev/null @@ -1,3 +0,0 @@ -
- -
\ No newline at end of file diff --git a/public/templates/management/management.head b/public/templates/management/management.head deleted file mode 100644 index ba67439b63..0000000000 --- a/public/templates/management/management.head +++ /dev/null @@ -1,31 +0,0 @@ -
- -
- -
- {{ mctrl.tabNames[mctrl.tab] }} - / {{ mctrl.currentGroup.name }} -
- -
- diff --git a/public/templates/management/management.old.html b/public/templates/management/management.old.html deleted file mode 100644 index 0c2bc6078b..0000000000 --- a/public/templates/management/management.old.html +++ /dev/null @@ -1,3 +0,0 @@ -
- -
\ No newline at end of file diff --git a/public/templates/management/management.pug b/public/templates/management/management.pug deleted file mode 100644 index a688f9d61a..0000000000 --- a/public/templates/management/management.pug +++ /dev/null @@ -1,9 +0,0 @@ -include ./management.head -include ./management-welcome.html -include ./monitoring/monitoring.pug -include ./statistics/statistics.html -include ./management.html - -include ./groups/groups.html - -include ../footer.foot \ No newline at end of file diff --git a/public/templates/management/monitoring/configuration.html b/public/templates/management/monitoring/configuration.html deleted file mode 100644 index 04558c17fe..0000000000 --- a/public/templates/management/monitoring/configuration.html +++ /dev/null @@ -1,69 +0,0 @@ - -
-
-
-

- - Overview -

-
-
- -
- -
- - Top 5 - nodes - - There are no results for selected - time - range. Try another one. - -
- -
-
- Configuration -
- -
- Disabled - {{configuration.disabled}} -
-
- Hidden - {{configuration.hidden}} -
-
- Name - {{configuration.name}} -
-
- Node name - {{configuration.node_name}} -
-
- Node type - {{configuration.node_type}} -
-
- Bind address - {{configuration.bind_addr}} -
-
- IP - {{configuration.nodes[0] || '-'}} -
-
- Port - {{configuration.port}} -
-
-
-
-
- \ No newline at end of file diff --git a/public/templates/management/monitoring/main-timelions.html b/public/templates/management/monitoring/main-timelions.html deleted file mode 100644 index 6f7a6d4d80..0000000000 --- a/public/templates/management/monitoring/main-timelions.html +++ /dev/null @@ -1,18 +0,0 @@ - -
-
-
- - There are no results for selected time range. Try another one. -
-
-
- - - -
- -
- \ No newline at end of file diff --git a/public/templates/management/monitoring/main.html b/public/templates/management/monitoring/main.html deleted file mode 100644 index ae4d15f937..0000000000 --- a/public/templates/management/monitoring/main.html +++ /dev/null @@ -1,57 +0,0 @@ -
- - - - -
-
- Details  - - -
-
- IP - {{configuration.nodes[0] || '-'}} -
-
- Running - {{ status || 'no' }} -
-
- Version - {{version}} -
-
-
- - - -
-
- Information -
- -
- Nodes - {{nodesCount}} -
- -
- Agents - {{agentsCount}} -
-
-
- -
\ No newline at end of file diff --git a/public/templates/management/monitoring/monitoring.html b/public/templates/management/monitoring/monitoring.html deleted file mode 100644 index 4a296bb6d9..0000000000 --- a/public/templates/management/monitoring/monitoring.html +++ /dev/null @@ -1,442 +0,0 @@ -
- -
- -
- - -
- -
- - -
-
- -
- - - - - - -
-
- - - - - - -
-
{{loadingStatus}}
-
-
- -
- - -
- - - -
-
- Details  - - -
-
- IP - {{configuration.nodes[0] || '-'}} -
-
- Running - {{ status || 'no' }} -
-
- Version - {{version}} -
-
-
- - - -
-
- Information -
- -
- Nodes - {{nodesCount}} -
- -
- Agents - {{agentsCount}} -
-
-
- -
- - - -
-
-
- - There are no results for selected time range. Try another one. -
-
-
- - - -
- -
- - - - - -
-
-
-

- - Overview -

-
-
- -
- -
- - Top 5 nodes - - There are no results for selected time range. Try another one. - -
- -
-
- Configuration -
- -
- Disabled - {{configuration.disabled}} -
-
- Hidden - {{configuration.hidden}} -
-
- Name - {{configuration.name}} -
-
- Node name - {{configuration.node_name}} -
-
- Node type - {{configuration.node_type}} -
-
- Bind address - {{configuration.bind_addr}} -
-
- IP - {{configuration.nodes[0] || '-'}} -
-
- Port - {{configuration.port}} -
-
-
-
-
- - - -
- -
- - -
- -
-
-

- - Node {{ currentNode.name }} -

-
-
- -
-
- - {{ currentNode.name }} alerts summary - - -
-
- - - -
- -
-
- Node information -
-
- IP - {{currentNode.healthCheck.info.ip}} -
-
- Version - {{currentNode.healthCheck.info.version}} -
-
- Type - {{currentNode.healthCheck.info.type}} -
-
- Name - {{currentNode.healthCheck.info.name}} -
-
- Active agents - {{ currentNode.healthCheck.info.n_active_agents }} -
-
-
- - -
-
- Last files integrity synchronization -
-
- Last sync - {{currentNode.healthCheck.status.last_sync_integrity.date_end_master}} -
-
- Duration - {{currentNode.healthCheck.status.last_sync_integrity.duration}} -
-
- Total shared files - {{currentNode.healthCheck.status.last_sync_integrity.total_files.shared}} -
-
- Total missing files - {{currentNode.healthCheck.status.last_sync_integrity.total_files.missing}} -
-
- Total extra but valid files - {{currentNode.healthCheck.status.last_sync_integrity.total_files.extra_valid}} -
-
- Total extra files - {{currentNode.healthCheck.status.last_sync_integrity.total_files.extra}} -
-
-
-
- - - -
- -
-
- Last agents information synchronization -
-
- Last sync - {{currentNode.healthCheck.status.last_sync_agentinfo.date_end_master}} -
-
- Duration - {{currentNode.healthCheck.status.last_sync_agentinfo.duration}} -
-
- Total agent info - {{currentNode.healthCheck.status.last_sync_agentinfo.total_agentinfo}} -
-
-
- - -
-
- Last agents groups synchronization -
-
- Last sync - {{currentNode.healthCheck.status.last_sync_agentgroups.date_end_master}} -
-
- Duration - {{currentNode.healthCheck.status.last_sync_agentgroups.duration}} -
-
- Total agent info - {{currentNode.healthCheck.status.last_sync_agentgroups.total_agentgroups}} -
-
-
-
- -
- -
diff --git a/public/templates/management/monitoring/monitoring.old.html b/public/templates/management/monitoring/monitoring.old.html deleted file mode 100644 index 273d21c316..0000000000 --- a/public/templates/management/monitoring/monitoring.old.html +++ /dev/null @@ -1,39 +0,0 @@ -
- - -
- -
- - -
- -
- - -
-
- -
- - - - - - -
-
- - - - - - -
-
{{loadingStatus}}
-
-
- -
\ No newline at end of file diff --git a/public/templates/management/monitoring/monitoring.pug b/public/templates/management/monitoring/monitoring.pug deleted file mode 100644 index cd4150c842..0000000000 --- a/public/templates/management/monitoring/monitoring.pug +++ /dev/null @@ -1,7 +0,0 @@ -include ./monitoring.html -include ./main.html -include ./main-timelions.html -include ./configuration.html -include ./nodes-list.html -include ./nodes-detail.html -include ../../footer.foot \ No newline at end of file diff --git a/public/templates/management/monitoring/nodes-detail.html b/public/templates/management/monitoring/nodes-detail.html deleted file mode 100644 index 6654dcc28d..0000000000 --- a/public/templates/management/monitoring/nodes-detail.html +++ /dev/null @@ -1,145 +0,0 @@ -
- -
-
-

- - Node {{ currentNode.name }} -

-
-
- -
-
- - {{ currentNode.name }} - alerts summary - - -
-
- - - -
- -
-
- Node information -
-
- IP - {{currentNode.healthCheck.info.ip}} -
-
- Version - {{currentNode.healthCheck.info.version}} -
-
- Type - {{currentNode.healthCheck.info.type}} -
-
- Name - {{currentNode.healthCheck.info.name}} -
-
- Active agents - {{ currentNode.healthCheck.info.n_active_agents }} -
-
-
- - -
-
- Last files integrity synchronization -
-
- Last sync - {{currentNode.healthCheck.status.last_sync_integrity.date_end_master}} -
-
- Duration - {{currentNode.healthCheck.status.last_sync_integrity.duration}} -
-
- Total shared files - {{currentNode.healthCheck.status.last_sync_integrity.total_files.shared}} -
-
- Total missing files - {{currentNode.healthCheck.status.last_sync_integrity.total_files.missing}} -
-
- Total extra but valid files - {{currentNode.healthCheck.status.last_sync_integrity.total_files.extra_valid}} -
-
- Total extra files - {{currentNode.healthCheck.status.last_sync_integrity.total_files.extra}} -
-
-
-
- - - -
- -
-
- Last agents information synchronization -
-
- Last sync - {{currentNode.healthCheck.status.last_sync_agentinfo.date_end_master}} -
-
- Duration - {{currentNode.healthCheck.status.last_sync_agentinfo.duration}} -
-
- Total agent info - {{currentNode.healthCheck.status.last_sync_agentinfo.total_agentinfo}} -
-
-
- - -
-
- Last agents groups synchronization -
-
- Last sync - {{currentNode.healthCheck.status.last_sync_agentgroups.date_end_master}} -
-
- Duration - {{currentNode.healthCheck.status.last_sync_agentgroups.duration}} -
-
- Total agent info - {{currentNode.healthCheck.status.last_sync_agentgroups.total_agentgroups}} -
-
-
-
- -
\ No newline at end of file diff --git a/public/templates/management/monitoring/nodes-list.html b/public/templates/management/monitoring/nodes-list.html deleted file mode 100644 index 31e90df48c..0000000000 --- a/public/templates/management/monitoring/nodes-list.html +++ /dev/null @@ -1,3 +0,0 @@ -
- -
\ No newline at end of file diff --git a/public/templates/management/ruleset/logtest.html b/public/templates/management/ruleset/logtest.html deleted file mode 100644 index 0b59c24ec1..0000000000 --- a/public/templates/management/ruleset/logtest.html +++ /dev/null @@ -1,5 +0,0 @@ -
-
- -
- diff --git a/public/templates/management/statistics/statistics.html b/public/templates/management/statistics/statistics.html deleted file mode 100644 index c2e3a380ac..0000000000 --- a/public/templates/management/statistics/statistics.html +++ /dev/null @@ -1,3 +0,0 @@ -
- -
\ No newline at end of file diff --git a/public/templates/settings/settings-about.html b/public/templates/settings/settings-about.html deleted file mode 100644 index cba32f7a51..0000000000 --- a/public/templates/settings/settings-about.html +++ /dev/null @@ -1,70 +0,0 @@ -
-
- -
-
-
App version: {{ctrl.appInfo["app-version"]}}
-
App revision: {{ctrl.appInfo["revision"]}}
-
Install date: {{ctrl.appInfo["installationDate"] | date : "medium"}}
-
-
- -
-
-
-
-
-
-
-
-

Welcome to the Wazuh app for Kibana {{ctrl.pluginPlatformVersion}}

-
-
-
-
-
-
-

- Wazuh Kibana plugin provides management and monitoring capabilities, giving users control - over the Wazuh infrastructure. Using this plugin you can monitor your agents status and - configuration, query and visualize your alert data and monitor manager rules and - configuration. -

-
-
-
-
-
-
-
-
-
-

Community

-
-
-
-
-
-
-

- Enjoy your Wazuh experience and please don't hesitate to give us your feedback. -

-
-
-
- - - - -
-
-
-
-
-
\ No newline at end of file diff --git a/public/templates/settings/settings-api.html b/public/templates/settings/settings-api.html deleted file mode 100644 index 8e39ec9d3a..0000000000 --- a/public/templates/settings/settings-api.html +++ /dev/null @@ -1,19 +0,0 @@ -
- - -
- -
- - -
- -
- - -
- -
- -
- \ No newline at end of file diff --git a/public/templates/settings/settings-configuration.html b/public/templates/settings/settings-configuration.html deleted file mode 100644 index cf695f950e..0000000000 --- a/public/templates/settings/settings-configuration.html +++ /dev/null @@ -1,3 +0,0 @@ -
- -
\ No newline at end of file diff --git a/public/templates/settings/settings-logs.html b/public/templates/settings/settings-logs.html deleted file mode 100644 index f8b50bb531..0000000000 --- a/public/templates/settings/settings-logs.html +++ /dev/null @@ -1,3 +0,0 @@ -
- -
\ No newline at end of file diff --git a/public/templates/settings/settings-modules.html b/public/templates/settings/settings-modules.html deleted file mode 100644 index 75fd2ab3c9..0000000000 --- a/public/templates/settings/settings-modules.html +++ /dev/null @@ -1,3 +0,0 @@ -
- -
\ No newline at end of file diff --git a/public/templates/settings/settings-sample-data.html b/public/templates/settings/settings-sample-data.html deleted file mode 100644 index 356cdd80cc..0000000000 --- a/public/templates/settings/settings-sample-data.html +++ /dev/null @@ -1,3 +0,0 @@ -
- -
\ No newline at end of file diff --git a/public/templates/settings/settings.head b/public/templates/settings/settings.head deleted file mode 100644 index 7ae19cc2ed..0000000000 --- a/public/templates/settings/settings.head +++ /dev/null @@ -1,8 +0,0 @@ -
-
- -
- -
- -
\ No newline at end of file diff --git a/public/templates/settings/settings.pug b/public/templates/settings/settings.pug deleted file mode 100644 index 854982ea67..0000000000 --- a/public/templates/settings/settings.pug +++ /dev/null @@ -1,8 +0,0 @@ -include ./settings.head -include ./settings-api.html -include ./settings-modules.html -include ./settings-configuration.html -include ./settings-logs.html -include ./settings-about.html -include ./settings-sample-data.html -include ../footer.foot diff --git a/public/templates/tools/dev-tools.html b/public/templates/tools/dev-tools.html deleted file mode 100644 index b78b52d4fa..0000000000 --- a/public/templates/tools/dev-tools.html +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/public/templates/tools/tools.head b/public/templates/tools/tools.head deleted file mode 100644 index 331f6506e0..0000000000 --- a/public/templates/tools/tools.head +++ /dev/null @@ -1 +0,0 @@ -
\ No newline at end of file diff --git a/public/templates/tools/tools.pug b/public/templates/tools/tools.pug deleted file mode 100644 index 2b1b3d0639..0000000000 --- a/public/templates/tools/tools.pug +++ /dev/null @@ -1 +0,0 @@ -include ./dev-tools.html diff --git a/public/templates/visualize/dashboards.old.html b/public/templates/visualize/dashboards.old.html deleted file mode 100644 index 79b04fba62..0000000000 --- a/public/templates/visualize/dashboards.old.html +++ /dev/null @@ -1,73 +0,0 @@ -
-
- -
-
-
- -
- - -
- -
- - - -
- - - -
-
-
- - - - - - -
-
{{reportStatus}}
-
-
-
- -
- -
- -
-
- - - - - - - - - No agents were added to this manager: - - - Deploy new agent - -
-
- -
-
- -
-
diff --git a/public/templates/visualize/dashboards.pug b/public/templates/visualize/dashboards.pug deleted file mode 100644 index 28b3512190..0000000000 --- a/public/templates/visualize/dashboards.pug +++ /dev/null @@ -1,3 +0,0 @@ -include ./dashboards.html -include ./overview-welcome.html -include ./footer.foot diff --git a/public/templates/visualize/footer.foot b/public/templates/visualize/footer.foot deleted file mode 100644 index 2d8bb3eb2c..0000000000 --- a/public/templates/visualize/footer.foot +++ /dev/null @@ -1,3 +0,0 @@ -
-
-
\ No newline at end of file diff --git a/public/templates/visualize/overview-welcome.html b/public/templates/visualize/overview-welcome.html deleted file mode 100644 index 906b5f0143..0000000000 --- a/public/templates/visualize/overview-welcome.html +++ /dev/null @@ -1,6 +0,0 @@ -
-
- -
- -
\ No newline at end of file