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 create report definition #7091

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

yenienserrano
Copy link
Member

@yenienserrano yenienserrano commented Oct 9, 2024

Description

Adds the generation of dashboard report definitions when Wazuh is started.

Issues Resolved

Evidence

Screen.Recording.2024-10-16.at.4.42.24.PM.mov

Prerequisites

Have an environment with the wazuh dashboard reporting

Test

  1. Add sample data from vulnerability module
  2. Navigate to the vulnerability module and enter the Dashboard by reference tab.
  3. The first is to create the dashboard and the definition of the dashboard report.
  4. Navigate to Explore>Reporting
  5. It should have been created the definition of the Vulnerability Report.
  6. Edit definition report
  7. Navigate to the vulnerability module and enter the Dashboard by reference tab.
  8. Click on Restart report definition
  9. Check that the report definition returns to the default version.

Check List

  • All tests pass
    • yarn test:jest
  • New functionality includes testing.
  • New functionality has been documented.
  • Update CHANGELOG.md
  • Commits are signed per the DCO using --signoff

@yenienserrano yenienserrano self-assigned this Oct 10, 2024
@asteriscos asteriscos linked an issue Oct 14, 2024 that may be closed by this pull request
1 task
@yenienserrano yenienserrano marked this pull request as ready for review October 16, 2024 15:17
Copy link
Contributor

Wazuh Check Updates plugin code coverage (Jest) test % values
Statements 76.44% ( 172 / 225 )
Branches 58.65% ( 61 / 104 )
Functions 61.7% ( 29 / 47 )
Lines 76.44% ( 172 / 225 )

Copy link
Contributor

Wazuh Core plugin code coverage (Jest) test % values
Statements 46.02% ( 400 / 869 )
Branches 41.97% ( 157 / 374 )
Functions 44.01% ( 136 / 309 )
Lines 46.22% ( 398 / 861 )

Copy link
Contributor

Main plugin code coverage (Jest) test % values
Statements 13.43% ( 4027 / 29984 )
Branches 8.96% ( 1749 / 19516 )
Functions 12.98% ( 944 / 7270 )
Lines 13.59% ( 3925 / 28861 )

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.

Develop the means to set it up in the initial deployment of Wazuh dashboard
1 participant