Closed Desvelao closed 10 months ago
Wazuh plugin <placeholder>
use the branding name. We should remove the branding name so these doesn't have to be modified for users that want to customize the Wazuh dashboard.The changes that are not related to the Wazuh applications must be changed by editing the source code of Wazuh dashboard package.
I saw that OpenSearch Dashboards 2.9.0 includes some applications that are not specified in the desired design for Wazuh dashboard. We should decide what to do.
In 2.9.0, the Security
is under the Management
category.
For another hand, in OpenSearch Dashboards 2.9.0 the Stack management
application was renamed to Dashboards management
. If we change the name of the category this belongs to, from Management
to Indexer/dashboard management
this could be redundant.
EDIT:
We will use OpenSearch Dashboards 2.10.0 (that is unreleased at the moment), so we will need the required changes there.
I got some changes that are working in OpenSearch Dashboards 2.9.0 that could be useful for OpenSearch Dashboards 2.10.0
OpenSearch Dashboards 2.10.0 was released recently.
These are the applications that are visible in the side menu:
I am working on the required changes to the built-in applications according to the current design. In the following days, there will be a meeting to discuss the desired applications for the Wazuh dashboard.
We will need to know the order within the categories.
I created a pull request to change the category of built-in applications on the Wazuh dashboard https://github.com/wazuh/wazuh-packages/pull/2496.
I created a patch to remove wazuh_modules searching for a more reusable app. Patch to remove WAZUH_MODULES I have conducted a search throughout the code in order to create a constant that can be used throughout the entire Wazuh code to generate reusable code and facilitate editing, whether it's adding or removing access to apps in a simple and straightforward manner. To achieve this, all references to WAZUH_MODULES have been removed and replaced with Applications, whether in the back-end or front-end. We have also added a new attribute to Applications called currentApp to link it with the key of WAZUH_MODULES.
To replace the order of the applications could be needed to modiify the order
property when register the applications.
I was reviewing the order of the built-in applications:
Application | order | suggested string to replace in package code |
---|---|---|
Discover | 1e3 | order:1e3 |
Dashboard | 2500 | order:2500 |
Visualize | 8e3 | order:8e3 |
Reporting | 2e3 | order:2e3,mount |
Alerting | 4e3 | order:4e3,mount |
Maps | 5100 | order:5100 |
Notifications | 9060 | order:9060,mount |
Dev tools | 9070 | order:9070 |
Dashboard management | 9030 | order:9030 |
Security | 9050 | order:9050 |
Index management | 9010 | order:9010 |
Index management | 9020 | order:9020 |
To match the expected menu, it could only be required to modify some of them.
I was working to sync the applications built-in into the platform and the Wazuh dashboards plugin.
Related pull requests:
Description
A new sidebar menu design was defined in a recent meeting.
We got a new sidebar menu defined in a recent meeting. There are some changes that we should apply to the previous design.
Requirements update
Tasks