-
Notifications
You must be signed in to change notification settings - Fork 186
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
The "Deploy a new agent" section misleads users with an all-in-one deployment #5138
Comments
This problem is related to the way Wazuh manages these addresses internally. We're going to disable this feature, as there is no general solution for it. |
Things to take into account in case of disabling this feature and show again an input. For example about the protocol, these would be the 3 use cases that were defined in the meeting with api at the time and based on what the issue was developed. One of the use cases would be dismissed which is the case where the user chooses from the select an IP and based on what he chooses the protocol is UDP or TCP. Of the use cases that were defined at the time, only the TCP ones will work. In case we want UDP to also work then we would have to add logic and the use cases would change. Current use cases: The first use case we would have to decide whether to keep it that way or not? First use case:
Second use case:
Third use case: (this case would be dismissed because there is no longer a select, and as soon as the user puts an IP manually enters the case mentioned above (the second case). So in the two cases that we would have the protocol running would always be TCP.
|
In a meeting with @gdiazlo we determined the use cases that the issue would address, which are the following:
|
Hi, I leave the definitive solution scope and test cases. ScopeProtocol cases
Server address input cases
Test cases evidenceProtocol casesWhen the protocol is UDP (Cluster mode)
Kazam_screencast_00005.mp4When the protocol is TCP (
|
Description
The "Deploy a new agent" section misleads users with an all-in-one deployment.
In the Wazuh server address section, the default value is
manager:0.0.0.0
but only the wordmanager
is shown. This does not invite the user to take any action. Nevertheless, for all-in-one deployments, it's necessary to introduce the server address as the app is not able to automatically retrieve it from thewazuh.yml
configuration file.In the resulting command, we see
WAZUH_MANAGER='0.0.0.0'
which will clearly fail to register the agent.Using an all-in-one deployment is a very common case and we should make it clear to the users that they must enter their Wazuh server address. Also, consider adding an easy way to store the Wazuh server address, see #4718 for more details.
The text was updated successfully, but these errors were encountered: