Plugin Architecture
The Wazuh Dashboard is built on the OpenSearch Dashboards plugin framework and consists of three main plugins:Main Plugin
Core application logic, UI components, and routes
Wazuh Core
Shared services, configuration, and security
Check Updates
Update notification and version checking
API Categories
Plugin Lifecycle
All plugins implement the standard OpenSearch Dashboards plugin lifecycle:Component APIs
Reusable React components for building Wazuh interfaces:- Agents Components - Agent status, synchronization, and management UI
- Overview Components - Dashboard and statistics displays
- Management Components - Configuration and administrative interfaces
- Security Components - Security policy and access control UI
- Settings Components - Application settings and preferences
Server APIs
The plugins expose REST endpoints for:- Wazuh API proxy and request handling
- Host configuration management
- Index pattern and data operations
- Authentication and authorization
- Update checking and notifications
Quick Start
Using the Plugin API (Public)
Making API Requests (Server)
Type Safety
All plugin APIs are fully typed with TypeScript. Import types from the plugin’s type definitions:API Console
For interactive API testing and exploration, see the API Console documentation.API Versioning
The plugin APIs follow semantic versioning. Breaking changes are introduced only in major versions. The current API version is tied to the plugin version.Always check the plugin version compatibility when using APIs, as the Wazuh API backend version must also be compatible.
Next Steps
Main Plugin API
Explore the core plugin interfaces and lifecycle
Components
Browse reusable UI components
API Console
Test API endpoints interactively
Server Routes
View REST API endpoints