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

Export group related information #1341

Closed
5 tasks done
jesusgn90 opened this issue Apr 1, 2019 · 5 comments
Closed
5 tasks done

Export group related information #1341

jesusgn90 opened this issue Apr 1, 2019 · 5 comments
Assignees
Labels
back-end Thins related to the server side request/operational Operational requests type/enhancement Enhancement issue

Comments

@jesusgn90
Copy link
Contributor

jesusgn90 commented Apr 1, 2019

We have no way to export a group and its related information such as the agents or the files included in that group. We can do it by parts but definitively we want to collect all the information into one well-formatted exportable PDF.

Tasks:

  • Adapt the reporting module
  • Minimum info
    • Group name
    • Configuration
    • Agents in the group

Regards

@jesusgn90 jesusgn90 added type/enhancement Enhancement issue request/operational Operational requests back-end Thins related to the server side labels Apr 1, 2019
@jesusgn90 jesusgn90 added this to To do in Wazuh 3.10.0 via automation May 13, 2019
@jesusgn90 jesusgn90 added this to the 21th week sprint milestone May 20, 2019
@juankaromo juankaromo self-assigned this May 21, 2019
@juankaromo juankaromo moved this from To do to In progress in Wazuh 3.10.0 May 21, 2019
@juankaromo
Copy link
Contributor

Update

The module has been adapted to accept this type of report. At the moment I have generated a first pdf with the table of agents. I have to make some corrections in the way the configuration object is painted so that it doesn't show up with errors.

@juankaromo
Copy link
Contributor

Update

I have already managed to show all the configurations grouped by their filters, here is an example of this first iteration:

wazuh-group-default-configuration-1558626305.pdf

@juankaromo juankaromo moved this from In progress to Needs review in Wazuh 3.10.0 Jun 5, 2019
@jesusgn90
Copy link
Contributor Author

No numbered titles:

image

Move the agent list to the end of the file:

image

Human readable please:

image

This should be a table:

image

Please test it with a huge amount of configurations, also try it with ~14K agents.

Regards

@juankaromo
Copy link
Contributor

juankaromo commented Jun 6, 2019

Update

Today I made the changes that have been requested. I show the table of agents at the end in case it is too long ~1k, the numbers have been removed and the logs have been grouped.

This is an example:

wazuh-group-default-configuration-1559831932.pdf

Branch: https://github.com/wazuh/wazuh-kibana-app/tree/export-group-config

@juankaromo
Copy link
Contributor

Update

Today I have been adapting some modules of the report that wasn't working properly. Also, other modules as Labels weren't being shown with the logic of the rendering method. That was fixes also.

Here is an example of this iteration result
wazuh-group-default-configuration-1559912411.pdf

Wazuh 3.10.0 automation moved this from Needs review to Done Jun 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
back-end Thins related to the server side request/operational Operational requests type/enhancement Enhancement issue
Projects
No open projects
Wazuh 3.10.0
  
Done
Development

No branches or pull requests

2 participants