Overview
Main overview dashboard component with module navigation. Location:plugins/main/public/components/overview/overview.tsx:31
Usage
- Welcome screen display
- Module dashboards (Security Events, FIM, Vulnerabilities, etc.)
- Agent selection and filtering
- Query state management
Query Parameters
The component responds to URL query parameters:string
Active module tabPossible values:
"welcome"- Welcome dashboard"general"- Security events"fim"- File integrity monitoring"vulnerability"- Vulnerability detection"mitre"- MITRE ATT&CK"virustotal"- VirusTotal integration"osquery"- Osquery"docker"- Docker monitoring- And more module-specific tabs
string
default:"dashboard"
View mode for the selected tabPossible values:
"dashboard"- Dashboard view"events"- Events table view"panels"- Custom panels view
string
Filter data by specific agent ID
Example URLs
Stats
Statistics summary component for the overview dashboard. Location:plugins/main/public/controllers/overview/components/stats.tsx
Props
object
required
Agent summary data
Usage
OverviewWelcome
Welcome screen component with module cards and quick actions. Location:plugins/main/public/components/common/welcome/overview-welcome.tsx
Props
object
Agent summary statistics
Usage
- Agent status summary cards
- Module navigation cards
- Quick action buttons
- Getting started information
MainModule
Module dashboard container with filters and visualizations. Location:plugins/main/public/components/common/modules/main.tsx
Props
string
required
Module identifier (e.g., “general”, “fim”, “vulnerability”)
string
Filter by specific agent
string
default:"dashboard"
Active view mode
Usage
WzCurrentOverviewSectionWrapper
Wrapper component that manages the current overview section context. Location:plugins/main/public/components/common/modules/overview-current-section-wrapper.tsx
Props
string
required
Current module section
React.ReactNode
required
Child components
Usage
Module-Specific Components
Security Events
EventsTable
Displays security events in a data table. Props:object
Search filters to apply
string
Filter by agent ID
object
Time range for events
Vulnerability Detection
VulnerabilityDashboard
Displays vulnerability detection statistics and findings. Props:string
Filter vulnerabilities by agent
File Integrity Monitoring
FIMDashboard
Displays FIM events and statistics. Props:string
Filter FIM events by agent
Chart Components
WzVisualize
Wrapper for rendering Wazuh visualizations. Location:plugins/main/public/components/common/charts/wz-visualize.tsx
Props
string
required
Saved object ID of the visualization
object
Additional filters to apply
object
Time range for the visualization
Usage
Dashboard Components
DashboardByRenderer
Renders OpenSearch Dashboards dashboards within Wazuh. Location:plugins/main/public/components/common/dashboards/dashboard-by-renderer.tsx
Props
string
required
Dashboard saved object ID
object
Dashboard filters
object
Search query
Usage
Complete Example
Full overview module implementation:Available Modules
The Overview component supports these modules:Security Events
General security events and alerts
FIM
File Integrity Monitoring
Vulnerabilities
Vulnerability detection findings
MITRE ATT&CK
MITRE framework mapping
SCA
Security Configuration Assessment
PCI DSS
PCI DSS compliance
GDPR
GDPR compliance
TSC
TSC compliance
NIST
NIST framework
Hooks
useRouterSearch()
Hook to access URL query parameters. Returns: Object with query parametersuseAsyncAction()
Hook for managing async operations with loading and error states. Signature:Best Practices
Use URL Parameters for State
Use URL Parameters for State
Store dashboard state in URL parameters for bookmarkability:
Sync Query State
Sync Query State
Keep search bar state synchronized with URL:
Handle Agent Selection
Handle Agent Selection
Update URL when agent selection changes:
Related Resources
Agents Components
Agent management components
Main Plugin
Core plugin API
Dashboards
Creating custom dashboards
Modules
Module development guide