Skip to content
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 API support to SatisticMonitor #4969

Closed

Conversation

Deblintrake09
Copy link
Contributor

@Deblintrake09 Deblintrake09 commented Feb 16, 2024

Description

This PR enhances the StatisticMonitor class to enable using the API for analysisd events and remoted stats.

  • New parameter use_api added called with -a and --use_api. It is used in with remoted to get remote data from the API.
  • analysis_events are recovered by default from the API.

Testing performed

OS Package used
Ubuntu 22 4.8.0-beta1
Validation Jenkins Local OS Commit Notes
Artifacts are generated ⚫⚫ local_artifacts.zip Ubuntu22 Nothing to highlight

@Deblintrake09 Deblintrake09 self-assigned this Feb 16, 2024
@Deblintrake09 Deblintrake09 changed the base branch from master to 4.8.0 February 16, 2024 15:25
@Deblintrake09 Deblintrake09 changed the base branch from 4.8.0 to master February 16, 2024 15:30
@Deblintrake09 Deblintrake09 deleted the enhancement/4890-wazuh-statistics-script branch February 16, 2024 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refactor StatesMonitoring class to utilize API instead of .state files
1 participant