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

Add support for agent self-restarting for Windows #552

Open
2 tasks
Tracked by #54
lchico opened this issue Jan 28, 2025 · 0 comments
Open
2 tasks
Tracked by #54

Add support for agent self-restarting for Windows #552

lchico opened this issue Jan 28, 2025 · 0 comments
Labels

Comments

@lchico
Copy link
Member

lchico commented Jan 28, 2025

Parent issue:

Description

We need to develop a Minimum Viable Product (MVP) that enables the Wazuh agent to support a command for self-restart for Windows.

Functional requirements

  • The agent should accept a command to initiate a restart.
  • The agent should perform a clean restart, ensuring all processes are correctly shut down and restarted.
  • Log the restart event, including the timestamp and initiating command details.

Non-functional requirements

  • The restart process should not exceed a predefined time limit (e.g., 30 seconds) to minimize downtime.

Implementation restrictions

  • Start from the Spike issue: Agent command manager #4
  • Ensure that the implementation is thoroughly tested with unit tests and integration tests.

Plan

  • Add support for Windows agent self-restarting: Development Phase
    • Implement the command to initiate a restart.
    • Add logging for restart events.
  • Add support for Windows agent self-restarting: Testing Phase
    • Develop and execute unit tests for the new functionality.
    • Perform integration tests to ensure the command works across different environments.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Backlog
Development

No branches or pull requests

1 participant