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

Wazuh-Dashboard Manual testing: TypeError in Github/AWS/GCP #2910

Closed
5 tasks done
Rebits opened this issue May 18, 2022 · 5 comments
Closed
5 tasks done

Wazuh-Dashboard Manual testing: TypeError in Github/AWS/GCP #2910

Rebits opened this issue May 18, 2022 · 5 comments
Assignees

Comments

@Rebits
Copy link
Member

Rebits commented May 18, 2022

Related issue
wazuh/wazuh-dashboard-plugins#4095

Description

It is required to provide more information about wazuh/wazuh-dashboard-plugins#4095.

In order to provide more information the following steps are going to be followed:

  • Deploy an all-in-one 4.3.0 environment
  • Enable GCP module in the wazuh-dashboard
  • Check GCP module menu for console errors
  • Add GCP configuration and produce some events
  • Check GCP module menu for console errors
@Rebits
Copy link
Member Author

Rebits commented May 18, 2022

Conclusions 🔴

During a short session in the wazuh-dashboard in a local environment, the specified error is easily replicated.
Also, another TypeErrors was detected

Issue description is going to be replaced with more detailed steps

@Rebits
Copy link
Member Author

Rebits commented May 18, 2022

Check GCP module menu for console errors

The expected typeError was not produced. Only the following alerts were generated:

  • Some cookies are misusing the recommended “SameSite“ attribute 254
  • Content Security Policy: The page’s settings blocked the loading of a resource at inline (“script-src”). [wazuh:352:1](https://192.168.56.2/app/wazuh)
  • This page uses the non standard property “zoom”. Consider using calc() in the relevant property values, or using “transform” along with “transform-origin: 0 0”. [bootstrap.js:89:20](https://192.168.56.2/bootstrap.js)
  • The "manifestServiceUrl" parameter is deprecated in v7.6.0. Consider using "tileApiUrl" and "fileApiUrl" instead.

We are going to enable the rest of the modules and check if the Uncaught (in promise) TypeError triggers

@Rebits
Copy link
Member Author

Rebits commented May 18, 2022

Check GCP module menu for console errors

After configuring gcp and generated a single alerts, the expected error is generated
google_cloud_error

There are no strict steps to reproduce this error. In this case, it was generated following these actions:

  • Configure and generate some gcp events
  • Go to Modules > Google Clouds Platform > Events
  • Wait 10 minutes
  • Go to Modules Directory
  • Go again to Modules > Google Clouds Platform > Events

Also, during the same session another TypeError appear: TypeError Uncaught TypeError: bounds is null
bounds_null

@Rebits
Copy link
Member Author

Rebits commented Jun 8, 2022

Related issue closed without success in issue replication.

It is required to research if this bug is still present with wazuh/wazuh-dashboard-plugins#3942 change.

@damarisg
Copy link
Member

We decided to close them.

@damarisg damarisg closed this as not planned Won't fix, can't repro, duplicate, stale Apr 15, 2024
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