Skip to content

Create a Wazuh is not ready yet HTML template with the app look and feel #7681

@asteriscos

Description

@asteriscos

Description

As part of the Dashboard health check rework objective, we need to create a new "Wazuh is not ready yet" HTML template with the look and feel of Wazuh dashboard.

Related code:
https://github.com/wazuh/wazuh-dashboard/blob/65c8815b3ebb2b4fb313359b0917324739a06964/src/core/server/healthcheck/healthcheck/service.ts#L77

Current view screenshot Image

Wazuh dashboard/Opensearch Dashboards status app reference:

Image

Create new branch from enhancement/7610-rework-healthcheck (wazuh-dashboard repository)

How to force the view of server is not ready yet

  1. Register the following task in the healthCheck core service in a plugin (server side => server/plugin.ts):

Critical task throws error:

core.healthCheck.register({
      name: 'removeme:critical_always_fail',
      run: ctx => {
        throw new Error('Placeholder error message here');
       },
      isCritical: true,
});

Tasks

  • Create a new HTML template for the "Wazuh is not ready yet" blocking page

Metadata

Metadata

Projects

Status

Pending review

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions