-
Notifications
You must be signed in to change notification settings - Fork 194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Wazuh Analysis plugin files and structure #7242
Merged
asteriscos
merged 213 commits into
main
from
enhancement/484-create-the-analysis-plugin-and-implement-the-new-menu-app-registration-method
Feb 17, 2025
Merged
Add Wazuh Analysis plugin files and structure #7242
asteriscos
merged 213 commits into
main
from
enhancement/484-create-the-analysis-plugin-and-implement-the-new-menu-app-registration-method
Feb 17, 2025
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…zuh Analysis plugin
… and FIM in AnalysisPlugin
…date core start property assignment
…ax for improved context handling
…andling and simplify navigation logic
…r better organization
…for better organization
* feat: add task to create index pattern fields - Add task to create index pattern fields - Create CLIs to get the static files for the index pattern default fields used when there is no indices on the Wazuh dashboard starts * chore(changelog): add entry * fix(script): uncomment statements in build-static-files-get-from-wildcard tool
* fix: remove scheduled-commands index pattern creation * feat(changelog): add entry
…plicationService methods
…d navigation group definitions
…creating groups and applications
…te usage in plugins
…elated documentation
…for layout management
52efb44
to
bffbe2f
Compare
…nd-implement-the-new-menu-app-registration-method
|
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
We need to create the "Analysis" plugin that will contain all data analysis dashboard applications. Our primary objective is to register this plugin and its applications to establish the scaffolding for future dashboard development.
Menu structure
Functional requirements
Issues Resolved
wazuh/wazuh-dashboard#484
Evidence
Test
Test of titles in navigation groups in the sidebar
Separated static application configurations into a dedicated file to improve code organization and simplify future maintenance
Moved shared logic between different plugins to
wazuh-core
The applications under "Analysis" should only appear in that section and should not be located elsewhere or repeated.
Test the menu structure
The applications must be registered in both the legacy and new navigation menus.
The SideNav should only appear in the old menu.
Legacy menu:

New menu:

The applications must be registered in search command
Check List
Update 2025/02/14
I will make the following changes based on @Desvelao’s review:
Currently, some elements—such as the
Layout
component, which renders the plugin’s internal sidebar when group navigation (new menu) is disabled, and utility functions likecreateSideNavItems
—would need to be replicated in each plugin individually.To avoid this duplication, I will evaluate whether these elements can:
This will improve maintainability and reduce code redundancy across plugins.
Solved here ff4a1a3, 5b00e82
Solving these comments
Adding in comments in which commit it was resolved