Antonio 0ca63bc261
Compatibility with Opensearch Dashboards 3.3.0 (#967)
* Migrate main to 3.2.0 (#865)

Signed-off-by: yenienserrano <ian.serrano@wazuh.com>
Signed-off-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>
Signed-off-by: Ian Yenien Serrano <63758389+yenienserrano@users.noreply.github.com>
Signed-off-by: JuanGarriuz <juangarriuz@gmail.com>
Signed-off-by: Nicolas Agustin Guevara Pihen <42900763+Tostti@users.noreply.github.com>
Signed-off-by: Raul Del Pozo Moreno <14913942+rauldpm@users.noreply.github.com>
Signed-off-by: gonzaarancibia <gonzaloarancibia48@gmail.com>
Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>
Co-authored-by: Maximiliano Ibarra <maximiliano.ibarra@wazuh.com>
Co-authored-by: Nicolas Agustin Guevara Pihen <42900763+Tostti@users.noreply.github.com>
Co-authored-by: Antonio <34042064+Desvelao@users.noreply.github.com>
Co-authored-by: Tostti <nicolas.guevara.pihen@gmail.com>
Co-authored-by: Raul Del Pozo Moreno <raul.delpozo@wazuh.com>
Co-authored-by: Luciano Gorza <103193307+lucianogorza@users.noreply.github.com>
Co-authored-by: Federico Rodriguez <federico.rodriguez@wazuh.com>
Co-authored-by: Chantal Belén kelm <99441266+chantal-kelm@users.noreply.github.com>
Co-authored-by: JuanGarriuz <juangarriuz@gmail.com>
Co-authored-by: JuanGarriuz <juan.garcia@wazuh.com>
Co-authored-by: Guido Modarelli <38738725+guidomodarelli@users.noreply.github.com>
Co-authored-by: Antonio David Gutiérrez <antonio.gutierrez@wazuh.com>
Co-authored-by: Raul Del Pozo Moreno <14913942+rauldpm@users.noreply.github.com>
Co-authored-by: Gonzalo Arancibia <72573241+gonzaarancibia@users.noreply.github.com>

* Fix repository bumper script (#874)

* Correct variable case for date parameter in bump script (#886)

Co-authored-by: Federico Rodriguez <federico.rodriguez@wazuh.com>

* Add observability anomaly detection and anomaly detection plugins (#843)

* feat: bump 4.13.0

* Refactor dashboard package build workflow to use single branch input (#904)

* Add ML commons to package builder workflows

* Add ML commons to dev tools

* Add support for Wazuh Security Analytics plugin in package builder

* Remove 1 input to test

* Updates plugin naming convention in dashboard workflow

* Adds support for report and security analytics plugins

* Fixes package name for security analytics plugin

* Refactors branch names and adds support for ML Commons and Security Analytics plugins in build scripts

* Add SECURITY_ANALYTICS_SHA

* Add security analytics to base-packages.Dockerfile

* Fixes environment variable reference for security analytics plugin

* Adds ML Commons and Security Analytics SHA to package names

* Consolidates plugin reference inputs into single parameter

* Removes default branch value from workflow input reference_plugins

* Refactors dashboard workflow to use matrix strategy for plugin builds

* Add checkout code to setup-variables

* Refactors commit SHA concatenation for package naming

* Refactors plugin matrix to handle multiple plugins individually

* Adds security analytics support to base package build

* Fix readme

---------

Co-authored-by: gonzaarancibia <gonzaloarancibia48@gmail.com>
Co-authored-by: Gonzalo Arancibia <72573241+gonzaarancibia@users.noreply.github.com>
Co-authored-by: Federico Rodriguez <federico.rodriguez@wazuh.com>

* Add health check (#912)

* Add health check service (#811)

* feat(healthcheck): add service

* feat(health-check): add frontend service and UI button)

* feat(health-check): enhance frontend service

- Display toast on errors in the fetch/run services
- Merge checks data in the run service. This allows to run a set of
  checks and ensuring this keep the results for other checks
- Add ability to define the checks names in the fetch and run services
- Define utilities functions to compute the overall status, single check
  status, sort checks by name and generator of next state

* feat(health-check): move function to private in the ScheduledIntervalTask class

* feat(health-check): enhance backend routes

* feat(health-check): enhancements in UI

- Add rendering enhancements related to disabled checks
- Add ability to run enabled checks
- Add ability to run failed checks
- Add ability to run each check
- Add ability to export the health check status. This is usefull for
  troubleshooting
- Refactor the usage of health icon
- Add useAsyncAction hook to manage async functions related to buttons
- Enhance typing
- Split some components to other files

* feat(health-check): enhancements to the backend service

- Add ability to run single executions if the parameters are equals to
  concurrent requests
- Add checks_enabled setting
- Ensure the internal only run the enabled checks
- Mark registed checks with isEnabled meta property

* fix(health-check): run failed chekcs button were disabled when there is failed checks

* fix(health-check): ReactJS missing key prop in map and missing dependency in hook

* test(health-check): add tests

* feat(health-check): add warning comment

* feat(health-check): renamed healthcheck.schedule_interval to healthcheck.interval

* fix(health-check): fix string related to status

* test(health-check): add test for backend service

* feat(health-check): add interval update on frontend side

* feat(health-check): enhance validation for settings

* fix(health-check): issing aria-label in EuiButtonIcon

* feat(health-check): foramt dates

* feat(health-check): enhance Wazuh dashboard server is not ready yet with ability to fetch the task info and run tasks

- Enhance not-ready server with health check routes
- Add ability to run checks in the Wazuh dashboard server is not ready
  yet view
- Add ability to export the checks in the Wazuh dashboard server is not
  ready yet view
- Enhance render of errors in the tasks in the Wazuh dashboard server is
  not ready yet view

* fix(health-check): remove unuse line

* feat(health-check): add metadata to the frontend export

* feat(health-check): restrict the height of the ui panel

* feat(health-check): restrict the height of the ui panel

* feat(health-check): add ability to filter the checks in the UI

* feat(health-check): add a configurable troubleshooting link to the server is not ready yet view

* fix(health-check): troubleshooting link

* fix(health-check): not ready view message

* feat(health-check): no display UI if the health check is disabled

* fix(health-check): failed tasks run button was not enabled whene there was failed tasks

* fix(health-check): minor fixes related to typing and button render in new menu

* feat(health-check): enhance README.md

* fix(health-check): export checks from UI for ready server

* feat(health-check): change healthcheck.retries_delay maximum value to 60s

* feat(health-check): add API information to the README.md

* fix(health-check): minor fixes in the README.md

* feat(health-check): enhance typing

* fix(health-check): typings

* fix(health-check): typings

* fix(health-check): typings

* fix(health-check): typings

* fix(health-check): typings

* fix(health-check): typings

* fix(health-check): typings

* fix(health-check): typings

* fix(health-check): typings

* fix(health-check): typings

* feat(health-check): renamed to healthCheck

* fix(health-check): typings

* fix(health-check): lychee test

* fix(health-check): lychee test

* feat(health-check): move button in the header menu

* fix(health-check): update core bundle limits.yml file

* fix(health-check): typo

* Improves healthcheck task error handling for non-critical tasks

* chore(changelog): add entry

* Create a wazuh is not ready yet html template with the app look and feel (#866)

* Add healthcheck plugin with basic structure and functionality (#870)

* Add healthcheck plugin with basic structure and functionality

* refactor(health-check): clean up imports and improve UI components

* Replaces accordion with flyout for healthcheck details

* Refactors healthcheck UI to use table layout and improves error handling

* Refactors healthcheck UI to simplify filtering and improve UX

* Add documentation

* Improves healthcheck plugin UI and removes config files

* Fixes plugin name capitalization

* Add changelog

* Improves health check UI with better layout and navigation

* Moves health check UI components to dedicated plugin

Relocates health check UI components from core to the healthcheck plugin to improve separation of concerns and maintainability.

Removes UI mounting logic from core service and transfers button rendering responsibility to the plugin itself. Updates type definitions to include getConfig method and adds opensearchDashboardsReact as a required dependency for UI components.

Centralizes health check UI functionality within its dedicated plugin while maintaining the same user experience.

* Update src/plugins/healthcheck/docs/API_REFERENCE.md

Co-authored-by: Antonio <34042064+Desvelao@users.noreply.github.com>
Signed-off-by: Ian Yenien Serrano <63758389+yenienserrano@users.noreply.github.com>

* Update src/plugins/healthcheck/docs/README.md

Co-authored-by: Antonio <34042064+Desvelao@users.noreply.github.com>
Signed-off-by: Ian Yenien Serrano <63758389+yenienserrano@users.noreply.github.com>

* Update src/plugins/healthcheck/docs/README.md

Co-authored-by: Antonio <34042064+Desvelao@users.noreply.github.com>
Signed-off-by: Ian Yenien Serrano <63758389+yenienserrano@users.noreply.github.com>

* Update src/plugins/healthcheck/docs/USER_GUIDE.md

Co-authored-by: Antonio <34042064+Desvelao@users.noreply.github.com>
Signed-off-by: Ian Yenien Serrano <63758389+yenienserrano@users.noreply.github.com>

* Updates healthcheck i18n message IDs to remove core prefix

Standardizes internationalization message identifiers by removing the "core." prefix from healthcheck-related messages, aligning with plugin-specific naming conventions and improving message organization.

* Refactors healthcheck flyout display components

Simplifies display logic by replacing verbose FormattedMessage components with direct rendering and utility functions.

Introduces BadgeResults component for result visualization and creates reusable responseYesOrNo helper for boolean values.

Updates type definition to explicitly specify metadata structure and corrects label from "Created" to "Started" for better accuracy.

* Removes footer close button from check flyout

Simplifies the flyout interface by removing the redundant close button from the footer, as users can already close the flyout using the standard close button in the header or by clicking outside the flyout area.

* Refactors healthcheck table components and updates copyright

Removes unused EUI components from flyout component to clean up imports.

Updates copyright header from OpenSearch/Elasticsearch licensing to Wazuh ownership while maintaining Apache-2.0 license.

Improves type safety by adding generic type parameters to TaskInfo interfaces specifying isCritical and isEnabled boolean properties.

Simplifies error column rendering logic by removing unnecessary React fragment wrapper and changing "Is healthy" text to "-" for better visual consistency.

* Improves healthcheck UI with disabled status handling

Enhances the healthcheck component to properly distinguish between disabled checks and running/pending checks by adding an `isEnabled` prop to badge components.

Updates status explanations to be clearer and more user-friendly, replacing technical jargon with accessible language.

Refactors result constants to use structured objects with values and labels for better internationalization support.

Removes unused UI mounting logic and cleans up test mocks to improve maintainability.

* Adds internationalization for inspect button label

Replaces hardcoded "View details" aria-label with translatable text using i18n framework to support multiple languages and improve accessibility for international users.

* Refactors function names and adds error boundary

Improves code clarity by renaming health status mapping function and variable to better reflect their purpose of mapping task status to UI colors.

Adds error boundary component to gracefully handle runtime errors in health check components, providing user-friendly error messages and detailed error information for debugging.

* Improves healthcheck UI layout and internationalization

Replaces inline styles with EuiFlexGroup components for better responsive layout and consistent spacing in the title view.

Adds i18n translation support for the error boundary stack trace text to improve accessibility for non-English users.

* Improves error boundary display with better formatting

Makes error messages more readable by adding copy functionality to code blocks and improving stack trace presentation with proper spacing and indentation.

Enhances user experience when debugging errors by allowing easy copying of error details and organizing stack traces with clearer visual separation.

---------

Signed-off-by: Ian Yenien Serrano <63758389+yenienserrano@users.noreply.github.com>
Co-authored-by: Antonio <34042064+Desvelao@users.noreply.github.com>

* fix(healthcheck): layout summary checks status count

* fix(healthcheck): troubleshooting link in not-ready server

* fix(healthcheck): redirection to app did not work in some views

* test(healthcheck): function missing prop

---------

Signed-off-by: Ian Yenien Serrano <63758389+yenienserrano@users.noreply.github.com>
Co-authored-by: Federico Rodriguez <federico.rodriguez@wazuh.com>
Co-authored-by: Ian Yenien Serrano <63758389+yenienserrano@users.noreply.github.com>
Co-authored-by: Guido Modarelli <38738725+guidomodarelli@users.noreply.github.com>

* fix(healthcheck): rediction link to app now supports the server base path

---------

Signed-off-by: Ian Yenien Serrano <63758389+yenienserrano@users.noreply.github.com>
Co-authored-by: Federico Rodriguez <federico.rodriguez@wazuh.com>
Co-authored-by: Ian Yenien Serrano <63758389+yenienserrano@users.noreply.github.com>
Co-authored-by: Guido Modarelli <38738725+guidomodarelli@users.noreply.github.com>

* Merge 4.14.1 into main (#923)

* Merge 4.14.0 into 4.14.1 (#922)

* Add ML commons plugin to package builder (#875)

Co-authored-by: Nicolas Guevara <nicolas.guevara.pihen@gmail.com>
Co-authored-by: gonzaarancibia <gonzaloarancibia48@gmail.com>
Co-authored-by: Gonzalo Arancibia <72573241+gonzaarancibia@users.noreply.github.com>

* Fix Observability category icon sed (#905)

* Adds new dashboards plugins (#821)

Signed-off-by: Federico Rodriguez <federico.rodriguez@wazuh.com>
Co-authored-by: Ian Yenien Serrano <63758389+yenienserrano@users.noreply.github.com>
Co-authored-by: Federico Rodriguez <federico.rodriguez@wazuh.com>

* Add data source enabled setting and change Observability category order (#909)

* Add data_source.enabled:true to default settings and change order of Observability category

* Add changelog

* Remove Observability plugin (#913)

* Remove Observability plugin

* Add changelog

* Merge 4.13.0 into 4.14.0 (#920)

* feat: bump 4.13.0

* feat: bump 4.13.0

* Change workflow references to 4.13.0 (#898)

* feat: bump 4.13.0

---------

Co-authored-by: wazuhci <22834044+wazuhci@users.noreply.github.com>
Co-authored-by: Nicolas Agustin Guevara Pihen <42900763+Tostti@users.noreply.github.com>

* Updates ML Commons plugin version to 4.14.1

Bumps the ML Commons plugin workflow reference from version 4.14.0 to 4.14.1 across build workflows and updates corresponding version comment in repository bumper script.

Ensures compatibility with the latest ML Commons plugin release and maintains version consistency across the build pipeline.

---------

Signed-off-by: Federico Rodriguez <federico.rodriguez@wazuh.com>
Co-authored-by: Federico Rodriguez <federico.rodriguez@wazuh.com>
Co-authored-by: Nicolas Guevara <nicolas.guevara.pihen@gmail.com>
Co-authored-by: gonzaarancibia <gonzaloarancibia48@gmail.com>
Co-authored-by: Gonzalo Arancibia <72573241+gonzaarancibia@users.noreply.github.com>
Co-authored-by: Guido Modarelli <38738725+guidomodarelli@users.noreply.github.com>
Co-authored-by: wazuhci <22834044+wazuhci@users.noreply.github.com>
Co-authored-by: Nicolas Agustin Guevara Pihen <42900763+Tostti@users.noreply.github.com>

* Removes reportsDashboards plugin from build process

Excludes reportsDashboards plugin from the files recreation list in the base builder script, likely due to deprecation or removal of the reports dashboard functionality.

---------

Signed-off-by: Federico Rodriguez <federico.rodriguez@wazuh.com>
Co-authored-by: Federico Rodriguez <federico.rodriguez@wazuh.com>
Co-authored-by: Nicolas Guevara <nicolas.guevara.pihen@gmail.com>
Co-authored-by: gonzaarancibia <gonzaloarancibia48@gmail.com>
Co-authored-by: Gonzalo Arancibia <72573241+gonzaarancibia@users.noreply.github.com>
Co-authored-by: Guido Modarelli <38738725+guidomodarelli@users.noreply.github.com>
Co-authored-by: wazuhci <22834044+wazuhci@users.noreply.github.com>
Co-authored-by: Nicolas Agustin Guevara Pihen <42900763+Tostti@users.noreply.github.com>

* Merge 4.14.1 into main (#938)

Merge 4.14.0 into 4.14.1 (#937)

* Add restart always directive to dashboard build configuration (#919)

* Add restart always policy to dashboard build configuration

* Update changelog

---------



* Merge 4.13.1 into 4.14.0 (#936)

feat: bump 4.13.1



---------

Co-authored-by: Nicolas Agustin Guevara Pihen <42900763+Tostti@users.noreply.github.com>
Co-authored-by: Gonzalo Arancibia <72573241+gonzaarancibia@users.noreply.github.com>
Co-authored-by: wazuhci <22834044+wazuhci@users.noreply.github.com>

* Refine health check (#946)

* change(healthcheck): remove Critical and Non-Critical filters

* change(healthcheck): remove Gray filter

* fix(healthcheck): skip start if there are no enabled checks

* change(heathcheck): rename Error to Warning in the check details for yellow checks and add Error for red checks

* remove(healthcheck): Error column in list table

* chore(changelog): add entry

* change(healthcheck): enabled/disabled filter to switch

* fix(healthcheck): add enabled metadata when the service is disabled

* fix(healthcheck): enhance onclick of header button

* chore: bump references to upstream version

* docs: enhance dev image

* Merge 4.14.1 into main (#974)

* Add retry mechanism for transient steps (#947)

* add retry mechanism for transient steps

Introduce a new function «run_with_retry» to handle transient step retries with configurable attempts and delay. Replace direct calls to critical commands with «run_with_retry» to improve robustness.

Add options «--retry-attempts» and «--retry-delay» for user-configurable retry behavior, defaulting to 3 attempts and 15 seconds delay. Update help documentation to include these options.

Enhance error handling for «curl» and «docker» commands to provide clearer failure messages after retries are exhausted.

* fix: update default version to 4.14.0 for ML Commons plugin in workflows

* Revert "fix: update default version to 4.14.0 for ML Commons plugin in workflows"

This reverts commit cb89b85507ea9702cbbc8a486b505e1f5f9cbfb3.

* Fix bumper update build plugin reference workflows in build dashboard workflow (#956)

fix(bumper): update version reference build plugin workflows in dashboard build workflow related to 4.x

* Merge 4.14.0 into 4.14.1 (#973)

* Remove ML Commons and Dashboard Assistant plugins from the package building process (#940)

* Removes ML Commons plugin from build workflows

* Remove assistant.chat.enabled configuration

* Removes ML Commons plugin references from workflows

* Remove assistantDashboards

* Update changelog

* feat: bump 4.14.0

* feat: bump 4.14.0

* feat: bump 4.14.0

---------

Co-authored-by: wazuhci <22834044+wazuhci@users.noreply.github.com>

---------

Co-authored-by: Guido Modarelli <38738725+guidomodarelli@users.noreply.github.com>
Co-authored-by: Antonio <34042064+Desvelao@users.noreply.github.com>
Co-authored-by: wazuhci <22834044+wazuhci@users.noreply.github.com>

* Remove ML plugin on building process (#977)

* feat!: remove ML plugin

* fix: date in rpm spec

* fix: remove references to ML plugin in bulding workflows

* Move meta fields to root fields in task information (#961)

* chage(healthcheck): move _meta fields of tasks to root fields

* chore(changelog): add entry

* Initialize enabled property

---------

Co-authored-by: Federico Rodriguez <federico.rodriguez@wazuh.com>

* Merge 4.14.1 into main (#987)

* Update of the changelog for rpm packages (#978)

Update changelog date to 4.14.1

* feat: bump 4.14.1

* Change tag references to 4.14.1 (#982)

chore: change tag references

---------

Co-authored-by: Ian Yenien Serrano <63758389+yenienserrano@users.noreply.github.com>
Co-authored-by: wazuhci <22834044+wazuhci@users.noreply.github.com>
Co-authored-by: Antonio <34042064+Desvelao@users.noreply.github.com>

* Replace the command to build the plugins (#983)

* feat: replace the build command for plugins

* fix(build): fail step if build plugin fails

* fix: OSD version env variable on build plugins

* feat: update build of Wazuh plugins with git reference

* fix: Docker build container name error related to the usage of branches with slash or high count of characters

* feat: add /dev-tools/build-packages/zipped_packages to gitignore related to the building package guide

* fix: replace Docker container name in building package process

* feat: bump 4.14.1

* Change tag references to 4.14.1 (#994)

chore: change tag reference to 4.14.1

* Update indexer resource on wazuh plugin install (#995)

* feat: move git ref definition to plugin dependencies installation

* fix: add GIT_REF env var to the step for bootstraping core with plugin on build workflow

* Merge 4.14.2 into main (#1005)

* feat: bump 4.14.2

* feat: bump 4.14.1

---------

Co-authored-by: wazuhci <22834044+wazuhci@users.noreply.github.com>

---------

Signed-off-by: yenienserrano <ian.serrano@wazuh.com>
Signed-off-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>
Signed-off-by: Ian Yenien Serrano <63758389+yenienserrano@users.noreply.github.com>
Signed-off-by: JuanGarriuz <juangarriuz@gmail.com>
Signed-off-by: Nicolas Agustin Guevara Pihen <42900763+Tostti@users.noreply.github.com>
Signed-off-by: Raul Del Pozo Moreno <14913942+rauldpm@users.noreply.github.com>
Signed-off-by: gonzaarancibia <gonzaloarancibia48@gmail.com>
Signed-off-by: Federico Rodriguez <federico.rodriguez@wazuh.com>
Co-authored-by: Ian Yenien Serrano <63758389+yenienserrano@users.noreply.github.com>
Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>
Co-authored-by: Maximiliano Ibarra <maximiliano.ibarra@wazuh.com>
Co-authored-by: Nicolas Agustin Guevara Pihen <42900763+Tostti@users.noreply.github.com>
Co-authored-by: Tostti <nicolas.guevara.pihen@gmail.com>
Co-authored-by: Raul Del Pozo Moreno <raul.delpozo@wazuh.com>
Co-authored-by: Luciano Gorza <103193307+lucianogorza@users.noreply.github.com>
Co-authored-by: Federico Rodriguez <federico.rodriguez@wazuh.com>
Co-authored-by: Chantal Belén kelm <99441266+chantal-kelm@users.noreply.github.com>
Co-authored-by: JuanGarriuz <juangarriuz@gmail.com>
Co-authored-by: JuanGarriuz <juan.garcia@wazuh.com>
Co-authored-by: Guido Modarelli <38738725+guidomodarelli@users.noreply.github.com>
Co-authored-by: Raul Del Pozo Moreno <14913942+rauldpm@users.noreply.github.com>
Co-authored-by: Gonzalo Arancibia <72573241+gonzaarancibia@users.noreply.github.com>
Co-authored-by: wazuhci <22834044+wazuhci@users.noreply.github.com>
Co-authored-by: gonzaarancibia <gonzaloarancibia48@gmail.com>
2025-11-14 13:17:51 +01:00
..