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

Modify Registration URL Definition #317

Closed
Tracked by #241
vikman90 opened this issue Nov 19, 2024 · 1 comment · Fixed by #322 or #351
Closed
Tracked by #241

Modify Registration URL Definition #317

vikman90 opened this issue Nov 19, 2024 · 1 comment · Fixed by #322 or #351
Assignees
Labels
level/task Task issue module/agent mvp Minimum Viable Product refinement type/enhancement Enhancement issue

Comments

@vikman90
Copy link
Member

vikman90 commented Nov 19, 2024

Parent Issue: #241

Description

The agent has two primary connections:

  1. Registration
  2. Server connection for event reporting and command queries.

Currently, these are defined in wazuh-agent.yml as:

agent:
  server_url: https://localhost:27000
  registration_url: https://localhost:55000

Proposal

Since registration is a one-time, on-demand operation initiated via CLI, we propose:

  1. Removing the registration_url configuration option.
  2. Introducing a new CLI parameter --url for registration operations.

Example Command

./wazuh-agent --config-file wazuh-agent.yml --register-agent --user wazuh --password topsecret --name dummy --url https://localhost:55000
@vikman90 vikman90 added the mvp Minimum Viable Product refinement label Nov 19, 2024
@wazuhci wazuhci moved this to Backlog in Release 5.0.0 Nov 19, 2024
@TomasTurina TomasTurina self-assigned this Nov 19, 2024
@wazuhci wazuhci moved this from Backlog to In progress in Release 5.0.0 Nov 19, 2024
@TomasTurina TomasTurina linked a pull request Nov 19, 2024 that will close this issue
3 tasks
@wazuhci wazuhci moved this from In progress to In review in Release 5.0.0 Nov 19, 2024
@wazuhci wazuhci moved this from In review to Done in Release 5.0.0 Nov 20, 2024
@vikman90
Copy link
Member Author

We've not deleted the option entry at wazuh-agent.yml.

@vikman90 vikman90 reopened this Nov 26, 2024
@vikman90 vikman90 self-assigned this Nov 26, 2024
@wazuhci wazuhci moved this from Done to In progress in Release 5.0.0 Nov 26, 2024
@wazuhci wazuhci moved this from In progress to Done in Release 5.0.0 Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
level/task Task issue module/agent mvp Minimum Viable Product refinement type/enhancement Enhancement issue
Projects
Status: Done
2 participants