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

Nested fields don't display properly in Security Alerts table #4429

Closed
asteriscos opened this issue Aug 31, 2022 · 2 comments · Fixed by #4428
Closed

Nested fields don't display properly in Security Alerts table #4429

asteriscos opened this issue Aug 31, 2022 · 2 comments · Fixed by #4428
Assignees
Labels
type/bug Bug issue

Comments

@asteriscos
Copy link
Member

Wazuh Elastic Rev Security
4.3 7.10.2 4xxx Basic, ODFE, Xpack
Browser
Chrome, Firefox, Safari, etc

Description
The Security Alerts table is unable to parse and render properly nested fields. It displays an array of objects as a single line array string without interpreting the object.

Preconditions

  1. Have alerts with nested fields

Steps to reproduce

  1. Navigate to Security Events / Dashboard
  2. Filter information so the Security Alerts table shows fields with nested rows
  3. Click on a row to display the alert details
  4. Look for the nested field detail and check it look like an array of [Object, Object, etc.]

Expected Result

  1. Display the nested field as a JSON object

Actual Result

  1. Renders [Object, Object, Object, etc.]

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

Additional context
Related to wazuh/wazuh#14547

@asteriscos asteriscos added the type/bug Bug issue label Aug 31, 2022
@asteriscos asteriscos self-assigned this Aug 31, 2022
@asteriscos asteriscos linked a pull request Aug 31, 2022 that will close this issue
@asteriscos asteriscos added the 4.4 label Aug 31, 2022
@AlexRuiz7 AlexRuiz7 moved this to Triage in Release 4.4.0 Sep 1, 2022
@AlexRuiz7 AlexRuiz7 moved this from Triage to In Review in Release 4.4.0 Sep 1, 2022
@Mayons95
Copy link
Contributor

Mayons95 commented Sep 5, 2022

How can I trigger alerts with nested fields?

@AlexRuiz7
Copy link
Member

How can I trigger alerts with nested fields?

Sample data is hosted here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Bug issue
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

4 participants