wazuh-splunk icon indicating copy to clipboard operation
wazuh-splunk copied to clipboard

Extend "Add new agent" component

Open pablotr9 opened this issue 5 years ago • 2 comments

The new component where we are explaining to the user how to register agents and we are providing a "copy & paste" dynamic snippet is cool, however, it should be used in more places of the Wazuh app.

Proposals:

  • [x] If the app has API entries and the API tells us there are no agents, show the component to the user, for example in Overview.
  • [x] Make it accessible from more place with light buttons/icons so the user can launch the component almost everywhere.

pablotr9 avatar Sep 03 '19 13:09 pablotr9

Update The "Add new agent" component has been updated with the following features:

  • Autocomplete Manager IP address with the selected API of the user https://github.com/wazuh/wazuh-splunk/commit/e728d646d8662b79583b8dc3ee44cf7e6c66d22b
  • Show Password field and add it to the generated deployment command https://github.com/wazuh/wazuh-splunk/commit/235ab568bd34e00b5673712891e3ef58978380f6
  • The password field will be only shown if needed https://github.com/wazuh/wazuh-splunk/commit/76ce2b669b6e6408057dae57c69d2e8843dc3319

pablotr9 avatar Oct 31 '19 11:10 pablotr9

Update The "Add new agent" component" can now be accessed from other sections:

  • Overview general https://github.com/wazuh/wazuh-splunk/commit/924af6af1c26883472b07a7a3a1d005c9e495ea6: A warning message have been added so the user can access the guide from this section: addAgentsOverview
  • Management -> Groups https://github.com/wazuh/wazuh-splunk/commit/a2f3f76fb7e86e039dcf809edc9e040f60559d50 : It has also been added to the Group tab, as there is no sense managing groups when there are no registered agents: addAgentsGroups

pablotr9 avatar Oct 31 '19 11:10 pablotr9