-
Notifications
You must be signed in to change notification settings - Fork 189
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
Adapt the reporting to the rendering of dashboards #6558
Adapt the reporting to the rendering of dashboards #6558
Conversation
- Adapt the Generate report button to use the search context - Create state and reducers into Redux store - Create hook to send the search context from a dashboard to the Generate report button - Remove disabledReport property and use the search context instead - Replace the mechanim to take the visualizations of the screenshots from the DOM
- Remove the dependency injectiong of the unused AngularJS service to generate the reports
…rated - Add abilities to the toast message when a PDF report is generated: - Open the report - Go to Reporting application
|
|
|
…o feat/6556-adapt-reporting-dashboard-rendering
…to use the search context
…o feat/6556-adapt-reporting-dashboard-rendering
…o feat/6556-adapt-reporting-dashboard-rendering
… to the data source
…o feat/6556-adapt-reporting-dashboard-rendering
…o feat/6556-adapt-reporting-dashboard-rendering
…o feat/6556-adapt-reporting-dashboard-rendering
…o feat/6556-adapt-reporting-dashboard-rendering
Details ⚫ Go to the Dashboard tab of each Module and generate a report. The visualizations visible on the dashboard should be included into the report. Verify the results on the report is matching the search context of the browser.Chrome - ⚫ Firefox - ⚫ 🟢 Go to the Server management > Endpoints Summary, select an agent, then go to Configuration and click on the Export PDF button. Verify the data included in the report it is the expected one.Chrome - 🟢 wazuh-agent-configuration-001-1715789864.pdf Firefox - 🟢 |
…o feat/6556-adapt-reporting-dashboard-rendering
I was reviewing the missing button to generate report on Inventory data and this seems was removed when we refactored the AngularJS template related to agents on aee0268#diff-f2709f07ddcbc36d539eeca4fa1d4c2ff3baa5dd1cf302633d6ae2270630c632L31-L34. I will talk with @lucianogorza about the context of removing the component that rendered the button and other things. |
We will fix this in the next stage of the release. |
Details 🟢 Go to the Dashboard tab of each Module and generate a report. The visualizations visible on the dashboard should be included into the report. Verify the results on the report is matching the search context of the browser.Malware detectionOverview Agent FIMOverview Agent Threat huntingOverview Agent Mitre att&ckOverview Agent Virus totalOverview Agent PCI DSSOverview Agent GDPROverview Agent HIPAAOverview Agent NIST 800-53Overview Agent TSCOverview Agent DockerOverview Agent AWSOverview Agent Google cloudOverview Agent GithubOverview Agent Office 365🟢 Go to the Server management > Endpoints Summary, select an agent, then go to Configuration and click on the Export PDF button. Verify the data included in the report it is the expected one.Chrome - 🟢 wazuh-agent-configuration-002-1715857506.pdf Firefox - 🟢 🟢 Go to the Server management > Endpoints Summary, select an agent, then go to Inventory data and click on the Generate report button. Verify the data included in the report it is the expected one.Chrome 🟢 Firefox 🟢 |
…o feat/6556-adapt-reporting-dashboard-rendering
- Add missing Generate report button on Inventory data - Add header with agent name link to Inventory data, Stats and Configuration from agent view - Simplify the styles of panels on Inventory data - Remove unwanted styles defined on file
TestLegend: UI
Details ⚫ Go to the Dashboard tab of each Module and generate a report. The visualizations visible on the dashboard should be included into the report. Verify the results on the report is matching the search context of the browser.Chrome - ⚫ Firefox - ⚫ Safari - ⚫ 🟢 Go to the Server management > Endpoints Summary, select an agent, then go to Configuration and click on the Export PDF button. Verify the data included in the report it is the expected one.Chrome - 🟢 Firefox - ⚫ Safari - ⚫ 🟢 Go to the Server management > Endpoints Summary, select an agent, then go to Invenotyr data and click on the Generate report button. Verify the data included in the report it is the expected one.Chrome - 🟢 Firefox - ⚫ Safari - ⚫ |
Description
This pull request adapts the reporting to the rendering of dashboards.
Changes:
to the Generate report button
generate the reports
Warning
This pull request depends on the implementations of dashboards #6477.
Issues Resolved
#6556
#6457
Evidence
Report toast
Test
Legend:
⚫: none
🟢: pass
🟡: warning
🔴: fail
⚪: not applicable
UI
Details
⚫ Go to the Dashboard tab of each Module and generate a report. The visualizations visible on the dashboard should be included into the report. Verify the results on the report is matching the search context of the browser.
Chrome - ⚫
Firefox - ⚫
Safari - ⚫
⚫ Go to the Server management > Endpoints Summary, select an agent, then go to Configuration and click on the Export PDF button. Verify the data included in the report it is the expected one.
Chrome - ⚫
Firefox - ⚫
Safari - ⚫
⚫ Go to the Server management > Endpoints Summary, select an agent, then go to Invenotyr data and click on the Generate report button. Verify the data included in the report it is the expected one.
Chrome - ⚫
Firefox - ⚫
Safari - ⚫
⚫ Go to the Server management > Endpoints Groups, select a group, and click on the Export PDF button. Verify the data included in the report it is the expected one.
Chrome - ⚫
Firefox - ⚫
Safari - ⚫
Check List
yarn test:jest