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

API selector from the navbar #2143

Closed
3 tasks done
juankaromo opened this issue Mar 18, 2020 · 1 comment
Closed
3 tasks done

API selector from the navbar #2143

juankaromo opened this issue Mar 18, 2020 · 1 comment
Assignees
Labels
request/operational Operational requests type/enhancement Enhancement issue
Milestone

Comments

@juankaromo
Copy link
Contributor

juankaromo commented Mar 18, 2020

Hi team,

Due to the support for MSSP by Wazuh cloud, it has seemed that you need to be able to change APIs easily, as is being done with the index pattern from the main menu bar.

To carry out his we are going to follow these steps:

  • Add in our wazuh.yml the settings needed to show this selector. It will be disabled by default. If it is disabled, the API name will be displayed as before
  • Show the selector in the wz-menu component if it is enabled.
  • Reuse the behavior of switching APIs and selecting a default one from the Settings controller.

Regards.

@juankaromo juankaromo added type/enhancement Enhancement issue request/operational Operational requests 3.12.0 labels Mar 18, 2020
@juankaromo juankaromo added this to the Sprint 109 milestone Mar 18, 2020
@juankaromo juankaromo self-assigned this Mar 18, 2020
@juankaromo juankaromo added this to To do in Wazuh 3.12.0 via automation Mar 18, 2020
@pablotr9
Copy link
Contributor

Update
Working on this branch https://github.com/wazuh/wazuh-kibana-app/tree/3.13-7.6-wzmenu-improvements

The selector API has been added to the new WzMenu created in ReactJS:
We can now easily change the API and see any change in the Wazuh UI when editing the wazuh-yml wtihout restarting or refreshing the page:
full-example
example-settings-devtools
apiselector-dashboard-example

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
request/operational Operational requests type/enhancement Enhancement issue
Projects
No open projects
Wazuh 3.12.0
  
Done
Development

No branches or pull requests

2 participants