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

Type error filtering the CIS benchmark of a Windows agent #4347

Closed
Tracked by #4391
AlexRuiz7 opened this issue Jul 19, 2022 · 0 comments · Fixed by #4367
Closed
Tracked by #4391

Type error filtering the CIS benchmark of a Windows agent #4347

AlexRuiz7 opened this issue Jul 19, 2022 · 0 comments · Fixed by #4367
Assignees
Labels
type/bug Bug issue

Comments

@AlexRuiz7
Copy link
Member

AlexRuiz7 commented Jul 19, 2022

Wazuh WZD Rev Security
4.3.5 1.2.0 4308 OSD
Browser
Chrome, Firefox, Safari, etc

Related issue

Description

When attempting to filter the CIS benchmarks of a Windows agent by the file property, this error is raised, and the table becomes unresponsive (cannot use it anymore until the view is refreshed).

TypeError: Cannot convert undefined or null to object
    at Function.keys (<anonymous>)
    at Object.values (https://demo.wazuh.info/1/bundles/plugin/wazuh/wazuh.chunk.9.js:5:4015927)
    at SuggestHandler._callee4$ (https://demo.wazuh.info/1/bundles/plugin/wazuh/wazuh.chunk.9.js:5:2049664)
    at tryCatch (https://demo.wazuh.info/1/bundles/plugin/indexManagementDashboards/indexManagementDashboards.plugin.js:1:94916)
    at Generator.invoke [as _invoke] (https://demo.wazuh.info/1/bundles/plugin/indexManagementDashboards/indexManagementDashboards.plugin.js:1:98867)
    at Generator.next (https://demo.wazuh.info/1/bundles/plugin/indexManagementDashboards/indexManagementDashboards.plugin.js:1:96055)
    at suggest_handler_asyncGeneratorStep (https://demo.wazuh.info/1/bundles/plugin/wazuh/wazuh.chunk.9.js:5:2035829)
    at _next (https://demo.wazuh.info/1/bundles/plugin/wazuh/wazuh.chunk.9.js:5:2036155)
    at https://demo.wazuh.info/1/bundles/plugin/wazuh/wazuh.chunk.9.js:5:2036337
    at new Promise (<anonymous>)

Steps to reproduce

  1. Navigate to a Windows Agent
  2. Click on CIS benchmark
  3. Click on a policy
  4. Filter by file and see the error

Screenshots

cis_typerror.mp4
@AlexRuiz7 AlexRuiz7 added the type/bug Bug issue label Jul 19, 2022
@AlexRuiz7 AlexRuiz7 moved this to Triage in Release 4.3.7 Jul 19, 2022
@davidjiglesias davidjiglesias moved this from Triage to Todo in Release 4.3.7 Jul 22, 2022
@Machi3mfl Machi3mfl self-assigned this Jul 22, 2022
@AlexRuiz7 AlexRuiz7 moved this from Todo to In Progress in Release 4.3.7 Jul 25, 2022
@Machi3mfl Machi3mfl linked a pull request Jul 29, 2022 that will close this issue
@Machi3mfl Machi3mfl moved this from In Progress to In review in Release 4.3.7 Aug 4, 2022
@Machi3mfl Machi3mfl moved this from In review to Done in Release 4.3.7 Aug 4, 2022
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.

2 participants