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

Missing packages inventory on Solaris agents #5079

Closed
jnasselle opened this issue Jan 5, 2023 · 3 comments · Fixed by #5144, #5163 or #5165
Closed

Missing packages inventory on Solaris agents #5079

jnasselle opened this issue Jan 5, 2023 · 3 comments · Fixed by #5144, #5163 or #5165
Assignees
Labels
type/bug Bug issue

Comments

@jnasselle
Copy link
Member

Wazuh Elastic Rev Security
4.x 7.x 4xxx Basic, ODFE, Xpack
Browser
Any

Description

Currently we are not able to show agent's package inventory information for OSes different from

  • Linux
  • macOS
  • Windows
  • FreeBSD

Any other OS is not allowed, despite the package count being displayed. Some currently supported OSes are affected

  • Solaris

It's desirable to show the inventory in a more flexible way for those explicitly mentioned OSes. This way, in case wazuh add the inventory capability on a new OS, at least some information is displayed

Preconditions

  1. Enroll a Solaris Agent on a Wazuh Manager

Steps to reproduce

  1. Navigate to Agent's section
  2. Click on Solaris Agent
  3. Click on Inventory
  4. Scroll down to Packages information

Expected Result

  1. Packages and packages count are listed

Actual Result

  1. Packages count is shown but not the information

Screenshots
If applicable, add screenshots to help explain your problem.

image

Additional context

Could be related to the next snippet

https://github.com/wazuh/wazuh-kibana-app/blob/fe7ebdfa00e32ba449ed9849e7780f7ea2a6e59a/public/components/agents/syscollector/inventory.tsx#L50-L58
https://github.com/wazuh/wazuh-kibana-app/blob/fe7ebdfa00e32ba449ed9849e7780f7ea2a6e59a/public/components/agents/syscollector/columns/packages-columns.ts#L1-L35

@jnasselle jnasselle added the type/bug Bug issue label Jan 5, 2023
@snaow snaow moved this from Triage to Todo in Release 4.4.0 Jan 5, 2023
@gdiazlo gdiazlo removed this from Release 4.4.0 Jan 9, 2023
@gdiazlo gdiazlo moved this from Triage to Todo in Release 4.4.0 Jan 9, 2023
@gdiazlo gdiazlo moved this from Todo to Triage in Release 4.4.0 Jan 9, 2023
@gdiazlo
Copy link
Member

gdiazlo commented Jan 9, 2023

This behavior is already present in releases 4.3.X and earlier.

@gdiazlo gdiazlo removed this from Release 4.4.0 Jan 9, 2023
@Dwordcito
Copy link
Member

@gdiazlo note that the syscollector packages collection feature is added in 4.4

@gdiazlo gdiazlo moved this from Triage to Todo in Release 4.4.0 Jan 19, 2023
@Tostti Tostti self-assigned this Jan 19, 2023
@Tostti Tostti linked a pull request Jan 19, 2023 that will close this issue
6 tasks
@Tostti
Copy link
Member

Tostti commented Jan 20, 2023

Discovered another issue, that caused the application to crash if <hardware> was enabled, due to missing fields.

imagen

That problem will be fixed in the same PR.

@AlexRuiz7 AlexRuiz7 moved this from Todo to In Progress in Release 4.4.0 Jan 24, 2023
@gdiazlo gdiazlo moved this from In Progress to In Review in Release 4.4.0 Jan 26, 2023
@gdiazlo gdiazlo moved this from In Review to Done in Release 4.4.0 Jan 27, 2023
@gdiazlo gdiazlo closed this as completed Jan 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment