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

Bugfixing for 7.10.0 #2727

Closed
18 of 19 tasks
frankeros opened this issue Jan 5, 2021 · 11 comments
Closed
18 of 19 tasks

Bugfixing for 7.10.0 #2727

frankeros opened this issue Jan 5, 2021 · 11 comments

Comments

@frankeros
Copy link
Contributor

frankeros commented Jan 5, 2021

Bugfixing for 7.10.0

Branch
4.0-7.10

We need to work in the app recently adapted to the new platform keeping Angular, in order to fix behaviors and styles issues.

Tasks

@frankeros frankeros added this to the Sprint 121 - WUI milestone Jan 5, 2021
@sortiz1191 sortiz1191 mentioned this issue Jan 5, 2021
4 tasks
@frankeros frankeros self-assigned this Jan 5, 2021
sortiz1191 pushed a commit that referenced this issue Jan 7, 2021
@gabiwassan gabiwassan mentioned this issue Jan 7, 2021
10 tasks
@Desvelao
Copy link
Member

Desvelao commented Jan 8, 2021

Errors found

  • No visualizations in Management/Statistics
    image

  • The selected/pinned agent name is not centered in the Wazuh menu
    image

  • Styles in Wazuh menu
    image

@Desvelao
Copy link
Member

Desvelao commented Jan 8, 2021

Task: Create wazuh-monitoring-* and wazuh-statistics-* index patterns

It is necessary to create these index patterns. Before the migration, these were created in the backend. Now, it should do in the frontend using the client of saved objects, the same as wazuh-alerts-* index pattern. This could do in the health check.

@Desvelao Desvelao mentioned this issue Jan 11, 2021
19 tasks
@frankeros
Copy link
Contributor Author

Founded this error on build
image
Fixed in 5a7e9c0

@frankeros
Copy link
Contributor Author

Prepare build with 7.10.0 to prod

  • Created .kibana-plugin-helpers.json
  • Removed old index.js
  • Added dependencies for prod "axios": "^0.21.1" and "pdfmake": "0.1.65"
  • Removed preinstall and prebuild scripts from package.json

@frankeros
Copy link
Contributor Author

frankeros commented Jan 18, 2021

Prepare build with 7.10.0 to prod

Detected an unhandled Promise rejection.
2001 - ENOENT: no such file or directory, mkdir '/usr/share/kibana/data/wazuh'

@frankeros
Copy link
Contributor Author

  • Added postbuild script to include assets
  • Fixed reporting in Kibana Prod, moved fonts to assets

@gabiwassan
Copy link
Contributor

  • Preparing environment 7.10.0 without a security plugin for exploratory testing.

@frankeros
Copy link
Contributor Author

  • Trying to fix vis on prod, the problem is the class vis imported from the visualizations plugin. This class uses static services from its own plugin, in dev, these services are loaded from the beginning but in prod are empties.

@gabiwassan
Copy link
Contributor

gabiwassan commented Jan 19, 2021

  • Tested and checked the build on the prod environment of 7.10.0 without a security plugin in Centos.

@frankeros
Copy link
Contributor Author

frankeros commented Jan 19, 2021

* Trying to fix vis on prod, the problem is the class vis imported from the visualizations plugin. This class uses static services from its own plugin, in dev, these services are loaded from the beginning but in prod are empties.
  • Fixed with little refactor using functions provided by the plugin visualizations
  • Tested in Kibana prod core functionalities with ODFE in Ubuntu, everything looks fine.

@frankeros
Copy link
Contributor Author

Fixed all issues of this EPIC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants